text: turning now to the figures , there is shown a portion of an end seal assembly for a packaging machine in accordance with one embodiment of the present invention . it should be understood that the end seal assembly is shown by way of illustration , as the present invention is not limited to any particular location of the sealing mechanism . top jaw 20 is shown ( fig1 ), which is conventionally sandwiched by a pair of opposite film clamps coupled via a film guard mount ( not shown ), the mount being coupled , in turn , to the top jaw 20 . one end of an electrical impulse element such as a seal wire 2 is fixed to the underside of the top jaw 20 with a wire tension block ( not shown ). the opposite moving or floating end of seal wire 2 is coupled to a seal wire pivot member 1 at wire terminal 10 . a pivot member 1 is pivotally mounted on the top jaw 20 at pivot point 9 so that it moves in response to expansion and contraction of the seal wire 2 , depending upon the seal wire temperature . a detector actuator 3 is mounted to the seal wire pivot plate or block 1 , and extends beyond the pivot member 1 towards detector 5 as shown . preferably the actuator 3 terminates in a flange portion 3 a to provide sufficient surface area to actuate proximity detector 5 as discussed in greater detail below . one end of biasing member 4 , such as a coil spring , is fixed to the actuator 3 and the opposite end of the biasing member 4 is fixed to the top jaw 20 so as to maintain the actuator 3 ( and pivot member 1 ) under tension , and bias the actuator and thus the seal wire 2 in a direction away from wire tension block 8 . spaced a set distance from the actuator 3 is a detector 5 , such as a proximity sensor . other detectors , such as optical detectors , capable of monitoring the expansion and contraction of seal wire 2 are suitable and within the scope of the present invention . as current is applied to the seal wire 2 and the seal wire 2 heats up and expands , the expansion is accommodated by the pull force of the biasing member 4 and the pivoting action of the pivot member 1 . as a result , the pivot member 1 pivots in a clockwise direction from the position shown in fig2 to the position as viewed in fig1 , driving actuator 3 towards the sensor of the detector 5 . the detector 5 senses the distance between itself and actuator 3 and generates an output responsive to that distance . in the preferred embodiment , a response linearly proportional to the distance between the detector 5 and the actuator 3 is produced , as illustrated in fig4 . based on that output , the current applied to the seal wire 2 is varied in an attempt to maintain a roughly uniform wire length . thus , when the output of detector 5 indicates that actuator 3 is closer than desired ( and therefore too hot ), the amount of current applied to seal wire 2 is reduced . now with a reduced application of current , the seal wire 2 cools and contracts , and the pivot member 1 and actuator 3 are pulled in a counter - clockwise direction as viewed in fig2 . this increases the distance between the detector 5 and the actuator 3 , which in turns increases the output from the detector 5 . conversely , when the output of detector 5 indicates that actuator 3 is further away than desired ( and therefore too cool ), the amount of current applied is increased , thereby heating the seal wire 2 . now with an increased application of current , the seal wire 2 heats and expands , and the pivot member 1 and actuator 3 are pulled in a clockwise direction as viewed in fig1 . this decreases the distance between the detector 5 and the actuator 3 , which in turns decreases the output from the detector 5 . other means of determining the length of the seal wire 2 can be used and are within the scope of the present invention . for example , rather than utilizing a pivoting pivot member 1 , as in fig1 , a linear system , illustrated in fig3 , could be used . fig3 shows an embodiment where the actuator moves linearly rather than pivoting . linear guiderail 30 supporting block 31 is coupled to top jaw 20 . in this embodiment , proximity switch 5 ′ is placed so as to be able to sense the movement of actuator 3 ′. thus , when actuator 3 ′ is in the position shown in fig3 , the seal wire 2 has not yet expanded . biasing member 4 ′, such as a compression or extension spring , is attached to a wire tension block ( to which the actuator 3 ′ is also connected ) and holds the seal wire 2 in tension as before . as the wire 2 heats up and expands , the actuator 3 ′ travels linearly ( to the left in fig3 ) toward the detector 5 ′. this causes a reduction in the output of the proximity sensor , which in turn lowers the current applied to seal wire 2 . as seal wire 2 cools , it contracts , the actuator 3 ′ travels linearly ( to the right in fig3 ) away from detector 5 ′. this causes an increase in the output of proximity sensor , which in turn increases the current applied to seal wire 2 . in another embodiment , instead of a proximity sensor , a potentiometer is used . in this embodiment , the potentiometer generates an output based on rotational movement . the potentiometer is placed at pivot point 9 ( fig1 ). as the length of the seal wire 2 changes , pivot member 1 rotates about pivot point 9 . therefore , the length of seal wire 2 can be determined based on the angle of rotation of pivot member 1 . the rotational movement of pivot member 1 caused a corresponding change in output from the potentiometer . this output can then be used in the same manner as the output of the proximity sensor , as will be described later . those skilled in the art will appreciate that other methods of measuring the length of the seal wire are also possible , and this description is not meant to limit the invention to only these embodiments . also in close proximity to the seal wire is a current sensor . this sensor can be in series with the seal wire , such as a current transformer . this sensor creates an output that is preferably proportional to the current flowing in the seal wire . this output is preferably analog , although a digital output is within the scope of the invention . the system preferably also includes a programmable logic controller ( plc ) or another device capable of performing arithmetic and algorithmic functions . there are a number of commercially available plc &# 39 ; s that can be used . in the alternative , a device can be customized for this application . having described the preferred physical embodiment of the seal wire and associated mechanisms , the control of the current will now be detailed . fig5 shows a flowchart which can be employed to closely control the current through the seal wire . in box 500 , the desired set point is input , preferably via a human / machine interface , such as a touch screen , keypad or knob . this set point , which is preferably input in amps , preferably in the range of 0 to 40 , is preferably first converted to a digital value . in the preferred embodiment , a value of 0 amps corresponds to a digital value of 0 , while a value of 40 amps equates to a digital value of 32767 . in box 510 , this digital number is then converted to an analog value . in one embodiment , the analog value is created using a digital to analog converter ( dac ), having an output range of between 0 and 10v . this analog voltage , which is output from the plc , then serves as the input to a power proportional controller ( ppc ), which converts this analog voltage into the current to be supplied to the sealing element . in a second embodiment , this digital value is directly converted to an analog current . this current can be the desired sealing current , or can be input to a current transformer to adjust its range . the desired current , as determined by the set point , is then compared to the actual current in the seal wire , as measured by the current sensor in decision box 530 . in one embodiment , the current transformer is used to scale the sealing current to a level which is more appropriate for use with the plc . for example , while the sealing current may be as large as 40 amps , the preferred range of the current received from the current transformer is in the range of milliamps , preferably less than 50 , most preferably between 4 and 20 milliamps . this current is then converted at a digital value , also preferably in the value from 0 to 32767 . if this measured current matches the desired current set point , the current supplied to the wire is unchanged ( i . e . the reference output is unaltered ) and the system returns to box 520 and continues to monitor the measured current . in the preferred embodiment , the current is constantly monitored and the reference output is adjusted every 5 to 10 milliseconds . if the measured current differs from the desired current , the system tests whether the actual current is greater or less than the desired value , in decision boxes 540 and 560 . if the actual current is greater than the set point , then the current flowing to the seal wire must be reduced . this is accomplished by reducing the reference output ( box 550 ). if the actual current is less than the set point , then the current must be increased . this is accomplished by increasing the reference output ( box 570 ). the determination of how the difference between the measured current and the desired set point affects the newly generated reference output is implementation specific . for example , a control loop utilizing any or all of the following : integral , derivative and proportional , can be employed . however , in the preferred embodiment , a simple proportional control loop is used . the determination and magnitude of the correction to be applied is also implementation dependent . for example , in one embodiment , the digital representation of the measured current is subtracted from the digital representation of the set point . this value is then subtracted from the reference output ( if the measured current is less than the desired set point , this difference would be added to the reference output ). in a second embodiment , the magnitude of the difference is not used . rather , only the polarity of the difference is used . thus , a positive difference between the digital representation of the measured current and the set point causes a fixed value to be subtracted from the reference output . conversely , a negative difference causes a fixed value to be added to the reference output . in one embodiment , this fixed value is a value of 2 , although other values can be used as well . this method , while perhaps taking longer to reach the desired value , does not have issues such as overshoot . by using a simple proportional control loop , the processing power and memory requirements of the plc can be greatly reduced . this method also serves to reduce the complexity and cost of the system , since more complex pid controllers are not necessary . fig6 shows an enhancement to the flowchart of fig5 . those boxes having an equivalent function as the previous flowchart are given the same reference designators . in this modified flowchart , additional provisions have been added to monitor and compensate for increased wire length , which is typically caused by excessive heat . as before , the system attempts to maintain the measured current equal to the desired set point . however , in this embodiment , the wire length is also monitored , such as by using a proximity sensor described earlier . in one embodiment , the output of the proximity sensor is an analog voltage , typically in the range from 0 to 10v . this analog output is then converted to a digital value , preferably between 0 and 32767 by an analog to digital converter ( adc ). if this value is zero , the wire has not expanded to the point at which it is visible to the proximity sensor . greater values indicate that the wire is expanding . this value is monitored in box 600 . if the wire has begun to stretch , as monitored in box 600 , the system will reduce the amount of current flowing through the seal wire to counteract this effect . this reduction is irrespective of the desired current set point . thus , if wire expansion is detected in decision box 610 , the algorithm will forego the typical current monitoring and simply reduce the reference output . thus , boxes 600 , 610 and 620 serve as an override of the normal current control , and are only operative if the wire has begun to stretch excessively . this reduction in current serves to cool the seal wire , allowing it to contract . once the wire has returned to a more appropriate length , the system returns to its normal operation . in one embodiment , the digital representation of the proximity sensor reading is simply subtracted from the reference output , thereby decreasing the current sufficiently to cool the wire . in this way , the decrease in current is directly related to the measured expansion of the wire . in another embodiment , a fixed amount is subtracted from the reference output if the proximity sensor reading is non - zero . the introduction of this override mechanism allows the system to automatically adapt to changing usage models without operation intervention . for example , if the duty cycle of the machine is such that a specific current works satisfactorily , a decrease in that duty cycle may cause the wire to expand since there is no place to sink the additional heat . using the algorithm described above , the system automatically detects this condition and decreases the reference output , which in turn reduces the current to the seal wire . the present invention also incorporates current control based on system usage . in the preferred embodiment , there are three different operating modes . the first , also known as continuous mode , allows a smaller amount of current to continuously pass through the seal wire . this is most typically employed during idle times , to allow the seal wire to remain warm , without expanding to the point of fatigue . the second mode , or running mode , maintains a higher level of current , sufficient to properly cut and seal at the desired operating rate . the third , or impulse mode , is preferably employed when the duty cycle of the sealing system is lower than normal . in this mode , a smaller amount of current ( such as that used during the continuous mode ) is continuously supplied , but when the wire is to be used to seal , the current is increased to allow it to reach a temperature adequate to cut and seal ( such as equal to or greater than the current used for the running mode ). following this activity , the current returns to the lower value . in one embodiment , a motion detector or proximity sensor is placed near the belt of the sealing machine , such that it detects when an article is nearing the sealing mechanism . this indication allows the system to increase the current in the wire in preparation for the sealing operation . this increased current continues until the seal is completed , which can be detected based on time or on the movement of the belt . although not required , it is preferable that the current used in impulse mode be greater than that used in running mode since there is a requirement to quickly heat the wire . fig7 illustrates a flowchart showing the transitions between the various modes . while the machine is idle , the system remains in continuous mode 800 . the system can automatically transition to the impulse mode 810 upon detection that the machine is to be used , as shown in 803 . impulse mode is preferably used only for low duty cycle activity . therefore , as long as the duty cycle of the sealing machine remains low , the system will remain in impulse mode . if , however , the duty cycle increases , the system may transition to running mode 820 , since there is less stress on the wire and the associated components in this scenario , as shown in 813 . as long as the machine continues operating above a predetermined duty cycle , the system will remain in the running mode 820 . manual intervention by the operator can return the system from running mode 820 directly to continuous mode 800 , as shown in 823 . similarly , manual intervention can be used to transition directly from continuous mode 800 to running mode 820 , as shown in 826 . while in running mode 820 , the system continues to monitor the duty cycle of the machine . if the duty cycle decreases below a predetermined level , the system will automatically transition back to impulse mode 810 , as shown in 816 . finally , while in impulse mode 810 , the system will transition back to continuous mode if the frequency at which the machine is being used is too low , as shown in 806 . by transitioning between these states automatically , the stress experienced by the seal wire and associated components due to expansion and contraction can be reduced . this flowchart is intended to be illustrative of the types of conditions that may trigger a transition from one current state to another . however , it is not intended to be inclusive ; other conditions , such as , but not limited to , the duration of time within a state , can also be used to trigger state transitions . in the above example , there are at least two distinct current values that are used , a lower continuous mode current , and a larger running mode current . however , the invention is not so limited . as mentioned above , the impulse mode current need not be exactly the same as the running mode current and may preferably be greater . in the preferred embodiment of the system , the control and monitoring of the various currents that are needed to implement the algorithm of fig7 are performed using the algorithms illustrated in fig5 and 6 , although this is not a requirement . other methods of controlling the current , including those currently known in the art can be used with this algorithm . another element of the present invention used to increase the life of the sealing element is the use of annealed seal wires . the process of annealing subjects the wire to high temperatures and effectively tempers it . having undergone this process , the wire is typically stronger and less susceptible to expansion at high currents and temperatures . because of this , the wire is less prone to breakage , a common problem in the sealing industry . furthermore , the improved ability to maintain its wire length also increases the wire &# 39 ; s useful life . in practice , often , even if a wire does not break , over time it irreversibly expands . this expansion leads to slack , which affects the quality of the seal . by using annealed wire , the useful life of the wire can be extended , since irreversible expansion is less pronounced .