CN104090152B - Power failure detection circuit of flat knitting machine and power failure detection method thereof - Google Patents
Power failure detection circuit of flat knitting machine and power failure detection method thereof Download PDFInfo
- Publication number
- CN104090152B CN104090152B CN201410267547.8A CN201410267547A CN104090152B CN 104090152 B CN104090152 B CN 104090152B CN 201410267547 A CN201410267547 A CN 201410267547A CN 104090152 B CN104090152 B CN 104090152B
- Authority
- CN
- China
- Prior art keywords
- voltage
- diode
- circuit
- resistor
- electric capacity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Measurement Of Current Or Voltage (AREA)
Abstract
The invention provides a power failure detection circuit of a flat knitting machine and a power failure detection method thereof. The power failure detection circuit of the flat knitting machine comprises a zero-cross detection circuit for performing zero-cross detection on alternating voltage input to the flat knitting machine and outputting a zero-cross detection signal, a controller connected with the zero-cross detection circuit and used for judging whether the zero-cross detection signal is received within preset time or not and confirming that the alternating voltage is in a power failure state if the zero-cross detection signal is not received within the preset time. By adopting the mode, the power failure detection can be timely and rapidly achieved, a corresponding measure can be further taken when a power failure phenomenon occurs, and loss caused by power failure is avoided.
Description
Technical field
The present invention relates to flat knitting field, the power-fail detection circuit of more particularly to a kind of straight-bar machines and its detection of power loss side
Method.
Background technology
Straight-bar machines is a kind of textile machine, and equivalent to machinery artificial weaving is substituted, and can greatly reduce labor cost.
The straight-bar machines of prior art typically adopts Alternating Current Power Supply, often causes unnecessary loss when there is power down, therefore how
It is enough quick and detect the power down of Alternating Current Power Supply in time, and then take appropriate measures, it is to avoid the loss that power down is caused into
For an important topic in straight-bar machines field.
The content of the invention
The power-fail detection circuit and its power failure detection method of a kind of straight-bar machines are embodiments provided, can be in time and fast
Detection of power loss is realized fastly.
The present invention provides a kind of power-fail detection circuit of straight-bar machines, and it includes:Zero cross detection circuit, for being input into straight-bar machines
Alternating voltage carry out zero passage detection, and export zero passage detection signal;Controller, controller is connected with zero cross detection circuit, and
Judge whether to receive zero passage detection signal in the given time, if not receiving zero passage detection signal in the given time,
Judge that alternating voltage is in power-down state.
Wherein, zero cross detection circuit includes bridge rectifier and light isolation device, and alternating voltage is input into whole to bridge-type
The input of current circuit, and carry out bridge rectifier, the outfan output DC voltage of bridge rectifier, light isolation device it is defeated
Enter the outfan of end connection bridge rectifier, and the threshold values of optocoupler light-emitting component conducting is exceeded according to DC voltage and was produced
Zero detection signal.
Wherein, bridge rectifier includes the first diode, the second diode, the 3rd diode and the 4th diode, the
The anode of negative electrode second diode of connection of one diode, the negative electrode of negative electrode the 3rd diode of connection of the second diode, the 3rd
The anode of diode connects the negative electrode of the 4th diode, and the anode of the 4th diode connects the anode of the first diode, alternating current
First supply line of pressure is connected between the anode of the negative electrode of the first diode and the second diode, the second confession of alternating voltage
Electric line is connected between the anode of the 3rd diode and the negative electrode of the 4th diode, and light isolation device further includes luminous unit
Part and photo detector, the first end of light-emitting component connects between the negative electrode and the negative electrode of the 3rd diode of the second diode, lights
Second end of element connects between the anode and the anode of the first diode of the 4th diode, the first end ground connection of photo detector,
The second end output zero passage detection signal of photo detector.
Wherein, zero cross detection circuit further includes electric capacity and resistance, and the first end of electric capacity connects the second of photo detector
End, the second end ground connection of electric capacity, the first end of resistance connects the second end of photo detector, the second end connection benchmark electricity of resistance
Pressure.
Wherein, zero cross detection circuit includes:Bridge rectifier, for carrying out bridge rectifier to above-mentioned alternating voltage, will
Alternating voltage is converted into DC voltage;Comparator, for DC voltage to be compared with reference voltage;Isolation circuit, is used for
Zero passage detection signal is produced according to the comparative result of comparator.
Wherein, circuit further includes voltage detecting circuit, and voltage detecting circuit is used to detect the meansigma methodss of alternating voltage,
And detection voltage is exported, controller is connected with voltage detecting circuit, and is further compared detection voltage with voltage threshold,
And judge that alternating voltage is in power-down state when detection voltage is less than voltage threshold.
Wherein, voltage detecting circuit includes that inductance, first resistor, second resistance, 3rd resistor, the first electric capacity and second are electric
Hold, wherein the first end of inductance connects the supply line of alternating voltage, the second end of inductance connects the first end of first resistor, the
The first end of the first end of two resistance and the first electric capacity is connected between the second end of inductance and the first end of first resistor, and second
Second end of resistance and the second end of the first electric capacity are grounded, the first end connection reference voltage of 3rd resistor, 3rd resistor
Second end is connected to the second end of first resistor, and the first end of the second electric capacity is connected to the second end and the first resistor of 3rd resistor
The second end between, the second end of the second electric capacity ground connection, the second end of 3rd resistor, the second end of first resistor and the second electric capacity
First end common node voltage output be detection voltage.
Wherein, reference voltage is obtained by alternating voltage Jing AC/DC conversions.
The present invention also provides a kind of power failure detection method of straight-bar machines, and it includes:Zero passage detection is carried out to alternating voltage, and it is defeated
Go out zero passage detection signal;Judge whether to receive zero passage detection signal in the given time, if not receiving in the given time
Zero passage detection signal, then judge that alternating voltage is in power-down state.
Wherein, method is further included:The meansigma methodss of detection alternating voltage, and export detection voltage;By detection voltage with
Voltage threshold is compared, and judges that alternating voltage is in power-down state when detection voltage is less than voltage threshold.
By such scheme, the invention has the beneficial effects as follows:The present invention is by zero cross detection circuit to input to straight-bar machines
Alternating voltage carries out zero passage detection, and exports zero passage detection signal, and controller judges whether to receive zero passage in the given time
Detection signal, if not receiving zero passage detection signal in the given time, judges alternating voltage in power-down state, Neng Goushi
When whether alternating voltage is fed back to into controller in power-down state, can in time and rapidly realize detection of power loss, Jin Erneng
It is enough to take corresponding measure when there is power down phenomenon, it is to avoid the loss that power down is caused.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings
Accompanying drawing.Wherein:
Fig. 1 is the structural representation of the straight-bar machines of first embodiment of the invention;
Fig. 2 is the flow chart of the method for supplying power to of straight-bar machines in Fig. 1;
Fig. 3 is the circuit diagram of power-fail detection circuit in Fig. 1;
Fig. 4 is the flow chart of the power failure detection method of straight-bar machines in Fig. 1;
Fig. 5 is the flow chart of the power failure detection method of straight-bar machines in Fig. 1;
Fig. 6 is the circuit diagram of the zero cross detection circuit of power-fail detection circuit in Fig. 1;
Fig. 7 is the structural representation of AC/DC change-over circuits in Fig. 1;
Fig. 8 is the flow chart of the control method of straight-bar machines in Fig. 1;
Fig. 9 is the flow chart of the power distribution method of straight-bar machines in Fig. 1.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this
Embodiment in invention, it is every other that those of ordinary skill in the art are obtained under the premise of performing creative labour is not made
Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is referred to, Fig. 1 is the structural representation of the straight-bar machines of first embodiment of the invention.As shown in figure 1, the present embodiment
Disclosed straight-bar machines 10 includes:Distribution board 12, display/operating case 13 and head 14.
In the present embodiment, distribution board 12 is provided with secondary host circuit board 121 and plays bottom circuit board 122, secondary host circuit
Plate 121 is provided with AC/DC change-over circuits 123, DC/DC change-over circuits 124, secondary host chip 125 and power-fail detection circuit 126
Deng components and parts.Play bottom circuit board 122 to be provided with DC/DC change-over circuits 130 and play the components and parts such as bottom control chip 131.
Wherein, the input of power-fail detection circuit 126 is connected with the input of AC/DC change-over circuits 123, for input
Alternating voltage to straight-bar machines 10 carries out detection of power loss;The outfan of power-fail detection circuit 126 is connected with secondary host chip 125.Rise
Bottom control chip 131 is realized playing bottom technology automatically for controlling straight-bar machines 10.
In this example it is shown that/operating case 13 is used to realize operation display interface and operational control.Display/operating case
13 are provided with display/operation circuit plate 132, and display/operation circuit plate 132 is provided with DC/DC change-over circuits 133 and shows/behaviour
Make the grade components and parts of box main control chip 134.Display/operating case 13 is additionally provided with a base plate 135, touch-control is arranged on base plate 135 and is shown
The grade components and parts of display screen 136, touching display screen 136 is used to realize operation display interface and operational control.Touching display screen 136 is distinguished
It is connected with DC/DC change-over circuits 133 and display/operating case main control chip 134, so that touching display screen 136 and display/operating case
Main control chip 134 realizes real-time, interactive.When touching display screen 136 is changed, user only needs accordingly to change base plate 135, can keep away
Display free of replacement/operating case main control chip 134, with reduces cost.
In the present embodiment, head 14 is provided with head circuit board 141, and head circuit board 141 is provided with DC/DC conversion electricity
The components and parts such as road 142, head control chip 143 and memorizer 144.Wherein, head control chip 143 is connected with memorizer 144,
To obtain power threshold from memorizer 144.
Wherein, straight-bar machines 10 also includes at least two performance elements 15 being connected with head control chip 143.Secondary host chip
125 receive control instruction from display/operating case main control chip 134, and head control chip 143 is received from secondary host chip 125 and controlled
System instruction, and the execution action of at least two performance element 15 is controlled according to control instruction.In other embodiments, this area is general
Logical technical staff can pass through secondary host chip 125 or play at least two performance elements 15 of the connection of bottom control chip 131 completely,
To control the execution action of at least two performance element 15 according to control instruction.
In this example it is shown that the data acquisition that/operating case main control chip 134 performs operational order and arrange parameter is entered
Journey, pattern data parsing process, display control process, the flower pattern based on the operational order and arrange parameter parse data processing
Process and the interprocess communication with secondary host chip 125;Secondary host chip 125 perform floor data collection process, based on operating mode
Data to the treatment progress of the first communication data of display/operating case main control chip 134 and with display/operating case main control chip
134th, the interprocess communication of head control chip 143 and a bottom control chip 131;Head control chip 143 and a bottom control chip
131 perform with the interprocess communication of secondary host chip 125, floor data collection process, based on floor data to secondary host chip 125
The second communication data treatment progress and the interprocess communication with performance element 15.
Based on the straight-bar machines 10 disclosed in first embodiment, the present invention provides a kind of master board integrated AC/DC change-over circuits
Scheme.Wherein, straight-bar machines 10 includes the first circuit board and second circuit board of distributed setting, and first circuit board is secondary main frame electricity
Road plate 121, second circuit board be in bottom circuit board 122, head circuit board 141 and display/operation circuit plate 132 at least
One.Second circuit board has been preferably bottom circuit board 122, head circuit board 141 and display/operation circuit plate 132.
Wherein, AC/DC change-over circuits 123 are provided with first circuit board, i.e., secondary host circuit board 121 is provided with AC/DC
Change-over circuit 123.AC/DC change-over circuits 123 are used to for 220V alternating currents to be converted to the first DC voltage.
Wherein, first circuit board and second circuit board are respectively arranged with DC/DC change-over circuits, i.e.,:Secondary host circuit board 121
DC/DC change-over circuits 124 are provided with, bottom circuit board 122 are played and is provided with DC/DC change-over circuits 130, display/operation circuit plate 132
DC/DC change-over circuits 133 are provided with, head circuit board 141 is provided with DC/DC change-over circuits 142.
Wherein, the first DC voltage is respectively fed to the DC/DC change-over circuits on first circuit board and second circuit board, and
The second DC voltage needed for being converted into each by DC/DC change-over circuits.I.e.:DC/DC change-over circuits 124 turn respectively with AC/DC
Change circuit 123, secondary host chip 125 and power-fail detection circuit 126 to connect, and first that AC/DC change-over circuits 123 are exported
DC voltage changes into the second required DC voltage, with respectively to secondary host chip 125, power-fail detection circuit 126 and secondary master
Various components and parts on mounted circuit board 121 are powered.DC/DC change-over circuits 130 respectively with AC/DC change-over circuits 123 and rise
Bottom control chip 131 connects, and the first DC voltage that AC/DC change-over circuits 123 are exported changes into the second required unidirectional current
Pressure, with respectively to rise bottom control chip 131 and rise bottom circuit board 122 on various components and parts be powered.DC/DC conversion electricity
Road 133 is connected respectively with AC/DC change-over circuits 123, display/operating case main control chip 134 and touching display screen 136, and will
First DC voltage of the output of AC/DC change-over circuits 123 changes into the second required DC voltage, with respectively to display/operating case
The various components and parts of main control chip 134, touching display screen 136 and display/operating case 13 are powered.DC/DC change-over circuits
142 are connected respectively with AC/DC change-over circuits 123 and head control chip 143, and first that AC/DC change-over circuits 123 are exported
DC voltage changes into the second required DC voltage, with respectively to each on head control chip 143 and head circuit board 141
Plant components and parts to be powered.
Wherein, the first DC voltage is 24V DC voltages, and the second DC voltage can be the voltages such as 12V, 5V, 3.3V
Combination in any.
Referring again to Fig. 2, the method for supplying power to of disclosed straight-bar machines 10 includes:
S201:Using the AC/ arranged on the first circuit board in the first circuit board and second circuit board of distributed setting
The alternating voltage of reception is converted into the first DC voltage by DC change-over circuits 123;
S202:First DC voltage is respectively fed to the DC/DC conversion electricity arranged on first circuit board and second circuit board
Road, and the second DC voltage needed for being converted into each by DC/DC change-over circuits.
The present invention is provided with AC/DC change-over circuits 123 and DC/DC change-over circuits 124 by secondary host circuit board 121, rises
Bottom circuit board 122 is provided with DC/DC change-over circuits 130, and display/operation circuit plate 132 is provided with DC/DC change-over circuits 133, machine
Head circuit board 141 is provided with DC/DC change-over circuits 142, to realize distributed power supply.Additionally, relative to the straight-bar machines of prior art
Powered by power supply assembly, save power supply assembly, greatly reduce the complexity of supply line, and reduces cost.
Based on the straight-bar machines 10 disclosed in first embodiment, the present invention also provides a kind of scheme of detection of power loss.Wherein, power down
Detection circuit 126 includes zero cross detection circuit, and zero cross detection circuit is used to carry out zero passage to the alternating voltage of input to straight-bar machines 10
Detection, and export zero passage detection signal.Controller is connected with zero cross detection circuit, and controller is preferably secondary host chip 125.
Secondary host chip 125 judges whether to receive zero passage detection signal within the predetermined time, if not when predetermined
Interior to receive zero passage detection signal, then secondary host chip 125 judges that alternating voltage is in power-down state.
As shown in figure 3, zero cross detection circuit includes bridge rectifier 127 and light isolation device U1, bridge rectifier electricity
The input on road 127 is connected with the input of AC/DC change-over circuits 123, and the alternating voltage of straight-bar machines 10 is input into bridge rectifier electricity
The input on road 127, and bridge rectifier is carried out, the outfan output DC voltage of bridge rectifier 127;Light isolation device U1
Input connect bridge rectifier 127 outfan, and according to DC voltage exceed optocoupler light-emitting component conducting threshold values
And produce zero passage detection signal.
Wherein, bridge rectifier 127 includes the first diode D1, the second diode D2, the 3rd diode D3 and the 4th
The negative electrode of diode D4, the first diode D1 connects the anode of the second diode D2, the negative electrode connection the 3rd of the second diode D2
The negative electrode of diode D3, the anode of the 3rd diode D3 connects the negative electrode of the 4th diode D4, and the anode of the 4th diode D4 connects
The anode of the first diode D1 is connect, the first supply line of alternating voltage is connected to negative electrode and the two or two pole of the first diode D1
Between the anode of pipe D2, the second supply line of alternating voltage is connected to the anode and the described 4th 2 of the 3rd diode D3
Between the negative electrode of pole pipe D4.Light isolation device U1 includes light-emitting component D5, photo detector 128, electric capacity C and resistance R, and light unit
The first end of part D5 connects between the negative electrode and the negative electrode of the 3rd diode D3 of the second diode D2, second end of light-emitting component D5
Connect between the anode of the 4th diode D4 and the anode of the first diode D1, the first end ground connection of photo detector 128, light unit
The second end output zero passage detection signal of part 128.The first end of electric capacity C connects the second end of photo detector 128, and the of electric capacity C
Two ends are grounded, and the first end of resistance R connects the second end of photo detector 128, the second end connection reference voltage of resistance R, benchmark
Voltage is to be obtained by alternating voltage Jing AC/DC conversions.
Alternatively, power-fail detection circuit 126 also includes voltage detecting circuit 129, and voltage detecting circuit 129 is used to detect to be handed over
The meansigma methodss of stream voltage, and export detection voltage.Secondary host chip 125 is connected with voltage detecting circuit 129, and by detection voltage
It is compared with voltage threshold, when detection voltage is less than voltage threshold, then secondary host chip 125 judges that alternating voltage is in
Electricity condition.
Wherein, voltage detecting circuit 129 includes inductance L, resistance R1, resistance R2, resistance R3, electric capacity C1 and electric capacity C2, electricity
The first end of sense L connects the supply line of alternating voltage, and second end of inductance L connects the first end of resistance R1, and the of resistance R2
The first end of one end and electric capacity C1 is connected between second end of inductance L and the first end of resistance R1, second end of electric capacity C1 and
Second end of resistance R2 is grounded, the first end connection reference voltage of resistance R3, and second end of resistance R3 is connected to resistance R1's
Second end, the first end of electric capacity C2 is connected between second end of resistance R3 and second end of resistance R1, second end of electric capacity C2
Ground connection, the voltage output of the common node of the first end at second end of resistance R3, second end of resistance R1 and electric capacity C2 is detection
Voltage.
Referring again to Fig. 4, the power failure detection method of disclosed straight-bar machines 10 includes:
S401:Zero cross detection circuit carries out zero passage detection to alternating voltage, and exports zero passage detection signal;
S402:Secondary host chip 125 judges whether to receive zero passage detection signal in the given time, if not in pre- timing
Interior to receive zero passage detection signal, then secondary host chip 125 judges that alternating voltage is in power-down state.
Referring again to Fig. 5, the power failure detection method of disclosed straight-bar machines 10 also includes:
S410:Voltage detecting circuit 129 detects the meansigma methodss of alternating voltage, and exports detection voltage;
S411:Secondary host chip 125 is compared detection voltage with voltage threshold, and is less than voltage threshold in detection voltage
During value, secondary host chip 125 judges that alternating voltage is in power-down state.
Disclosed straight-bar machines 10 passes through to arrange zero cross detection circuit and voltage detecting circuit 129, to judge exchange
Whether voltage be in power-down state, and whether alternating voltage is fed back to into secondary host chip 125 in power-down state, can be timely
And detection of power loss is rapidly realized, and then corresponding measure can be taken when there is power down phenomenon, it is to avoid the loss that power down is caused.
Additionally, replacing the zero cross detection circuit of power-fail detection circuit 126 using zero cross detection circuit 50 as shown in Figure 6.
Wherein, zero cross detection circuit 50 include bridge rectifier 51, comparator 52, isolation circuit 53, the first bleeder circuit 55 and
Second bleeder circuit 56.Wherein, bridge rectifier 51 is identical with above-mentioned bridge rectifier 127, bridge rectifier 51
For carrying out bridge rectifier to alternating voltage, and alternating voltage is converted to into DC voltage;Comparator 52 is used for bridge rectifier
DC voltage afterwards is compared with reference voltage;Isolation circuit 53 produces zero passage detection letter according to the comparative result of comparator 52
Number;Voltage conversion circuit is used to that the alternating voltage after bridge rectifier to be converted into the reference voltage of alternating voltage.After bridge rectifier
DC voltage be input into Jing after the partial pressure of the first bleeder circuit 55 to the first input end of comparator 52, the partial pressures of reference voltage Jing second
It is input into after the partial pressure of circuit 56 to the second input of comparator 52, the first bleeder circuit 55 and the second bleeder circuit 56 are altogether even
Connect, the first input end of comparator 52 is negative input end, and the second input of comparator 52 is positive input terminal.Reference voltage is served as reasons
Alternating voltage Jing AC/DC conversions are obtained.
Wherein, isolation circuit 53 includes light isolation device 58, resistance R2, resistance R3, resistance R4 and electric capacity C3.It is optically isolated
Respectively Jing resistance R2 and resistance R3 are connected to the outfan of comparator 52, benchmark electricity to the positive pole and negative pole of the luminous source 59 of device 58
Pressure is further input between the positive pole and resistance R2 of luminous source 59, so that luminous source 59 enters according to the comparative result of comparator 52
Row selectivity lights, and the first end connection running voltage of the light-receiving end 510 of light isolation device 58, zero passage detection signal undergoes light end
510 the second end output, the second end of light-receiving end 510 is also grounded through resistance R4 and electric capacity C3.The resistance of resistance R2 is more than electricity
The resistance of resistance R3, so that the waveform that the waveform of the output of isolation circuit 53 is exported with comparator 52 is contrary.
The detection circuit of zero cross detection circuit 50 has higher precision relative to zero cross detection circuit before.
Based on the straight-bar machines 10 disclosed in first embodiment, the present invention also provides a kind of power down continual scheme.Such as Fig. 7 institutes
Show, AC/DC change-over circuits 123 include rectification circuit 71 and filter capacitor 72, rectification circuit 71 is used for AC/DC change-over circuits
123 alternating voltages for receiving carry out being rectified into the first DC voltage, and filter capacitor 72 is used to be filtered the first DC voltage.
Whether the first controller judges alternating voltage that AC/DC change-over circuits 123 receive according to the detection signal of power-fail detection circuit 126
Power down, the first controller performs data preservation action using the electricity that filter capacitor 72 is preserved after power down is judged, wherein
The electricity for being consumed of the data preservation action of the first controller is less than the electricity that the electric capacity of filter capacitor 72 is kept.
First controller sends data after power down is judged and preserves instruction to second controller, and second controller is using filter
The electricity that ripple electric capacity 72 is preserved performs data preservation action, the institute of the data preservation action of the first controller and second controller
The electricity of consumption is less than the electricity that filter capacitor 72 is preserved.
Wherein, the first controller is secondary host chip 125, and second controller includes head control chip 143, shows/behaviour
Make box main control chip 134 and play at least one of bottom control chip 131.Second controller be preferably head control chip 143,
Display/operating case main control chip 134 and a bottom control chip 131.
Referring again to Fig. 8, the control method of disclosed straight-bar machines 10 includes:
S801:The alternating voltage whether power down of the detection of power-fail detection circuit 126 supply to AC/DC change-over circuits 123;
S802:What the first controller was preserved after power down is detected using the filter capacitor 72 of AC/DC change-over circuits 123
Electricity performs data preservation action.
In S802, the electricity for being consumed of the data preservation action of the first controller is less than what filter capacitor 72 was preserved
Electricity.
Power down is realized by arranging bulky capacitor uninterruptedly relative to the straight-bar machines of prior art, disclosed straight-bar machines
10 electricity preserved by the filter capacitor 72 of AC/DC change-over circuits 123 perform data preservation action, it is to avoid extra to arrange big
Electric capacity, reduces cost.
Based on the straight-bar machines 10 disclosed in first embodiment, the present invention also provides a kind of scheme of power distribution.Wherein, control
Device receives control instruction, and parses whether control instruction performs work simultaneously for the performance element 15 of control at least two, if control
System instruction controls at least two performance elements 15 for the execution action simultaneously of at least two performance element of control 15, then controller
The execution time of action offsets one from another.Controller is preferably head control chip 143, and head control chip 143 is from secondary main frame core
Piece 125 receives control instruction.
Wherein, at least two performance elements 15 perform the execution that work represents the action of at least two performance elements 15 simultaneously
Time portion is overlapped.Head control chip 143 controls the execution time of the action of at least two performance elements 15 and offsets one from another table
Show that head control chip 143 controls the execution time portion of the action of at least two performance elements 15 and staggers.Head control chip
The execution time of the action of 143 at least two performance elements 15 of control offsets one from another can be with least two performance elements 15
A performance element performed after action, another performance element just starts execution action.For example, in performance element 151
After having performed action, performance element 152 just starts execution action, and the priority of performance element 151 is excellent higher than performance element 152
First level.
Alternatively, head control chip 143 is produced according to control instruction and corresponds respectively at least two performance elements 15
The execute instruction of action, and the action of at least two performance elements 15 is controlled by the transmission time of control command hold
The row time offsets one from another.
Alternatively, head control chip 143 is by the action of at least one of at least two performance elements 15 performance element
Many sub- actions are resolved into, certain free time is spaced between sub- action, and then two are performed at least one performance element 15
In free time between individual corresponding sub- action, another performance element performs corresponding action or sub- action.Such as head control
The decomposition of movement of performance element 151 is many sub- actions by coremaking piece 143, is performed between two sub- actions in performance element 151
Free time, the execution action of performance element 152.
In head control chip 143 by the decomposition of movement of at least two performance elements 15 into many sub- actions, sub- action it
Between be spaced certain free time, and then at least one performance element 15 perform between two corresponding sub- actions it is idle when
Interior, another performance element performs corresponding sub- action.Such as head control chip 143 is by performance element 151 and performance element
152 action is decomposed into many sub- actions, and in performance element 151 free time between two sub- actions is performed, and performs list
Unit 152 performs sub- action.
Additionally, head control chip 143 obtains power threshold from memorizer 144.Head control chip 143 is being resolved to control
After system instruction is for the action simultaneously of at least two performance element of control 15, by reality during at least two 15 actions simultaneously of performance element
Border power is compared with power threshold, if actual power is more than power threshold, head control chip 143 is held at least two
The execution time of the action of row unit 15 offsets one from another, if actual power is less than or equal to power threshold, head control chip
The execution action simultaneously of 143 control, at least two performance element 15.
Preferably, performance element 15 is yarn mouth electric magnet, slide cam selector, degree mesh motor and the triangle being arranged on head 14
One kind of motor or at least two combination.Additionally, performance element 15 can also be arranged on head 14 yarn mouth electric magnet,
One kind or at least two combination of slide cam selector, degree mesh motor and triangle electric magnet.
Referring again to Fig. 9, the power distribution method of disclosed straight-bar machines 10 includes:
S901:Controller obtains control instruction;
S902:Whether controller parsing control instruction is for the execution action simultaneously of at least two performance element of control 15;
S903:If control instruction is used for the action simultaneously of performance elements 15 of control at least two, controller is by least two
The execution time of the action of performance element 15 offsets one from another.
It is another to perform list after a performance element at least two performance elements 15 has performed action in S903
First ability execution action, or be multiple by the execution decomposition of movement of at least one of at least two performance elements 15 performance element
Sub- action, is spaced certain free time between sub- action, and then performs two corresponding sons at least one performance element 15
In free time between action, another performance element performs corresponding action or sub- action.
Controller is compared actual power during at least two 15 actions simultaneously of performance element with power threshold, if real
Border power is more than the power threshold, then controller offsets one from another the execution time of the action of at least two performance elements 15,
If actual power is less than or equal to power threshold, the execution action simultaneously of at least two performance element of controller control 15.
Wherein, controller is preferably head control chip 143.
Performance element action simultaneously relative to the straight-bar machines of prior art causes power excessive, disclosed straight-bar machines
The execution time of 10 actions for controlling at least two performance elements 15 by controller offsets one from another, and then avoids at least two from holding
The actual power during action simultaneously of row unit 15 is more than power threshold, prevents from causing overload.
Embodiments of the invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (8)
1. a kind of power-fail detection circuit of straight-bar machines, it is characterised in that the circuit includes:
Zero cross detection circuit, for carrying out zero passage detection to the alternating voltage of input to the straight-bar machines, and exports zero passage detection letter
Number;
Controller, the controller is connected with the zero cross detection circuit, and judges whether to receive in the given time described
Zero passage detection signal, if not receiving the zero passage detection signal within the scheduled time, judges at the alternating voltage
In power-down state;
Voltage detecting circuit, the voltage detecting circuit is used to detect the meansigma methodss of the alternating voltage, and exports detection voltage,
The controller is connected with the voltage detecting circuit, and is further compared the detection voltage and voltage threshold, and
Judge that the alternating voltage is in power-down state when the detection voltage is less than the voltage threshold;
The voltage detecting circuit includes inductance, first resistor, second resistance, 3rd resistor, the first electric capacity and the second electric capacity, its
Described in the first end of inductance connect the supply line of the alternating voltage, the of the second end connection first resistor of the inductance
The first end of one end, the first end of the second resistance and first electric capacity is connected to second end and described of the inductance
Between the first end of one resistance, the second end of the second end of the second resistance and first electric capacity is grounded, and the described 3rd
The first end connection reference voltage of resistance, the second end of the 3rd resistor is connected to the second end of the first resistor, described
The first end of the second electric capacity is connected between the second end of the 3rd resistor and the second end of the first resistor, and described second
The second end ground connection of electric capacity, the of the second end of the 3rd resistor, the second end of the first resistor and second electric capacity
The voltage output of the common node of one end is the detection voltage.
2. circuit according to claim 1, it is characterised in that the zero cross detection circuit include bridge rectifier and
Light isolation device, the alternating voltage is input into the input of the bridge rectifier, and carries out bridge rectifier, the bridge-type
The outfan output DC voltage of rectification circuit, the input of the light isolation device connects the output of the bridge rectifier
End, and the threshold values of optocoupler light-emitting component conducting is exceeded according to the DC voltage and the zero passage detection signal is produced.
3. circuit according to claim 2, it is characterised in that the bridge rectifier include the first diode, second
Diode, the 3rd diode and the 4th diode, the negative electrode of first diode connects the anode of second diode, institute
The negative electrode for stating the second diode connects the negative electrode of the 3rd diode, the anode connection the described 4th 2 of the 3rd diode
The negative electrode of pole pipe, the anode of the 4th diode connects the anode of first diode, the first confession of the alternating voltage
Electric line is connected between the anode of the negative electrode of first diode and second diode, and the second of the alternating voltage
Supply line is connected between the anode of the 3rd diode and the negative electrode of the 4th diode, and the light isolation device enters
One step includes light-emitting component and photo detector, the first end of the light-emitting component connect the negative electrode of second diode with it is described
Between the negative electrode of the 3rd diode, the second end of the light-emitting component connects the anode and the described 1st of the 4th diode
Between the anode of pole pipe, the first end ground connection of the photo detector, the second end of the photo detector exports the zero passage detection
Signal.
4. circuit according to claim 3, it is characterised in that the zero cross detection circuit further includes electric capacity and electricity
Resistance, the first end of the electric capacity connects the second end of the photo detector, the second end ground connection of the electric capacity, and the of the resistance
One end connects the second end of the photo detector, the second end connection reference voltage of the resistance.
5. circuit according to claim 1, it is characterised in that the zero cross detection circuit includes:
Bridge rectifier, for carrying out bridge rectifier to above-mentioned alternating voltage, by the alternating voltage DC voltage is converted into;
Comparator, for the DC voltage and reference voltage to be compared;
Isolation circuit, for producing the zero passage detection signal according to the comparative result of the comparator.
6. circuit according to claim 1, it is characterised in that the reference voltage is turned by the alternating voltage Jing AC/DC
Change acquisition.
7. a kind of power failure detection method of straight-bar machines, it is characterised in that methods described is applied to power-fail detection circuit, methods described bag
Include:
Zero passage detection is carried out to alternating voltage, and exports zero passage detection signal;
Judge whether to receive the zero passage detection signal in the given time, if not receiving within the scheduled time described
Zero passage detection signal, then judge that the alternating voltage is in power-down state;
Wherein, the circuit includes:
Zero cross detection circuit, for carrying out zero passage detection to the alternating voltage of input to the straight-bar machines, and exports zero passage detection letter
Number;
Controller, the controller is connected with the zero cross detection circuit, and judges whether to receive in the given time described
Zero passage detection signal, if not receiving the zero passage detection signal within the scheduled time, judges at the alternating voltage
In power-down state;
Voltage detecting circuit, the voltage detecting circuit is used to detect the meansigma methodss of the alternating voltage, and exports detection voltage,
The controller is connected with the voltage detecting circuit, and is further compared the detection voltage and voltage threshold, and
Judge that the alternating voltage is in power-down state when the detection voltage is less than the voltage threshold;
The voltage detecting circuit includes inductance, first resistor, second resistance, 3rd resistor, the first electric capacity and the second electric capacity, its
Described in the first end of inductance connect the supply line of the alternating voltage, the of the second end connection first resistor of the inductance
The first end of one end, the first end of the second resistance and first electric capacity is connected to second end and described of the inductance
Between the first end of one resistance, the second end of the second end of the second resistance and first electric capacity is grounded, and the described 3rd
The first end connection reference voltage of resistance, the second end of the 3rd resistor is connected to the second end of the first resistor, described
The first end of the second electric capacity is connected between the second end of the 3rd resistor and the second end of the first resistor, and described second
The second end ground connection of electric capacity, the of the second end of the 3rd resistor, the second end of the first resistor and second electric capacity
The voltage output of the common node of one end is the detection voltage.
8. method according to claim 7, it is characterised in that methods described is further included:Detect the alternating voltage
Meansigma methodss, and export detection voltage;
The detection voltage and voltage threshold are compared, and judge institute when the detection voltage is less than the voltage threshold
Alternating voltage is stated in power-down state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410267547.8A CN104090152B (en) | 2014-06-16 | 2014-06-16 | Power failure detection circuit of flat knitting machine and power failure detection method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410267547.8A CN104090152B (en) | 2014-06-16 | 2014-06-16 | Power failure detection circuit of flat knitting machine and power failure detection method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104090152A CN104090152A (en) | 2014-10-08 |
CN104090152B true CN104090152B (en) | 2017-05-17 |
Family
ID=51637883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410267547.8A Active CN104090152B (en) | 2014-06-16 | 2014-06-16 | Power failure detection circuit of flat knitting machine and power failure detection method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104090152B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109084446B (en) * | 2018-08-23 | 2019-09-13 | 奥克斯空调股份有限公司 | A kind of air conditioning control method, device and air conditioner |
CN109884374A (en) * | 2019-01-30 | 2019-06-14 | 成都图灵创想科技有限责任公司 | A kind of straight-bar machines voltage detecting circuit |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0335170A (en) * | 1989-06-30 | 1991-02-15 | Hitachi Koki Co Ltd | Detecting circuit for ac power supply failure |
CN202002964U (en) * | 2010-12-16 | 2011-10-05 | 上海巍翔电气控制有限公司 | Detection circuit for power grid power failures |
CN102288809A (en) * | 2011-07-04 | 2011-12-21 | 隆鑫通用动力股份有限公司 | Voltmeter for measuring generating set |
CN102346216A (en) * | 2011-08-17 | 2012-02-08 | 佛山市中格威电子有限公司 | Circuit capable of realizing accurate measurement of alternating current zero-crossing signal by using linear opticalcoupler |
CN203204062U (en) * | 2013-02-22 | 2013-09-18 | 九阳股份有限公司 | Comparator-based voltage signal detection circuit |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008064539A (en) * | 2006-09-06 | 2008-03-21 | Mitsubishi Electric Corp | Electronic ammeter |
JP2010166110A (en) * | 2009-01-13 | 2010-07-29 | Seiko Instruments Inc | Voltage detection circuit |
CN103472280A (en) * | 2013-09-12 | 2013-12-25 | 昆山新金福精密电子有限公司 | Voltage detection circuit |
-
2014
- 2014-06-16 CN CN201410267547.8A patent/CN104090152B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0335170A (en) * | 1989-06-30 | 1991-02-15 | Hitachi Koki Co Ltd | Detecting circuit for ac power supply failure |
CN202002964U (en) * | 2010-12-16 | 2011-10-05 | 上海巍翔电气控制有限公司 | Detection circuit for power grid power failures |
CN102288809A (en) * | 2011-07-04 | 2011-12-21 | 隆鑫通用动力股份有限公司 | Voltmeter for measuring generating set |
CN102346216A (en) * | 2011-08-17 | 2012-02-08 | 佛山市中格威电子有限公司 | Circuit capable of realizing accurate measurement of alternating current zero-crossing signal by using linear opticalcoupler |
CN203204062U (en) * | 2013-02-22 | 2013-09-18 | 九阳股份有限公司 | Comparator-based voltage signal detection circuit |
Non-Patent Citations (1)
Title |
---|
一种简便可靠的交流电压掉电检测方法;王云鹤;《船电技术》;20131031;第33卷(第10期);第16-19,、22页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104090152A (en) | 2014-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102751698B (en) | Excess voltage protection, power module and over-voltage protection method | |
CN104092387B (en) | Flat knitting machine and power supply method thereof | |
CN104090152B (en) | Power failure detection circuit of flat knitting machine and power failure detection method thereof | |
CN109119021A (en) | A kind of OLED driving power and OLED TV | |
CN203933426U (en) | A kind of straight-bar machines | |
CN104111630B (en) | Straight-bar machines and its control method | |
CN104111629B (en) | Straight-bar machines and its control method | |
CN203929871U (en) | The power-fail detection circuit of straight-bar machines | |
CN203933427U (en) | A kind of straight-bar machines | |
CN203933409U (en) | The power-supply system of Weaving device | |
CN103149911B (en) | CAN (Controller Area Network) bus-based start-up base board control system and control method thereof | |
CN103454508A (en) | Four-channel overcurrent and overvoltage protecting tester | |
CN104109938B (en) | Textile device and control circuit board of automatic equipment | |
CN206348615U (en) | Computer flat knitting machine and its servo-driver, master controller, operating case | |
CN209970474U (en) | Intelligent control system of automatic polishing machine | |
CN204993072U (en) | Baling press control circuit | |
CN102252402A (en) | Circuit structure of drive chip of air conditioner display screen | |
CN101937383A (en) | Starting-up progress indicating device and method for indicating starting-up progress | |
CN202576736U (en) | Self-adaptive photoelectric electronic yarn clearer | |
CN203204403U (en) | A bottom lifting plate control system based on a CAN bus | |
CN207002907U (en) | Spinning machine with state parameter display device | |
CN203930441U (en) | Machine control equipment and operating case thereof | |
CN211602169U (en) | Wire color mistake-proofing automatic recognizer for temperature controller power converter | |
CN202153043U (en) | Circuit structure for driving chip of air conditioner display screen | |
CN202661215U (en) | Yarn tension detection system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |