Method for detecting stalling of an electric stepper motor, an electric stepper motor and a heating, ventilation and/or air conditioning system with an electric stepper motor

10461676 ยท 2019-10-29

Assignee

Inventors

Cpc classification

International classification

Abstract

A Method for detecting stalling of an electric stepper motor (18), with the following steps is shown: a) samples of the voltage at a coil of the stepper motor (18) are taken continuously or in regular intervals, b) a deviation value is determined corresponding to the deviation between the measured voltages of the two samples, and c) the deviation value is used to determine whether the electric motor (18) is stalling. Further, a stepper motor and a heating, ventilation and/or air conditioning system is shown.

Claims

1. A method for detecting stalling of an electric stepper motor, comprising: continuously or periodically obtaining a plurality of samples of a voltage at a coil of the stepper motor; determining a deviation value corresponding to a deviation between measured voltages of two of the plurality of obtained samples; and determining, using the deviation value whether the electric motor is stalling, wherein: each sample of the plurality of samples is an individual raw voltage value obtained from the coil of the stepper motor at a predefined time, and a start sample of the plurality of samples is a sample obtained after a start of a control phase and after a predetermined time interval has lapsed.

2. The method according to claim 1, wherein: the start sample is taken at the beginning of the control phase, which corresponds to one step of the stepper motor, an end sample is taken at the end of the control phase, and the deviation value is determined using the start sample and the end sample.

3. The method according to claim 2, wherein the deviation value is a ratio between a voltage of the start sample and a voltage of the end sample.

4. The method according to claim 2, wherein the deviation value is compared to at least one threshold and if the deviation value exceeds the threshold or one of the thresholds, stalling of the stepper motor is detected.

5. The method according to claim 4, wherein stalling is detected if the deviation value is smaller than a lower threshold or larger than an upper threshold.

6. A method for detecting stalling of an electric stepper motor comprising: continuously or periodically obtaining a plurality of samples of a voltage at a coil of the stepper motor; determining a deviation value corresponding to a deviation between measured voltages of two of the plurality of obtained samples; determining, using the deviation value whether the electric motor is stalling; obtaining a first sample and defining a confirmation window of a predefined length; determining the deviation values for all samples within the confirmation window; comparing the determined deviations values with a threshold; and detecting stalling when the number of determined deviation values exceeding the threshold is greater than a predefined amount, wherein the first sample defines a beginning of the confirmation window.

7. The method according to claim 6, wherein the length of the confirmation window is given as the number of samples or as the number of deviation values within the confirmation window.

8. The method according to claim 6, wherein a moved confirmation window is defined, if the deviation value of the first sample and the following second sample does not exceed the threshold, wherein the second sample defines the beginning of the moved confirmation window.

9. The method according to claim 6, wherein the samples are consecutive.

10. The method according to claim 6, wherein the deviation value is the difference of the voltages of the two samples.

11. The method according to claim 6, wherein the value of the threshold depends on the voltage of the earlier one of the two samples used for the deviation value, wherein the value of the threshold rises with the rising voltage of the earlier sample.

12. The method according to claim 6, wherein the first sample is taken a predefined time after the start of the control phase.

13. The method according to claim 1, wherein the sampling rate is 500 s.

14. An electric stepper motor comprising a control unit configured to perform the method according to claim 1.

15. A heating, ventilation and/or air conditioning system for a vehicle, comprising: at least one flap to control an air stream; and a stepper motor connected to the flap such that the stepper motor is configured to move the flap, wherein the stepper motor comprises a control unit configured to perform the method according to claim 1.

Description

(1) Further features and advantages of the invention will be apparent from the following description of the embodiments and the attached drawings to which reference is made and in which:

(2) FIG. 1 shows schematically a part of a heating, ventilation and/or air conditioning system according to the invention,

(3) FIG. 2 shows a diagram depicting the voltage at one coil of the stepper motor over time for three different control phases,

(4) FIG. 3 shows a diagram showing the voltage over time for a single control phase that exhibits stalling,

