Anti-pinch circuit device for an apparatus for automatic movement of sliding windows in a motor vehicle, and corresponding method
10851576 ยท 2020-12-01
Assignee
Inventors
Cpc classification
E05Y2400/44
FIXED CONSTRUCTIONS
H02H7/0851
ELECTRICITY
E05F15/41
FIXED CONSTRUCTIONS
International classification
E05F15/41
FIXED CONSTRUCTIONS
Abstract
An apparatus for automatic movement of sliding windows in a motor vehicle, comprising a d.c. electric motor that moves a window (F) so that it slides along guides, including an electronic control module for controlling the d.c. electric motor, in particular a microprocessor. The electronic control module measures a current (I) of the motor and a position (X) of the window (F), and drives reversal of operation of the electric motor if it is verified that the current (I) is higher than a threshold current (I.sub.th) and the position (X) of the window (F) falls within a given zone (APZ) of a path (P) of movement of the window (F). The anti-pinch circuit device measures a back electromotive force (E; E.sub.m) of the motor, and the electronic control module calculates the position of the window (F) as a function of the back electromotive force (E; E.sub.m) of the motor.
Claims
1. An anti-pinch circuit device for an apparatus for automatic movement of sliding windows in a motor vehicle comprising a d.c. electric motor that moves a window (F) so that it slides along guides, said device comprising an electronic control module for controlling said d.c. electric motor, in particular a microprocessor, said electronic control module acting to measure a current (I) of said motor and a position (X) of said window (F), said control module drives reversal of operation of the electric motor if it is verified that said current (I) is higher than a threshold current (I.sub.th) and said position (X) of said window (F) falls within a given zone (APZ) of a path (P) of movement of the window, wherein said anti-pinch circuit device measures a back electromotive force (E; E.sub.m) of the motor, obtaining (140) a value of said back electromotive force (E; Em), and the electronic control module calculates the position of the window (F) as a function of said measured value of said back electromotive force (E; E.sub.m) of the motor, wherein said electronic control module is configured to: read a starting position of the window (F); start a timer; read a value of back electromotive force (E; EMF.sub.UP, EMF.sub.DOWN); calculate a mean value (E.sub.m) of the back electromotive force; verify the value of said current (I) of the motor and, if said current (I) is lower than a threshold current (I.sub.th), returning to the step of reading the value of back electromotive force (E; EMF.sub.UP, EMF.sub.DOWN); if the current (I) of the motor is higher than a threshold current (I.sub.th), stopping the timer, obtaining a time (t.sub.w) of sliding of the window (F); calculate a speed of the window (v) as ratio between the back electromotive force (E.sub.m) measured and a coefficient of proportionality (K.sub.e) associated to the automatic-movement apparatus; and calculate the position of the window (F) as product of said speed of the window (v) and of the time (t.sub.w) of sliding of the window (F).
2. The device as set forth in claim 1, further including a module for measuring the current (I) of the electric motor and respective modules for measuring the back electromotive force (EMF.sub.UP) of the motor during sliding upwards or towards the closing end-of-travel (CFu) and the back electromotive force (EMF.sub.DOWN) of the motor during sliding downwards or towards opening end-of-travel (CFd) of the window (F).
3. The device as set forth in claim 1, wherein: said operation of verifying the value of the current (I) of the motor further comprises verifying jointly the state of operation of an electromechanical pushbutton for moving the window (F).
4. The device as set forth in claim 1, wherein said control module calculates said coefficient of proportionality (K.sub.e) of the system via the steps of: reading the value of the back electromotive force (E.sub.m) after completing a full cycle of movement of the window with a corresponding path (P) in a cycle time (t.sub.c) that is measured; calculating a speed of the window (v) as ratio between the path (P) and the cycle time (t.sub.c); and calculating the coefficient of proportionality (K.sub.e) as the ratio between said back electromotive force (E) read and said speed (v).
5. The device as set forth in claim 4, wherein said device: reads the back electromotive force for upward sliding (EMF.sub.UP) of the window (F), measures a window-up cycle time (t.sub.cup) and calculates a corresponding window-up speed (v.sub.up) and a corresponding window-up constant (K.sub.eup); reads the electromotive force for downward sliding (EMF.sub.DOWN) of the window (F), measures a window-down cycle time (t.sub.cdown) and calculates a corresponding window-down speed (v.sub.down) and a corresponding window-down constant (K.sub.edown); and calculates said coefficient of proportionality (K.sub.e) as average between said window-up coefficient (K.sub.eup) and said window-down coefficient (K.sub.edown).
6. The device as set forth in claim 1, wherein said device drives said motor via a PWM modulation (DS) and measures the back electromotive force (E) at the instant when the voltage applied on the terminals of the motor is zero and an inductive transient (TDL) of the motor terminates.
7. An anti-pinch method for an apparatus for automatic movement of sliding windows in a motor vehicle said method implements one or more of the operations carried out by the device as set forth in claim 1.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention will now be described with reference to the annexed drawings, which are provided purely by way of non-limiting example and in which:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE INVENTION
(8) In brief, the solution according to the invention in general envisages exploitation in the power-window apparatus of the physical quantities proper to the d.c. motor (the back electromotive force and the current absorbed by the motor) to acquire information on the position of the rotor of the motor, and determine the condition of jamming or pinching without the aid of external sensors. This solution is robust in regard to the parasitic parameters linked to the electric motor being used via adoption of a particular calibration procedure.
(9) Illustrated in
(10) Designated by A and B are terminals of the electric motor 10, while V denotes a voltage that is present on the terminals A and B of the electric motor 10, R is a parasitic resistance of the motor 10, L is a parasitic inductance of the motor 10, and E is a back electromotive force (back EMF) of the electric motor 10 that is proportional to an angular velocity of the motor.
(11) From the circuit of
(12)
(13) By applying a voltage across the terminals A and B of the electric motor 10, it rotates about its own axis (fitted on which is a shaft); its velocity of rotation will be proportional to the value of the voltage applied.
(14) Likewise, if the rotor of the motor 10 is made to turn from outside, across the terminals A and B of the motor 10, the voltage V is read, the value of which will be proportional to the r.p.m., i.e., to the velocity of rotation .
(15) Being independent of the characteristic parameters of the motor 10, so that it can be replaced with an equivalent one, hence means being able to know the exact value of the voltage of the generator of back electromotive force E, by reading the value V thereof across the motor 10, i.e., between the terminals A and B.
(16) To obtain a voltage V equal to the back electromotive force E and hence measure the back electromotive force E, it is necessary to render the voltage due to the parasitic resistance zero, namely, V.sub.R=0, and the same applies to the voltage due to the parasitic inductance, namely, V.sub.L=0.
(17) To satisfy the two conditions set forth above, the current I that flows in the electric motor 10 must be zero, i.e., I=0, which means not supplying the electric motor. In this circumstance, the voltage V read across the terminals A and B can be considered equal to that of the voltage generator E of its theoretical representation since the voltage V that is read is produced by the motor 10 itself, which carries on turning by inertia (thus becoming a voltage generator).
(18) Hence, the method envisages supplying the motor 10 and then interrupting supply to read the back electromotive force E, which corresponds to the voltage V. For this purpose, the electric motor 10 is supplied and not supplied with a predefined timing, in particular resorting to the PWM (Pulse-Width Modulation) technique. The PWM mode of supply of a d.c. motor is in itself known to a person skilled in the sector and for the electric motor 10 envisages, given a total period t.sub.tot=t.sub.1+t.sub.2, applying on the terminals A and B of the motor 10 a voltage V for a first period corresponding to an ON time t.sub.1 and applying a zero voltage, V=0, for a subsequent period corresponding to an OFF time t.sub.2. This means that a voltage value is applied to the electric motor 10 that is averaged as a function of the lengths of the ON time t.sub.1 and of the OFF time t.sub.2; in particular, if t.sub.1=t.sub.2 this is equivalent to supplying the motor with a voltage value equal to half of the value applied.
(19) At the instant when the voltage applied to the motor 10 is removed, at the end of the ON time t.sub.1 the resistive parasitic voltage V.sub.R instantaneously goes to zero; instead, the inductive parasitic voltage V.sub.L goes to zero after a transient (time for discharge of the inductance L). The method described herein envisages reading the voltage value V on the terminals A and B at the instant when the inductive parasitic voltage V.sub.L goes to zero. In this way, the reading is free from parasitic phenomena.
(20)
(21) In
(22) By controlling the values of the ON time t.sub.1 and OFF time t.sub.2 it is possible to keep the r.p.m. of the motor 10 constantsince during the period in which no voltage is applied to the motor 10, this, on account of the inertia of the system, tends to continue to turnand obtain a precise and constant reading over time of the voltage V on the terminals A and B. Also the PWM technique for driving a d.c. electric motor to keep the velocity of rotation constant is, however, in itself known to the person skilled in the sector. From the voltage V of the motor 10 read at the measurement time t.sub.m the velocity of rotation w of the motor 10 itself is derived, according to the relation:
E=k.Math.
where k is a constructional constant of the motor, i.e., linked to the parameters of construction of the motor 10, and is the r.p.m. of the motor 10, more precisely the angular velocity of its rotor. The conversion factor between the angle of rotation of the motor 10 and the linear translation of the window F of the vehicle is constant; hence it is possible, via appropriate calibration, to derive a constant of proportionality, denoted hereinafter by K.sub.e, between the back electromotive force E read and the linear velocity of the window F, without knowing the physical parameters of the electric motor 10.
(23) Hence, on the basis of the method proposed, the measurement of the position of a window F moved by an electric motor 10 is obtained by reading the voltage V applied to the d.c. electric motor, net of the parasitic parameters.
(24) The electric motor 10 is a d.c. electric motor controlled by an electronic circuit equipped with microcontroller and specific software strategy, which enables and controls sliding, in two directions, of a surface of the window (made of glass or similar material) constrained along its path by two parallel guides. Sliding in either direction is driven by pressing electromechanical pushbuttons. This surface may be the glass of a window moved by the electrical power-window system located within the door of a vehicle with anti-pinch function or else the sun roof of a system for enabling sliding of an electrically openable sun roof.
(25)
(26) Less expensive variants are possible, in which the active conditioning operational circuits 23, 24, 25, which carry out operations of subtraction and division on the quantities at their inputs, are replaced by passive conditioning circuits, which simply carry out RC filtering. The corresponding filtered quantities are processed in the microprocessor 20; i.e., the operations of subtraction and division are carried out on the filtered back electromotive forces supplied by the respective RC filters that operate on the voltage acquired on the terminals A and B.
(27)
(28) In a step 110, the current position of the window F is read by the microprocessor 21. This is done by reading, for example, a counter available in the microprocessor, which records the incremental displacements.
(29) In a subsequent step 120, a timer is started in the microprocessor 21.
(30) Then, in a step 130, a value of back electromotive force of the motor 10 is read, in particular the window-up signal EMF.sub.UP or the window-down signal EMF.sub.DOWN according to the direction of displacement of the window F, up or down.
(31) In a step 140, a mean value E.sub.m is then calculated of the back electromotive force determined by the duty cycle, i.e., by the ON time t.sub.1 and OFF time t.sub.2, of PWM driving, i.e., of the signal DS. This value is a mean value E.sub.m in so far as, in actual fact, the value calculated is a value averaged over a plurality of periods of the PWM signal, for example taking into account the value of back electromotive force in the current period and the value of the previous period, and dividing by two. In a subsequent step 145, reading of the current I of the motor 10 is carried out via the microprocessor 21, and a condition is verified, whereby, as long as the current I of the motor 10 measured in the mean time by the microprocessor 21 is lower than a given threshold current I.sub.th, or elsein a preferred variant that envisages joint checking of the state of activation of an electromechanical pushbutton for moving the window Fas long as the current I is lower than a given threshold current I.sub.th or the electromechanical pushbutton is activated for moving the window, the step 130 of measurement of the back electromotive force E.sub.m is repeated. When the current I of the motor 10 is higher than a threshold current I.sub.th, or else, in the preferred variant referred to above, when the current I of the motor 10 is higher than a threshold current I.sub.th or the electromechanical pushbutton is activated for stopping the window F (for example, it is released), from step 145 control passes to a step 150 where the timer is stopped, the timer (in particular, via its own count) supplying a time t.sub.w of sliding of the window F, and the mean value of back electromotive force E.sub.m is acquired during execution of step 150.
(32) In a step 160, the linear velocity v of the window F is then calculated as ratio between the back electromotive force E.sub.m measured and a coefficient of proportionality K.sub.e.
(33) In a step 170, the position X of the window F is then calculated as product of the linear velocity v of the window F and of the time t.sub.w of sliding of the window F. This position is calculated in an incremental way with respect to the position read in step 110. The procedure for reading the position is in fact incremental, and the current position at the end of the procedure 100 applied must be stored. The next reading must be added or subtracted (according to the direction) to/from the value previously stored.
(34) The back electromotive force of the motor is given by the relation E=K.sub.e.Math.. Given a mean angular velocity .sub.m of the motor, we have .sub.m=E.sub.m/K.sub.e and the position X is equal to t.sub.w.Math..sub.m, i.e., to the product of the mean angular velocity .sub.m of the motor and of the time t.sub.w of sliding of the window F. However, since the factor of conversion between rotation of the motor 10 and linear translation of the window F is constant, it is possible to operate with the linear velocity v, as indicated in steps 160, 170, thus obtaining, as illustrated hereinafter, the coefficient of proportionality K.sub.e via a calibration that takes into account the linear velocity v.
(35) Finally, in a step 180 it is evaluated whether the position X of the window F obtained in step 170 falls within the anti-pinch zone APZ. If so, the direction of the motor 10 is reversed in step 190. If not, the position X is acquired, and control returns to step 110. It is to be noted that passage through step 190 is performed only if the movement of the window F is upwards.
(36) In other words, via steps 130, 140, 145, the back electromotive force E.sub.m is measured, with a given sampling interval, until a condition on the current (possibly combined with a check on the pushbuttons) that identifies a possible pinching or jamming is verified, whilst a timer started in step 120 counts the time interval during which the measurement is active, i.e., the program cycles between steps 130, 140, and 145. When the condition on the current is verified, the timer 150 stops, and, on the basis of the time measured and the back electromotive force E.sub.m measured at the moment of arrest of the timer, the position X of the window F is calculated and is compared with the anti-pinch zone APZ.
(37) The control circuit 20 carries out the anti-pinch function, with introduction of the parameter current I. During regular movement of the window, the d.c. electric motor absorbs, for example, a current I of approximately 4 A to 6 A; in the case of blocking, the current I rapidly passes to a value of approximately 12 A to 15 A.
(38) In general, if the current on the load becomes higher than a predefined threshold, it may be concluded that there is a condition of pinching.
(39) Hence, once, via the information on the position obtained by applying the procedure 100, it is ascertained that the window F is in the anti-pinch zone APZ, namely, comprised between 4 mm and 200 mm from the top end-of-travel, when a sudden increase, beyond the threshold, in the value of current I during raising of the window F, is detected by the microprocessor 21 of the electronic control system 20 of
(40) Illustrated in
(41) Considering that the factor of conversion between rotation of the motor 10 and linear translation of the window is constant, via a calibration procedure it is possible to derive the coefficient K.sub.e of proportionality between the back electromotive force E read and the linear velocity v of the window F, without knowing the physical parameters of the motor 10.
(42) The above procedure of calibration of the coefficient K.sub.e is performed as follows: in a first step, the value of the back electromotive force E is read after a full cycle of movement of the window F (for example, window up to top end-of-travel and window down to bottom end-of-travel), with a corresponding path P equal to 2.Math.CF, i.e., twice the travel CF of the window F, for a cycle time t.sub.c, which can be measured, for example, by the same timer as that of step 120 (in step 145in this case, arrest of movement at end-of-travel enables step 150 of arrest of the timer), and a value of back electromotive force E.sub.m is obtained for upward sliding of the window (EMF.sub.UP) and a value of back electromotive force E.sub.m is obtained for downward sliding of the window (EMF.sub.DOWN).
(43) The linear velocity v of the window F is linked to the following relation:
v=P/t.sub.c
while the constant of proportionality K.sub.e is
K.sub.e=E/v
(44) The back electromotive force E may be calculated by distinguishing between upward sliding EMF.sub.UP and downward sliding EMF.sub.DOWN, which are read during a cycle.
(45) More specifically, for example, via the calibration procedure, the electromotive force E corresponding upward sliding EMF.sub.UP is calculated for a movement along half of the path P, i.e., P/2 (equal to the travel CF) during a window-up cycle time t.sub.cup. This yields a window-up speed v.sub.up
v.sub.up=P/2t.sub.cup
and a window-up constant K.sub.eup
K.sub.eup=EMF.sub.UP/v.sub.up
(46) Of course, as in the cases represented for the procedure 100, the value of electromotive force E for upward sliding EMF.sub.UP is in actual fact a mean value.
(47) Then, the same operations are carried out for downward sliding of the window F, along half of the path, P/2, for a window-down cycle time t.sub.cdown. This yields a window-down speed v.sub.down
v.sub.down=P/2t.sub.cdown
and a window-down constant K.sub.edown
K.sub.edown=EMF.sub.DOWN/v.sub.down
(48) The coefficient of proportionality K.sub.e used by the procedure 100 is finally calculated as average between the window-up coefficient K.sub.eup and the window-down coefficient K.sub.edown.
(49) Hence, from the foregoing description, the advantages of the solution proposed emerge clearly.
(50) The device and method described advantageously enable exact determination of the position of the window along its path without the aid of external sensor using the back electromotive force of the motor. This results in a simplification (from the automotive standpoint) of the system for verifying the position of the window or sun roof, in so far as no sensor is envisaged, or rather the motor operates as sensor.
(51) Furthermore, this determination of the position is advantageously rendered independent of the typical (and parasitic) parameters of the system, in particular of the electric motor, thanks to a self-calibration procedure, so that there is no constraint on the choice of the electric motor used.
(52) The invention has been described in an illustrative manner. It is to be understood that the terminology which has been used is intended to be in the nature of words of description rather than of limitation. Many modifications and variations of the invention are possible in light of the above teachings. Therefore, within the scope of the appended claims, the invention may be practiced other than as specifically described.