Method and apparatus for preventing the overheat of a line feed motor for a printer

Information

  • Patent Grant
  • 4884162
  • Patent Number
    4,884,162
  • Date Filed
    Monday, July 25, 1988
    36 years ago
  • Date Issued
    Tuesday, November 28, 1989
    35 years ago
Abstract
A method and apparatus prevents the overheating of a line feed motor used in a printer. First and second timers are respectively provided to measure first and second time intervals. The second time interval includes a cessation period in which the line feed motor is not driven to allow for heat dissipation of the line feed motor. At the end of the first time interval, a determination is made as to whether the number of line feed pulses during the first time interval exceeds a predetermined limit. If the number of line feed pulses does not exceed the predetermined limit, the first time is reactivated. If the number of line feed pulses does exceed the predetermined limit, then the second timer is activated to allow for heat dissipation of the line feed motor.
Description

BACKGROUND OFF THE INVENTION
1. Field of the Invention
The present invention relates to a method and apparatus for preventing the overheating of a line feed motor for a printer due to line feed operation of printing paper.
2. Related Art
The following measures have been taken as methods of preventing the overheating of a line feed motor (hereinafter referred to as "LF motor") incorporated into a printer.
(1) Using a motor having a high rating, or using a motor provided with radiation fins to radiate heat so that the temperature of the motor will not exceed the rated temperature even if the motor is driven continuously during a continual line feed operation.
(2) Warning the operator in the operation manual of the printer that continual line feed operation for an extended period of time is forbidden.
(3) Detecting the temperature of the motor using a heat sensitive element and adding a necessary period of cessation to a motor driving cycle to enable the motor to cool when the temperature increases beyond an upper limit, as disclosed in Japanese Patent Publication No. 57-11041.
(4) Counting the number of line feed pulses representing the frequency of line feed operation in a fixed time limited by a timer and adding a period of cessation to the motor driving cycle to enable the motor to cool when the number of line feed pulses in a fixed time exceeds a fixed value.
These measures, however, have the following problems.
Measure (1) is planned against troubles which will not occur even if the motor is driven continuously for a long time which is scarcely necessary in ordinary operation of the printer and is never an efficient measure or, more properly, the measure provides the printer with unnecessarily high quality and increases the manufacturing cost.
Measure (2) is unable to prevent the overheating of the motor if the operator neglects the instructions or if the host computer controlling the printer malfunctions.
Measure (3) requires a heat sensitive element, which increases the cost of the printer.
Measure (4) adds a period of cessation to the motor driving cycle when the number of line feed pulses in a fixed time representing the frequency of line feed operation exceeds a fixed value, however, the measure does not take heat generated by the motor during acceleration and deceleration into consideration and hence lacks practical effect in preventing the overheating of the motor, because the current supplied to the motor for acceleration or deceleration is greater than that supplied to the motor during operation at a constant speed and hence increased heat is generated during acceleration and deceleration.
SUMMARY OF THE INVENTION
Accordingly, it is an object of the present invention to provide a method and apparatus for preventing the overheating of a LF motor for a printer, which is capable of effectively preventing the overheating of the LF motor and eliminating the drawbacks of the foregoing known measures.
To achieve the object of the present invention, the present invention provides an apparatus for preventing the overheating of a LF motor for a printer, employing: a first timer for measuring a predetermined first time interval t.sub.1 ; a second timer for measuring a predetermined second time interval t.sub.2 ; a counting and calculating means for counting line feed pulses representing the frequency of the line feed operation while the first timer is measuring the first time interval t.sub.1 or the second timer is measuring the second time interval t.sub.2, and for adding the number of line feed pulses and the number of line feed pulses corresponding to the quantity of heat generated by the LF motor during acceleration and deceleration to the previous sum of line feed pulses, to obtain a new sum of line feed pulses; a holding means for subtracting a predetermined first allowable number of line feed pulses for the first time interval t.sub.1 from the sum of line feed pulses and for holding the difference between the first allowable number of line feed pulses and the sum of line feed pulses as a new sum of line feed pulses; and a holding means for subtracting a predetermined second allowable number of line feed pulses for the second time interval t.sub.2 from the sum of line feed pulses and for holding the difference between the second allowable number of line feed pulses and the sum of line feed pulses as a new sum of line feed pulses. Furthermore, the present invention provides a method for preventing the overheating of a LF motor for a printer including a first and second timer, counting and calculating means, and holding means, comprising the steps of: setting the sum of line feed pulses at zero and starting the first timer upon the connection of the printer to a power supply; subtracting the first allowable number of line feed pulses from the sum of line feed pulses at the end of the first time interval t.sub.1 ; setting the sum of line feed pulses at zero and starting the first timer again, when the result of the subtraction is zero or a negative value; starting the second timer when the result of the subtraction in the preceding step is neither zero nor a negative value; subtracting the second allowable number of line feed pulses for the second time interval t.sub.2 from the sum of line feed pulses; starting the second timer again when the result of the subtraction in the preceding step is zero or a negative value; and providing a period of cessation according to the number of line feed pulses only during the time interval counted by the second timer before actuating the LF motor.
According to the present invention, the first timer is started upon the connection of the printer to the power supply, and then a decision is made as to whether or not the sum of line feed pulses is greater than a predetermined value at the end of a predetermined time interval measured by the first timer. When the decision result is NO, the first timer is restarted, and when the decision result is YES, the second timer is started and a period of cessation is added to the time interval measured by the second timer before actuating the LF motor. At the end of the time interval measured by the second timer, a decision is made as to whether or not the sum of line feed pulses is greater than a predetermined value. When the decision result is NO, the first timer is started, and when the decision result is YES, the second timer is restarted. During the operation of the second timer, the predetermined period of cessation is provided. Thus, the overheating of the LF motor is prevented.
The quantity of heat generated by the LF motor in feeding lines in the line feed mode is greater than that in feeding the same number of lines in the form feed mode, because acceleration and deceleration are repeated every line feed cycle in the line feed mode. Therefore, according to the present invention, the number of line feed pulses N.sub.LFACC corresponding to the quantity of heat generated by the LF motor during acceleration and deceleration is added to the sum of line feed pulses to enhance the reliability of the control operation for preventing the overheating of the LF motor. In the above description, assuming t.sub.1 >t.sub.2, the following effect can be assured. Namely, it is piecemeal judged whether or not the quantity of heat generated by the LF motor becomes less than a prescribed one, for improving the throughput.
The above and other objects, features and advantages of the present invention will become more apparent from the following description taken in conjunction with the accompanying drawings.





BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of a control unit for controlling a printer;
FIGS. 2(A), 2(B) and 2(C) are flow charts explaining a mode of driving a LF motor according to the present invention; and
FIG. 3 is a time chart explaining a mode of driving a LF motor according to the present invention.





DESCRIPTION OF THE PREFERRED EMBODIMENT
Shown in FIG. 1 is a control unit for controlling a printer, comprising a central processing unit (hereinafter abbreviated to "CPU") 1 including counting and calculating means, a read-only memory (hereinafter abbreviated to "ROM") 2 for storing control programs and fixed data, a random access memory (hereinafter abbreviated to "RAM") 3 as a holding means for storing input data, etc., timers 4 (a first timer TM.sub.1 and a second timer TM.sub.2), an I/O driver 5 which processes data in accordance with instructions given thereto from the CPU 1, and a bus line 6.
The I/O driver 5 is connected to external devices including an interface circuit a, a print head b, a spacing motor c, and a LF motor d.
In operation, the CPU 1 receives print data such as character codes, and control data, namely, control codes including those representing a character pitch and a line pitch through the I/O driver 5 from the interface circuit a. Then, the CPU 1 stores the received data in the RAM 3. Upon the reception of all the data for one line, the CPU 1 actuates the spacing motor c through the I/O driver 5. Then, the CPU 1 reads the print data from the RAM 3, converts the print data into corresponding dot pattern signals, and then sends the dot pattern signals through the I/O driver 5 to the print head b. Then, the print head operates according to the dot pattern signals for printing at a predetermined point in time.
Upon the completion of printing operation for one line, the CPU 1 actuates the LF motor d through the I/O driver 5 for line feed. When a stepping motor is employed as the LF motor, timing of the angular stepping motion of the LF motor d is determined by the timer 4 under the control operation of the CPU 1.
A method of preventing the overheating of the LF motor d will be described specifically hereinafter with reference to flow charts shown in FIGS. 2(A), 2(B) and 2(C), and a time chart shown in FIG. 3.
Referring to FIG. 3, upon the connection of the printer to a power supply at a time P-ON (diagram (I)), the registers (an N.sub.LF register for storing the sum N.sub.LF of line feed pulses, N.sub.LFDV, N.sub.LF 1 and N.sub.LF 2 registers respectively for storing the numbers N.sub.LFDV, N.sub.LF 1 and N.sub.LF 2 of line feed pulses, an N.sub.LFACC register for storing the number N.sub.LFACC of line pulses representing the heat generated by the LF motor d during acceleration and deceleration, and an N.sub.TH register for storing a reference number N.sub.TH of line feed pulses for deciding a cessation time, and an intermittent drive flag register) are initialized, and the first timer TM.sub.1 is started.
At the end of a time interval t.sub.1 measured by the first timer TM.sub.1, a timer control routine shown in FIG. 2(A) is started. In STP 1, a decision is made whether or not the flag of the intermittent drive register is set. Since the flag is not set at this stage, the routine goes to STP 2. In STP 2, the value N.sub.LF 1 stored in the N.sub.LF 1 register is subtracted from the value N.sub.LF stored in the N.sub.LF resiter, and then the remainder (N.sub.LF -N.sub.LF 1) is stored in the N.sub.LF register. The number N.sub.LF 1 of line feed pulses stored in the N.sub.LF 1 register is an allowable number of line feed pulses within the time interval t.sub.1 measured by the first timer TM.sub.1 for which the LF motor d is allowed to operate continuously. The number N.sub.LF 2 of line feed pulses stored in the N.sub.LF 2 register is the allowable number of pulses within a time interval t.sub.2 measured by the second timer TM.sub.2 for which the LF motor d is allowed to operate continuously.
In STP 4, a decision based on a comparator is made as to whether the value stored in the N.sub.LF register is zero or less. When the decision result is NO (N.sub.LF .ltoreq.0) the routine goes to STP 5, in which the N.sub.LF register is reset, and then the intermittent drive flag register is reset in STP 6. In STP 7, the first timer TM.sub.1 is restarted. At the end of the predetermined time interval t.sub.1 measured by the first timer TM.sub.1, the routine returns to STP 1 to repeat the timer control routine.
When the LF motor d is required to operate during the repetition of the timer control routine, the following LF motor drive preparation routine shown in FIG. 2(B) is always executed before actuating the LF motor d.
Referring to FIG. 2(B), a decision is made in STP 11 as to whether or not the flag of the intermittent drive flag register is set. When the decision results in STP 11 is NO (RESET), the routine goes to STP 13. In STEP 13, the value N.sub.LFDV stored in the N.sub.LFDV register is added to the value N.sub.LF stored in the N.sub.LF register, and then the sum (N.sub.LF +N.sub.LFDV) is stored in the N.sub.LF register. The value N.sub.LFDV stored in the N.sub.LFDV register is the number of line feed pulses generated when line feed operation is implemented. Then, the routine goes to STP 14, where the value N.sub.LFACC stored in the N.sub.LFACC register is added to the value N.sub.LF stored in the N.sub.LF register, and then the sum (N.sub.LF +N.sub.LFACC) is stored in the N.sub.LF register. The value N.sub.LFACC is the number of line feed pulses representing the heat generated by the LF motor during acceleration and deceleration for line feed operation. The LF motor is actuated after STP 14 has been executed. The foregoing steps, STP 11 through STP 14 are repeated.
When the LF motor d is driven continuously, the value stored in the N.sub.LF register varies as shown in diagram (II) in FIG. 3. Then, as shown in diagram (I) in FIG. 3, the timer control routine shown in FIG. 2(A) is started at time T.sub.1 corresponding to the end of the time interval t.sub.1 measured by the first timer TM.sub.1. In this case, the timer control routine goes from STP 1 to STP 2, where the same subtraction is executed. By this time the value stored in the N.sub.LF register is increased to n.sub.1 .times.(N.sub.LFDV +N.sub.LFACC), where n.sub.1 is the frequency of line feed cycles in the predetermined time interval t.sub.1. Therefore, the sum N.sub.LF of line feed pulses is expressed by
N.sub.LF =n.sub.1 .times.(N.sub.LFDV +N.sub.LFACC)-N.sub.LF 1.
Suppose that the value stored in the N.sub.LF register has exceeded the value N.sub.LF 1 as shown in diagram (II) in FIG. 3, the decision result in STP 4 is YES (N.sub.LF <0), and hence the routine goes to STEP 8. In STP 8, the flag of the intermittent drive flag register is set as shown in diagram (III) in FIG. 3. Then, the second timer TM.sub.2 is started in STP 9. When the LF motor drive preparation routine shown in FIG. 2(B) is started before actuating the LF motor d, the routine goes from STP 11 to STP 12 to execute a t.sub.STP cessation routine shown in FIG. 2(C), because the intermittent drive flag has been set. In STP 21, the value N.sub.LFDV is compared by the comparator with a value N.sub.TH, namely, the number of line feed pulses determined through experiments. When N.sub.LFDV .ltoreq.N.sub.TH, STP 13 of the LF motor drive preparation routine is executed after a predetermined time interval t.sub.STP of cessation. When N.sub.LFDV <N.sub.TH, STP 13 of the LF motor drive preparation routine is executed after a time interval (N.sub.LFDV /N.sub.TH).times.t.sub.STP. After adding the number of line feed pulses in STP 13, the routine goes to STP 14, where the value N.sub.LFACC stored in the N.sub.LFACC register is added to the value N.sub.LF stored in the N.sub.LF register. Thereafter, the foregoing procedure is executed before actuating the LF motor d.
At time T.sub.2 corresponding to the end of the time interval t.sub.2 measured by the second timer TM.sub.2, the timer control routine shown in FIG. 2(A) is started again. Since the intermittent drive flag has previously been set, the routine goes from STP 1 to STP 3, where the subtraction of the line feed pulses is executed. At this time, the value stored in the N.sub.LF register is the sum of n.sub.1 .times.(N.sub.LFDV +N.sub.LFACC)-N.sub.LF 1 (the result of operation in STP 2 in the preceding control cycle) and n.sub.21 .times.(N.sub.LFDV +N.sub.LFACC), where n.sub.21 is the frequency of line feed operation in a time interval between the time T.sub.1 and the time T.sub.2. Therefore, the result of subtraction in STP 3, namely, the sum N.sub.LF of the number of line feed pulses obtained in STP 3, is
N.sub.LF =[n.sub.1 (N.sub.LFDV +N.sub.LFACC)-N.sub.LF 1]+[n.sub.21 (N.sub.LFDV +N.sub.LFACC)-N.sub.LF 2].
Suppose that the value stored in the N.sub.LF register has exceeded the value N.sub.LF 2 (diagram (II) in FIG. 3) before the time T.sub.2 (FIG. 3). Then, the timer control routine shown in FIG. 2(A) goes from STP 4 through STP 8 to STP 9, the intermittent drive flag remains set, and the second timer TM.sub.2 is started again. At time T.sub.3 corresponding to the end of the predetermined time interval t.sub.2 measured by the second timer TM.sub.2, the timer control routine shown in FIG. 2(A) is started again. In this case, the routine goes from STP 1 to STP 3, where the subtraction of the number of line feed pulses is executed. The result of operation in STP 3, namely, the sum N.sub.LF obtained in STP 3 is expressed by
N.sub.LF =[n.sub.1 (N.sub.LFDV +N.sub.LFACC)-N.sub.LF 1]+[n.sub.21 (N.sub.LFDV +N.sub.LFACC)-N.sub.LF 2]+[n.sub.22 (N.sub.LFDV +N.sub.LFACC)-N.sub.LF 2] (1)
where n.sub.22 is the frequency of line feed operation between the time T.sub.2 and time T.sub.3.
Suppose that the value stored in the N.sub.LF register is less than the value N.sub.LF 2 as shown in diagram (II) in FIG. 3. Then, the decision in STP 4 is N.sub.LF .ltoreq.0, and hence the routine goes through STP 5 to STP 6, where the N.sub.LF register and the intermittent drive flag register are reset, and then the first timer TM.sub.1 is started in STP 7.
In the exemplary mode of line feed operation explained hereinbefore with reference to FIG. 3, a condition: N.sub.LF .ltoreq.0 is obtained after repeating STP 3 of the timer control routine twice. If the condition: N.sub.LF .ltoreq.0 is obtained after repeating STP 3 i times, N.sub.LF is expressed by a generalized expression
N.sub.LF =[n.sub.1 (N.sub.LFDV +N.sub.LFACC)-N.sub.LF 1]+[n.sub.2k (N.sub.LFDV +N.sub.LFACC)-N.sub.LF 2] (2)
As apparent from the foregoing description, according to the present invention, the first timer is started upon the connection of the printer to the power supply, a decision is made at the end of a time interval measured by the first timer whether or not the sum of line feed pulses is greater than a predetermined first value, and when the sum of line feed pulses is not more than the first value, the first timer is started again. When the sum of line feed pulses is greater than the first value, the second timer is started, and a predetermined period of cessation is provided before actuating the LF motor during a time interval for which the second timer is set. At the end of the time interval measured by the second timer, a decision is made as to whether or not the sum of line feed pulses is greater than a predetermined second value, and when the sum of line feed pulses is not more than the second value, the first timer is started. When the sum of line feed pulses is greater than the second value, the second timer is started again. Thus, the predetermined period of cessation is provided by the cessation timer before actuating the LF motor during the time interval counted by the second timer. The LF motor driving period during the time interval counted by the second timer is greater than that during the time interval counted by the first timer, and the frequency of operation of the second timer is controlled according to the number of line feed pulses. Furthermore, since the number of line feed pulses includes the number of line feed pulses corresponding to the quantity of heat generated by the LF motor during acceleration and deceleration, the overheat of the LF motor can be prevented efficiently without entailing the excessive equipment of the printer and increase in the manufacturing cost of the printer.
Although the invention has been described in its preferred form with a certain degree of particularity, obviously many variations and changes are possible therein. It is therefore to be understood that the invention may be practiced otherwise than specifically described herein withiout departing from the scope and spirit thereof.
Claims
  • 1. An apparatus for preventing the overheating of a line feed motor, said apparatus comprising:
  • a first timer means for measuring a predetermined first time interval;
  • a second timer means for measuring a predetermined second time interval;
  • a counting and calculating means for counting a number of line feed pulses of said line feed motor during each of said first time interval and said second time interval, and for adding the thus counted number of line feed pulses to a previously updated sum of line feed pulses to obtain a new sum of line feed pulses at the end of each of said first time interval and said second time interval;
  • a first subtracting means for subtracting a first allowable line feed pulse number from said new sum of line feed pulses to obtain a newly updated sum of line feed pulses at the end of said first time interval;
  • a second subtracting means for subtracting a second allowable line feed pulse number from said new sum of line feed pulses to obtain said newly updated sum of line feed pulses at the end of said second time interval;
  • a control means for controlling activation of said line feed motor, for activating said first timer means, for determining whether said newly updated sum of line feed pulses at the end of said first time interval is a positive number, for reactivating said first time means when said newly updated sum of line feed pulses at the end of said first time interval is a nonpositive number, for activating said second timer means when said newly updated sum of line feed pulses at the end of said first time interval is a positive number, for determining whether said newly updated sum of line feed pulses at the end of said second time interval is a positive number, for activating said first timer means when said newly updated sum of line feed pulses at the end of said second time interval is a nonpositive number, and for reactivating said second timer means when said newly update sum at the end of said second time interval is a positive number;
  • wherein a cessation period for deactivation of said line feed motor is provided during a portion of said second time interval, whereby said cessation period allows for heat dissipation of said line feed motor.
  • 2. A method of preventing the overheating of a line feed motor, said method comprising:
  • (a) setting a sum of line feed pulses to zero;
  • (b) activating a first timer for measuring a first time interval;
  • (c) counting a number of line feed pulses during said first time interval to obtain a first sum of line feed pulses;
  • (d) subtracting a first allowable number of line feed pulses to obtain a first difference at the end of said first time interval;
  • (e) repeating steps (a) through (d) when said first difference is a nonpositive number;
  • (f) activating a second timer when said first difference is a positive number, said second timer for measuring a second time interval, said second time interval having a cessation period in which said line feed motor is deactivated to allow for heat dissipation of said line feed motor;
  • (g) counting a number of line feed pulses during said second time interval to obtain a second sum of line feed pulses;
  • (h) adding said second sum of line feed pulses to said first sum of line feed pulses to obtain a new first sum of line feed pulses;
  • (i) subtracting a second allowable number of line feed pulses from said new first sum of line feed pulses to obtain a second difference at the end of said second time interval;
  • (j) repeating steps (a) through (i) when said second difference is a nonpositive number; and
  • (k) reactivating said second timer and repeating steps (g) through (i) when said second difference is a positive number.
Priority Claims (1)
Number Date Country Kind
62-183732 Jul 1987 JPX
US Referenced Citations (8)
Number Name Date Kind
3860861 Gucker Jan 1975
4524368 Inui et al. Jun 1985
4541747 Imaizumi et al. Sep 1985
4611155 Kurakake Sep 1986
4638329 Nakayama et al. Jan 1987
4649401 Kojima et al. Mar 1987
4663734 Berry May 1987
4688051 Kawakami et al. Aug 1987