(5) FIG. 4 shows a plot of the ratio of the voltage at the beginning of a control phase and at the end of the control phase for about 90 control phases, and

(6) FIG. 5 shows a diagram of the voltage over time for a control phase exhibiting stalling.

(7) FIG. 1 shows part of a heating, ventilation and/or air conditioning system (HVAC system) 10 for a vehicle comprising a main air duct 12 that splits up into two distribution air ducts 14.

(8) The distribution air ducts 14 lead into a passenger cabin of the vehicle at different locations.

(9) A rotatable flap 16 is located within each of the distribution air ducts 14 to open or close the corresponding duct 14.

(10) Each of the flaps 16 is connected with an electric stepper motor 18 that is able to create the necessary torque to rotate the flap 16.

(11) In the shown embodiment, the flaps 16 are connected to their corresponding electric stepper motor 18 via drive shafts 20. However, other means for connecting the flap 16 with the electric stepper motor are possible as well, like guide rails.

(12) The stepper motors 18 each comprise a rotor/stator assembly 22 with a plurality of coils (not shown) that provide the torque necessary to rotate the respective drive shaft 20 and flap 16.

(13) Further, the electric stepper motors 18 comprise a control unit 24 that controls the rotor/stator assembly 22, especially by controlling the currents and voltages applied to the coils.

(14) Both electric stepper motors 18, more precisely their control units 24, are electrically connected to a HVAC controller 26 that controls the HVAC system 10.

(15) The HVAC controller 26 can control the air stream through the distribution air ducts 14 of the HVAC system 10 by opening or closing specific distribution air ducts 14. For this purpose, signals to the stepper motors 18 to rotate the corresponding flap 16 are issued from the HVAC controller 26 to the stepper motors 18.

(16) For a precise control of the air stream, the control unit 24 or the HVAC controller 26 performs a calibration of the stepper motors 18 regularly. During calibration, the movement range of the flaps 16 is detected, meaning that the flaps 16 are moved from one of their end positions to the other end position. The end positions are identified by determining the position at which the electric stepper motor 18 starts to stall.

(17) In order to detect stalling of the electric stepper motor 18 the control unit 24 measures the voltage at a coil of its stepper motor 18 continuously or in regular intervals.

(18) A plot of the measured voltages over time during three control phases 30 is shown in FIG. 2. Each control phase 30 corresponds to one step of the stepper motor 18, i.e. during each control phase 30 the voltage at the coil is raised in order to rotate the rotor of the rotor/stator assembly 22 by one step.

(19) During a normal step and if the flaps 16 can move freely, the voltage decreases continuously over one control phase 30 as can be seen in the first and second control phase 30 shown in FIG. 2.

(20) The control phase 30 plotted on the right hand side of FIG. 2 depicts the situation if the flap 16 cannot move freely, for example if the flap reaches its end position. In this case, the stepper motor 18 is stalling and the voltage does not fall continuously but it rises before the control phase 30 ends.

(21) This difference in shape is detected by the control unit 24 and can be used to detect stalling of the stepper motor 18 and to precisely determine the end positions of the stepper motor 18.

(22) In the situation shown in FIG. 3, the voltage is measured in regular intervals, i.e. samples of the voltage are taken in regular intervals. In the shown situation, 16 samples V1-V16 are taken during one control phase 30. However, it is possible that a different amount of samples are taken during one control phase 30, for example 32 samples during one control phase 30.

(23) The samples taken are numbered with respect to the control phase 30, in the situation of FIG. 3 the samples are labeled V1 to V16.

(24) The control unit 24 determines a deviation value D.sub.S/E calculated as the ratio between the voltage of a sample taken at the beginning of the control phase 30, the start sample 32, and the voltage of a sample taken at the end of control phase 30, the end sample 34.

(25) In the shown embodiment of FIG. 3, the start sample 32 corresponds to the second sample V2 taken in the control phase 30 and the end sample 34 corresponds to the last and thus 16.sup.th sample V16 taken in the control phase 30. Therefore, the deviation value D.sub.S/E in this case calculates as V2/V16.

