BACKGROUND OF THE INVENTION
1. Field of the Invention
[0001] The present invention relates to a control apparatus for a stepping motor used for
driving a chemical pump, more particularly, a control apparatus which is capable of
controlling a chemical pump so that a driving torque of the chemical pump changes
in one cycle.
2. Description of the Related Art
[0002] A chemical pump for injecting chemical to a human body is required to drive a chemical
injecting pump so that the chemical is allowed to be injected to a human body as a
constant current.
[0003] The inventors of the present invention know that a chemical pump normally utilizes
a stepping motor and there has been proposed a control apparatus for controlling a
stepping motor used for driving a chemical pump.
[0004] Referring to Fig. 1, a known control apparatus for controlling the stepping motor
used as the chemical pump will be described in the following part.
[0005] The known control apparatus for controlling the stepping motor used for driving a
chemical pump is so arranged that the stepping motor 21 is controlled in a manner
that the chemical pump (not shown) may be driven in a step-wise manner.
[0006] A rotation of the stepping motor 21 is sensed by a photo interrupter 22 which is
connected with a central processing unit (CPU) 23. The CPU 23 determines whether or
not the stepping motor 21 loses its synchronism in accordance with a signal sensed
by the photo interrupter 22. In addition, the CPU 23 controls the driving current
for the stepping motor 21.
[0007] Fig. 2 is a plot showing a characteristic of the stepping motor 21. The plot indicates
that the torque generated by the stepping motor 21 is proportional to the driving
current (motor current).
[0008] That is, as the driving current becomes larger, the power consumption becomes larger.
Hence, as considering the torque and the power consumption, it is necessary to utilize
the CPU 23 in a manner that the stepping motor 21 is operated according to the steps
of processes shown in Fig. 3.
[0009] As shown in Fig. 3, the stepping motor 21 is started with a relatively high driving
current (step T1). Then, a number of a counter n is reset to "0" (step T2). The number
of the counter n indicates how often the driving current is changed. At a next step,
it is checked whether or not the stepping motor 21 loses its synchronism depending
on the signal sent from the photo interrupter 21 (step T3).
[0010] In a case that a result of the above step T3 is yes, then, the driving current is
a bit increased (step T4) and it is determined whether or not the increased current
is larger than a predetermined value (step T5). In a case that a result of the above
step T5 is no, then the process returns to the step T3. On the contrary, in a case
that a result of the above step T5 is yes, then the error processing is executed.
[0011] At the step T3, in a case that the stepping motor 21 does not lose its synchronism,
then the number of the counter n is incremented (step T6) and it is determined whether
or not the value of the number of the counter n is equal to or larger than a predetermined
value N (step T7). Depending on the determined result at the step T7, in a case that
the value of the number of the counter n is not equal to or larger than a predetermined
value N, then the operation of the stepping motor 21 is continued. On the other hand,
in a case that the value of the number of the counter n is less than the predetermined
value N, then the motor current is bit decreased (step T8), and the process is returned
to the above-mentioned step T3 for further operation.
[0012] Referring to Fig. 4, the known control apparatus for the stepping motor actuates
the stepping motor 21 with a relatively large driving current. Then, the driving current
is gradually reduced N times. It results in keeping the driving current of the stepping
motor 21 substantially constant. In a case that the stepping motor 21 loses its synchronism,
the driving current is a bit increased so as to amend the loss of synchronism of the
stepping motor 21.
[0013] The known control apparatus for the stepping motor used for driving the chemical
pump, however, has a shortcoming that the loss of the driving current is large, because
the stepping motor 21 is driven with such a substantially constant driving current
so as to keep the driving torque in maximum in order to prevent the loss of synchronism
of the stepping motor.
SUMMARY OF THE INVENTION
[0014] It is therefore a first object of the present invention to provide an apparatus for
controlling a stepping motor used for driving a chemical pump and capable of changing
a driving current of the stepping motor in accordance with a change of a driving torque
in a case that driving torque of the chemical pump is fluctuated within one cycle.
[0015] It is a second object of the present invention to provide a method of controlling
a stepping motor used for driving a chemical pump so that a driving current of the
stepping motor is changed in accordance with a change of a driving torque in a case
that driving torque of the chemical pump is fluctuated within one cycle.
[0016] The first object of the present invention can be achieved by an apparatus for controlling
a stepping motor used for driving a chemical pump includes a unit for storing a minimum
current value required for driving the chemical pump at each of divisional intervals
of one cycle of the chemical pump, a unit for sensing an angular location of the stepping
motor corresponding to each of the intervals of the chemical pump, and a unit connected
to the sensing unit for controlling the stepping motor in accordance with the angular
location of the stepping motor sensed by the sensing unit, the controlling unit being
so arranged that it uses the minimum current value required for driving the chemical
pump at an angular location following the angular location sensed by the sensing unit.
[0017] Preferably, the storing unit is a random access memory.
[0018] More preferably, the sensing unit is two photo interrupters, one of the photo interrupters
being capable of sensing a rotation of the stepping motor and the other one of the
photo interrupters being capable of sensing a driven portion of the stepping motor.
[0019] Further preferably, the control unit is a central processing unit.
[0020] The divisional intervals are preferably composed of five areas, each of the five
areas having a rotating angle of 72°.
[0021] The apparatus further includes a read-only memory for storing a program for executing
a control of the stepping motor by the controlling unit.
[0022] In operation, the storage unit stores a minimum current value for driving the chemical
pump at each of the divisional intervals of one cycle. The sensing unit serves to
sense an angular location of the stepping motor corresponding to each cycle of the
chemical pump. The control unit serves to control the stepping motor with a minimum
current value required for driving the chemical pump at the angular location following
the location sensed by the sensing unit. The driving current of the stepping motor
may change depending on the driving torque of the chemical pump being fluctuated in
one cycle. It results in reducing the driving current at any proper time for lowering
the power consumption, thereby allowing the present control apparatus to efficiently
control the stepping motor and drive the chemical pump.
[0023] The second object of the present invention can be achieved by a method of controlling
a stepping motor used for driving a chemical pump includes a step of setting a plurality
of initial values of a driving current with respect to each of divisional intervals
of one cycle of the chemical pump, a step of setting a number of a count n(r) for
each of the divisional intervals to be "0", the number of the count n(r) indicating
how often the driving current being changed, with assuming an area number r having
1 to 5, a step of reading a current angular location of the stepping motor through
an effect of a photo interrupter so as to set an area number r, a step of setting
an initial value I(r) for a driving current corresponding to the area number r so
as to set an actual current I, a step of detecting a rotation of the stepping motor
by the photo interrupter so as to check whether the stepping motor loses a synchronism
thereof, a step of increasing a bit of the driving current I(r) in a case that a result
of the above check indicates that the stepping motor loses its synchronism so as to
set a increased driving current I' (r), a step of incrementing the number of the count
n(r) by one such that the