(26) Then, the deviation value D.sub.S/E is compared by the control unit 24 to an upper threshold T.sub.U and a lower threshold T.sub.L. If the deviation value D.sub.S/E lies between the upper threshold T.sub.U and the lower threshold T.sub.L, i.e. the allowed range, the control unit 24 regards the deviation value D.sub.S/E as normal and concludes that the stepper motor 18 is not stalling.

(27) If, however, the deviation value D.sub.S/E exceeds one of the thresholds T.sub.U or T.sub.L, i.e. is above the upper threshold T.sub.U or below the lower threshold T.sub.L, the control unit 24 regards the stepper motor 18 as stalled.

(28) In the diagram shown in FIG. 4, the deviation values D.sub.S/E are shown for about 90 control phases 30. Further, the upper threshold T.sub.U and the lower threshold T.sub.L are indicated by solid lines.

(29) In the shown case, the upper threshold T.sub.U is set to 2.4 and the lower threshold T.sub.L is set to 1.7.

(30) In FIG. 4, the stepper motor 18 runs normally for about 60 control phases 30. Then, the deviation value D.sub.S/E falls until it exceeds the lower threshold T.sub.L at the 70th control phase 30. At this point, the stepper motor 18 has stalled and the deviation values D.sub.S/E of the following control phases 30 are highly irregular and mostly outside the allowed range.

(31) Thus, after the 70th control phase 30 the control unit 24 detects that the stepper motor 18 has stalled and it is thus able to precisely determine the end position of the stepper motor 18.

(32) The control unit 24 can stop the calibration process after the 70th control phase 30. The following deviation values D.sub.S/E are only shown for illustrative purposes.

(33) However, the control unit 24 does not rely solely on the deviation value D.sub.S/E of the start sample 32 and the end sample 34, i.e. a first criterion, but uses also a second criterion that will be explained below with respect to FIG. 5.

(34) FIG. 5 shows the course of the voltage for a part of a control phase 30. The control unit 24 takes samples of the voltage in regular intervals as has explained above. However, samples taken within a predefined time interval t.sub.delay after the beginning of a control phase 30 are neglected. The sampling rate is for example 500 s.

(35) For the second criteria, a deviation value D.sub.Diff is determined for consecutive samples. For example, the deviation value D.sub.Diff is calculated as the difference of the voltages of two consecutive samples, preferably as the voltage of the latter sample minus the voltage of the earlier sample.

(36) Further, a confirmation window 36 of a predefined length beginning with a first sample 38 is set. In the case shown in FIG. 5, the confirmation window 36 has the length of five deviation values D.sub.Diff, i.e. six samples. The length of the confirmation window 36 can also be defined as a period of time.

(37) The confirmation window 36 is a moving window meaning that each sample can be the first sample 38 of the confirmation window 36, if certain conditions are met.

(38) Stalling is detected if a predefined amount of deviation values D.sub.off (three in the case shown) out of the deviation values D.sub.off within the confirmation window 36 exceed a threshold T.sub.Diff.

(39) In the shown case, the threshold T.sub.Diff is an upper bound and the threshold T.sub.Diff is illustrated in FIG. 5 as the diamond shaped error bars.

(40) If the deviation value D.sub.Diff is smaller than the threshold T.sub.Diff, i.e. if the voltage of the latter sample is below the voltage of the earlier sample or within the range illustrated by the diamond shaped error bars, the latter sample is within the allowed range and it is regarded as normal.

(41) If, however, the deviation value D.sub.Diff lies above the threshold T.sub.Diff, i.e. if the voltage of the latter sample lies higher and above the diamond shaped error bar of the earlier sample, the latter sample is regarded as irregular.

(42) In this case, the confirmation window 36 is moved and the irregular sample becomes the first sample 38 of the moved confirmation window 36.

(43) In FIG. 5, the earliest sample S1 is the initial sample regarded after the time interval t.sub.delay after the beginning of the control phase 30 has lapsed.

(44) The next sample S2 is regarded as a normal sample because the voltage of sample S2 lies below the voltage of sample S1.