in a case that the stepping motor does not lose a synchronism thereof, a step of
determining whether the value of the count n(r) is equal to a predetermined value
N, and a step of reducing the driving current I(r) of the stepping motor in a case
that the value of the count n(r) is less than the predetermined value N so as to set
a reduced driving current I'' (r).
[0024] Further objects and advantages of the present invention will be apparent from the
following description of the preferred embodiment of the invention as illustrated
in the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0025]
Fig. 1 is a schematic view showing arrangement of a control apparatus for a stepping
motor used for driving a chemical pump according to a related art of the invention;
Fig. 2 is a plot showing a characteristic of the stepping motor used for a chemical
pump shown in Fig. 1;
Fig. 3 is a flowchart showing operation of the control apparatus shown in Fig. 1;
Fig. 4 is an explanatory plot showing the driving current arranged by the control
apparatus shown in Fig. 1;
Fig. 5 is a schematic view showing a control apparatus for a stepping motor used for
driving a chemical pump according to an embodiment of the invention;
Fig. 6 is an explanatory plot showing driving current arranged by the control apparatus
shown in Fig. 5; and
Fig. 7 is a flowchart showing operation of the control apparatus shown in Fig. 5.
DESCRIPTION OF THE PREFERRED EMBODIMENT
[0026] Referring to the accompanying drawings, an embodiment of an apparatus for controlling
a stepping motor used for driving a chemical pump according to the present invention
will be described in details in the following sections.
[0027] Fig. 5 is a schematic view showing an arrangement of an embodiment of the control
apparatus according to the present invention.
[0028] As shown in Fig. 5, the control apparatus includes a stepping motor 11, a driving
portion 12 of the stepping motor 11, two photo interrupters 13, 14 and a control unit
15. Two photo interrupters 13, 14 are located adjacent to the driven portion 12 of
the stepping motor 11 (meaning that part of a chemical pump).
[0029] A rotation of the stepping motor 11 is allowed to be sensed from the driven portion
12 by the photo interrupter 13.
[0030] The angular location of the stepping motor 11 can be obtained by sensing the location
of the driven portion 12 with the photo interrupter 14.
[0031] According to this embodiment, the stepping motor 11 is arranged to rotate once for
one operating period of the chemical pump in the following parts for better understanding
of the operation of the apparatus of the present invention.
[0032] That is, one rotation of the stepping motor 11 is equivalent to one operating period
of the chemical pump. In other words, the operation of the chemical pump at each one
cycle is allowed to be sensed by the rotation of the stepping motor 11.
[0033] Depending on the fluctuation of the driving torque of the chemical pump in one cycle,
one rotation of the stepping motor 11 is divided into five areas I to V as shown in
Fig. 6.
[0034] The control unit 15 includes a random access memory 16 for storing an initial current
value required for driving the stepping motor 11 at each of the areas I to V without
fail. The control unit 15 also includes a central processing unit 17 for controlling
the driving current so as to prevent the loss of synchronism of the stepping motor
11. The control of the driving current is executed on the basis of the initial current
value required for driving the stepping motor 11 at the area corresponding to the
rotating location sensed by the photo interrupter 13.
[0035] The control unit 15 further includes a read-only memory 18 and the other active elements
(not shown). The read-only memory 18 saves a program which is executed in accordance
with the steps of the processes shown in Fig. 7.
[0036] Referring to Figs. 6 and 7, the operation of the control apparatus for the stepping
motor, featuring the operation of the control unit 15 will be described.
[0037] Initial values I(1), I(2), I(3), I(4) and I(5) of the driving current are set for
the areas I to V (step S1). A number of a count n(r) for each area is set to "0".
The number of the count n(r) indicates how often the driving current is changed. Herein,
r is assumed to have 1 to 5 (step S2). For r=1 for the area I, r=2 for the area II,
r=3 for the area III, r=4 for the area IV and r=5 for the area V, respectively, are
set.
[0038] A current angular location of the stepping motor 11, that is, the current driven
portion 12 is read through the effect of the photo interrupter 14 and is set as an
area number r (step S3). An initial value I(r) for a driving current corresponding
to an area number r is set as an actual driving current I (step S4).
[0039] Then, the rotation of the stepping motor 11 is sensed by the photo interrupter 13
so as to check whether or not the stepping motor 11 loses its synchronism (step S5).
[0040] In a case that a result of the above check at the step S5 indicates that the stepping
motor 11 loses its synchronism, the operation goes to a step S6 at which the driving
current I(r) is a bit increased and is set as the driving current I' (r).
[0041] In a case that the increased driving current I' (r) is not larger than a predetermined
value, the operation returns to the step S3 (step S7). On the other hand, in a case
that the increased driving current I' (r) is larger than the predetermined value,
the error processing is executed (step S8).
[0042] In a case that it is checked that the stepping motor 11 does not lose its synchronism
at the step S5, then the number of the count n(r) is incremented by one such that
n(r) = n(r)+1 is established (step S9). Then, it is determined whether or not the
value of the count n(r) is equal to or larger than a predetermined value N (step S10).
[0043] In a case that the value of the count n(r) is less than the predetermined value N
at the step S10, then the driving current I(r) of the stepping motor 11 is a bit reduced
and is set as the driving current I'' (r), and the operation returns to the step S3
(step S11).
[0044] In a case that the value of the number of the count n(r) becomes larger than the
predetermined value N, the operation directly returns from the step S10 to the step
S3, because it is not necessary to reduce the driving current I(r).
[0045] In succession, at the step S3, the area of the driven portion 12 following the proceeding
area is read by the photo interrupter 14. Then, the foregoing operation is repeated
for controlling the stepping motor 11.
[0046] According to the present embodiment, as shown in Fig. 6, the torque 19 required for
the operation of the chemical pump becomes maximum in the area II where the rotating
location of the stepping motor 11 ranges from 72° to 144°. The torque 19 required
therefore is reduced in the sequence of the areas III, IV and V. The area III has
the rotating location of the stepping motor 11 ranging from 144° to 216°, the area
IV has the rotating location of the stepping motor 11 ranging from 216° to 288°, and
the area V has the rotating location of the stepping motor 11 ranging from 288° to
360°.
[0047] Fig. 6 is a plot showing a characteristic of the driving current 20 arranged by the
control apparatus for the stepping motor according to the present embodiment. The
driving current 20 has a specific value to each of the areas I to V.
[0048] The driving current 20 is controlled so that it becomes minimum at each of the areas
I to V. The minimum value is represented as an initial average value changed in a
step-wise manner.
[0049] A driving current 21 represents a driving current arranged by the above-mentioned
known control apparatus for a comparison, and the driving current 21 is equal to a
maximum value in the area II having the rotating location ranging from 72° to 144°
and is kept constant. As mentioned above, in the area II, the maximum torque is required
for the operation of the chemical pump.
[0050] The portion shown by oblique lines of Fig. 6 indicates the difference between the
driving current 20 arranged by the control apparatus of this embodiment and the driving
current 21 arranged by the above-mentioned known control apparatus. It will be easily
understood from Fig. 6 that the driving current 20 is smaller than the driving current
21.
[0051] This portion is referred to as a driving current difference 22. As the driving current
difference 22 becomes larger, the driving current 20 is reduced as compared with the
driving current 21 of the above-mentioned known control apparatus, resulting in greatly
reducing the power consumption, thereby enhancing the efficiency of the stepping motor.
[0052] Many widely different embodiments of the present invention may be constructed without
departing from the spirit and scope of the present invention. It should be understood
that the present invention is not limited to the specific embodiments described in
the specification, except as defined in the appended claims.
1. An apparatus for controlling a stepping motor (11) used for driving a chemical pump,
characterized in that said apparatus comprising:
means (16) for storing a minimum current value required for driving said chemical
pump at each of divisional intervals of one cycle of said chemical pump;
means (13, 14) for sensing an angular location of said stepping motor (11) corresponding
to each of said intervals of said chemical pump; and
means (17) connected to said sensing means (13, 14) for controlling said stepping
motor (11) in accordance with said angular location of said stepping motor (11) sensed
by said sensing means (13, 14), said controlling means (17) being so arranged that
said control means uses said minimum current value required for driving said chemical
pump at an angular location following said angular location sensed by said sensing
means (13, 14).
2. An apparatus according to claim 1, wherein said storing means (16) is a random access
memory.
3. An apparatus according to claim 1, wherein said sensing means (13, 14) is two photo
interrupters, one of said photo interrupters (13) being capable of sensing a rotation
of said stepping motor and the other one of said photo interrupters (14) being capable
of sensing a driven portion of said stepping motor.
4. An apparatus according to claim 1, wherein said control means (17) is a central processing
unit.
5. An apparatus according to claim 1, wherein said divisional intervals are composed
of five areas, each of said five areas having a rotating angle of 72°.
6. An apparatus according to claim 1, wherein said apparatus further comprises a read-only
memory (18) for storing a program for executing a control of said stepping motor (11)
by said controlling means (17).
7. A method of controlling a stepping motor used for driving a chemical pump, said method
comprising steps of:
setting a plurality of initial values of a driving current with respect to each
of divisional intervals of one cycle of said chemical pump (S1);
setting a number of a count n(r) for each of said divisional intervals to be "0",
said number of said count n(r) indicating how often said driving current being changed,
with assuming an area number r having 1 to 5 (S2);
reading a current angular location of said stepping motor through an effect of
a photo interrupter so as to set said area number r (S3);
setting an initial value I(r) for a driving current corresponding to an area number
r so as to set an actual current I (S4);
detecting a rotation of said stepping motor by said photo interrupter so as to
check whether said stepping motor loses a synchronism thereof (S5);
increasing a bit of said driving current I(r) in a case that a result of the above
check indicates that the stepping motor loses its synchronism so as to set a increased
driving current I' (r) (S6);
incrementing said number of said count n(r) by one such that said n(r)=n(r)+1 in
a case that said stepping motor does not lose a synchronism thereof (S7);
determining whether said value of said count n(r) is equal to a predetermined value
N (S8); and
reducing said driving current I(r) of said stepping motor in a case that said value
of said count n(r) is less than said predetermined value N so as to set a reduced
driving current I'' (r) (S9).