(45) Regarding the next sample S3, even though the voltage of sample S3 is higher than the voltage of sample S2, the deviation value D.sub.Diff of sample S2 and sample S3 lies below the threshold T.sub.Diff, thus sample S3 is regarded as normal.

(46) This can be seen graphically in FIG. 5 because sample S3 lies within the diamond shaped error bar of sample S2.

(47) However, the deviation value of the sample S3 and the next sample S4 lies above the threshold T.sub.Diff, thus it exceeds the threshold T.sub.Diff. This can be seen in FIG. 5 as sample S3 does not lie within the diamond shaped error bar of sample S3. Therefore, the deviation value D.sub.Diff of the samples S3 and S4 is regarded as irregular and the confirmation window 36 is moved so that sample S3 becomes the first sample 38 of the confirmation window 36.

(48) In the next step, the following four deviation values D.sub.Diff of the first sample 38, sample S3 in this case, and the following five samples S4-S8 are determined and it is evaluated if any of these deviation values D.sub.Diff exceeds the threshold T.sub.Diff.

(49) In FIG. 5, the deviation values D.sub.Diff of the samples S4 and S5, S5 and S6, S6 and S7, as well as S7 and S8 lie within the confirmation window 36 and are evaluated in chronological order.

(50) Both deviation values D.sub.Diff of the samples S4 and S5 and of the samples S5 and S6 exceed the threshold T.sub.Diff. This can be seen graphically, because the samples S5 and S6 lie outside of the diamond shaped error bars of the samples S4 and S5, respectively.

(51) Thus, the first three deviation values D.sub.Diff of the five deviation values D.sub.Diff of the confirmation window 36 exceed the threshold T.sub.Diff. Therefore, the control unit 24 senses that the stepper motor 18 has stalled.

(52) As seen in the example of FIG. 5, it is not necessary that all the deviation values D.sub.Diff in the confirmation window 36 are actually calculated, because stalling can already be determined as soon as three deviation values D.sub.Diff within the same confirmation window 36 exceed the threshold T.sub.Diff.

(53) The same concept applies if sufficient deviation values D.sub.Diff, three in the shown case, lie within the allowed range. In this case, the necessary amount of deviation values D.sub.Diff to exceed the predefined amount cannot be reached. Thus, the control unit 24 can regard the stepper motor as not stalled even though it has not evaluated all deviation values D.sub.Diff of the confirmation window 36.

(54) In this case, the confirmation window 36 is moved and the last evaluated sample of the confirmation window 36 becomes the first sample 38 of the moved confirmation window 36.

(55) In the case shown in FIG. 5, all samples that have been taken and therefore all deviation values D.sub.Diff are used for the evaluation.

(56) However, it is also possible that more samples are taken than the number of samples actually used. For example, it is possible that only the deviation values between every other sample is evaluated and used to detect stalling. In any case, the deviation values D.sub.Diff are calculated on the basis of two samples that are adjacent in time.

(57) In other words, out of the samples picked for the evaluation, regardless if every sample, every other sample, etc. is picked, deviation values D.sub.Diff are only calculated for samples that are consecutive in time.

(58) It is also possible that the value of the threshold T.sub.Diff depends on the voltage of the sample taken earlier of the two samples. For example, the threshold for the deviation value D.sub.Diff of the samples S3 and S4 may be smaller than the threshold value T.sub.Diff for the deviation value D.sub.Diff between the samples S4 and S5, because the voltage of sample S3 is lower than the voltage of sample S4.

(59) This case has been illustrated in FIG. 5 by two triangular error bars for the samples S3 and S4.

(60) In the shown electric stepper motors 18 with control units 24 and in the HVAC system 10, both criteria are used simultaneously, meaning that if either one of the criteria is met, i.e. if a stalling stepper motor 18 is detected either way, the control unit 24 regards the stepper motor 18 as stalled.

(61) However, it is also possible that only one of the criteria is applied or that both criteria have to be fulfilled, before the stepper motor 18 is regarded as stalled.