`
`COLLISION MONITORING SYSTEM
`
`5
`
`CROSS REFERENCE TO RELATED APPLICATIONS:
`
`The present application is a continuation-in-part of application serial no.
`
`09/562,986 filed May 1, 2000 which is a continuation-in-part of application serial
`
`number 08/736,786 to Boisvert et al. which was filed on October 25, 1996, now
`
`1 0 US patent no. 6,064,165 which was a continuation of united States application
`
`serial number 08/275,107 to Boisvert et al. which was filed on July 14, 1994
`
`which is a continuation in part of application serial number 07/872,190 filed April
`
`22, 1992 to Washeleski et al., now United States patent 5,334,876. These
`
`related applications are incorporated herein by reference. Applicants also
`
`15
`
`incorporate by reference United States patent number 5,952,801 to Boisvert et
`
`al, which issued September 14, 1999. This application also claims priority from
`
`United States Provisional application serial no. 60/169,061 filed December 6,
`
`1999 which is also incorporated herein by reference.
`
`20
`
`FIELD OF THE INVENTION:
`
`The present invention concerns motor driven actuator control systems and
`
`methods whereby empirically characterized actuation operation parameters are
`
`subsequently monitored.
`
`25
`
`BACKGROUND:
`
`National Highway Traffic Safety Administration (NHTSA) Standard 118
`
`contains regulations to assure safe operation of power-operated windows and
`
`roof panels.
`
`It establishes requirements for power window control systems
`
`located on the vehicle exterior and for remote control devices. The purpose of
`
`30
`
`the standard is to reduce the risk of personal injury that could result if a limb
`
`catches between a closing power operated window and its window frame.
`
`Standard 118 states that maximum allowable obstacle interference force during
`
`1
`
`
`
`an automatic closure is less than 1 00 Newton onto a solid cylinder having a
`
`diameter from 4 millimeters to 200 millimeters.
`
`Certain technical difficulties exist with operation of prior art automatic
`
`power window controls. One difficulty is undesirable shutdown of the power
`
`5 window control for causes other than true obstacle detection. Detection of
`
`obstacles during startup energization, soft obstacle detection, and hard obstacle
`
`detection each present technical challenges requiring multiple simultaneous
`
`obstacle detection techniques. Additionally, the gasket area of the window that
`
`seals to avoid water seepage into the vehicle presents a difficulty to the design of
`
`10
`
`a power window control, since the window panel encounters significantly different
`
`resistance to movement in this region. Operation under varying power supply
`
`voltage results in actuator speed variations that result in increased obstacle
`
`detection thresholds.
`
`15
`
`SUMMARY OF THE INVENTION:
`
`This invention concerns an improved actuator system that provides faster
`
`operation, more sensitive obstacle detection, faster actuator stopping with
`
`reduced pinch force, and reduced false obstacle detection all with less costly
`
`hardware. This invention has utilization potential for diverse automatic powered
`
`20
`
`actuator applications including positioning of doors, windows, sliding panels,
`
`seats, control pedals, steering wheels, aerodynamic controls, hydrodynamic
`
`controls, and much more. One exemplary embodiment of primary emphasis for
`
`this disclosure concerns an automatic powered actuator as a motor vehicle
`
`sunroof panel.
`
`25
`
`An exemplary system built in accordance with one embodiment of the
`
`invention implements position and speed sensing is via electronic motor current
`
`commutation pulse sensing of the drive motor. Motor current commutation pulse
`
`counting detection means and counting correction routines provide improved
`
`position and speed accuracy.
`
`30
`
`In
`
`one
`
`exemplary
`
`embodiment,
`
`stored
`
`empirical
`
`parameter
`
`characterizations and algorithms adaptively modify obstacle detection thresholds
`
`2
`
`
`
`during an ongoing actuation for improved obstacle detection sensitivity and
`
`thresholds resulting in quicker obstacle detection with lower initial force, lower
`
`final pinch force and reduced occurrences of false obstacle detection.
`
`An exemplary embodiment of the collision sensing system uses a memory
`
`5
`
`for actuation speed measurement, motor current measurement, and calculations
`
`of an ongoing actuation with real time adaptive algorithms enables real time
`
`running adaptive compensation of obstacle detection thresholds.
`
`BRIEF DESCRIPTIONS OF THE DRAWINGS:
`
`1 0
`
`Figure 1 is a block diagram schematic of the components of an exemplary
`
`embodiment of the present invention;
`
`Figures 2A- 2D are schematics of circuitry for controlling movement and
`
`sensing obstructions of a motor driven panel such as a motor vehicle sunroof;
`
`Figure 3A is a plan view depicting an optical sensing system for
`
`15 monitoring an obstruction in the pinch zone of a moving panel such as a motor
`
`vehicle sunroof;
`
`Figure 3B is a front elevation view of the Figure 3A optical sensing
`
`system;
`
`Figure 3C is a plan view depicting an optical system with moving optics for
`
`20 monitoring an obstruction at the leading edge of a moving panel such as a motor
`
`vehicle sunroof;
`
`Figure 3D is a front elevation view of the Figure 3C optical sensing
`
`system;
`
`Figure 3E is a plan view depicting an optical sensing system with moving
`
`25
`
`optics, flexible optic fiber, remote IR emission, and remote IR detection for
`
`monitoring an obstruction at the leading edge of a moving panel such as a motor
`
`vehicle sunroof;
`
`Figure 4 represents typical startup energization characteristics of motor
`
`current and per speed versus time;
`
`30
`
`Figure 5 represents a simplified example of characteristic steady state
`
`nominal motor operation function versus time or position;
`
`3
`
`
`
`Figure 6 represents a simplified example characteristic dynamic transient
`
`motor operation function versus time and/or position showing motor operation
`
`function with transients;
`
`Figure 7 represents a simplified example characteristic dynamic periodic
`
`5
`
`cyclic motor operation function versus time and/or position showing motor
`
`operation function with cyclic disturbances; and
`
`Figure 8 is a sequence of measurements taken by a controller during
`
`successive time intervals and operation of a monitored panel drive motor.
`
`10
`
`BEST MODE FOR PRACTICING THE INVENTION:
`
`Figure 1 shows a functional block diagram of an actuator safety feedback
`
`control system 1 for monitoring and controlling movement of a motor driven panel
`
`such as a motor vehicle sunroof. A panel movement controller 2 includes a
`
`commercially available multipurpose microcontroller IC (integrated circuit) with
`
`15
`
`internal and/or external FIFO memory and/or RAM (Random Access Memory) 2a
`
`and ADC (analog-to-digital-converter) 2b.
`
`Eight-bit word bytes, eight-bit counters, and eight-bit analog-to-digital
`
`conversions are used with the exemplary controller 2.
`
`It should be fully realized,
`
`however, that alternative word lengths may be more appropriate for systems
`
`20
`
`requiring different parameter resolution. Larger word bytes with equivalent ADC
`
`resolution enables greater resolution for motor current sensing. Likewise, larger
`
`word bytes with higher microcontroller clock speeds enable greater resolution for
`
`motor per speed sensing plus quicker digital signal processing and algorithm
`
`processing for quicker response time.
`
`25
`
`A temperature sensor 3 (which according to the preferred embodiment of
`
`the invention is an option) when installed, is driven by and sensed by the
`
`controller 2. Temperature sensing allows the panel controller 2 to automatically
`
`sense vehicle cabin temperature and open or close the sunroof to help maintain
`
`a desired range of temperatures.
`
`Temperature compensation of actuator
`
`30
`
`obstacle detection thresholds is typically unnecessary.
`
`4
`
`
`
`An optional rain sensor 4 can be both driven by and sensed by the
`
`microcontroller 2. Automatic closing of the sunroof panel occurs when the
`
`sensor is wet. Subsequently, the sunroof panel can be opened when either
`
`falling rain has stopped for some time duration or when the rain has evaporated
`
`5
`
`to some extent.
`
`Manual switch inputs 5 are the means by which operator control of the
`
`system occurs.
`
`Limit switch inputs 6 indicate to the control system such physical inputs as
`
`HOME position, VENT/NOT OPEN Quadrant Switch, and end of panel
`
`10 movement. Limit switch signals indicate where microcontroller encoder pulse
`
`counter registers are set or reset representative of specific panel position(s).
`
`Motor drive outputs ?a and 7b control whether the motor drives the panel
`
`in the forward or the reverse direction. When neither the forward nor the reverse
`
`direction are driven, the motor drive terminals are electrically shorted together,
`
`15
`
`possibly via a circuit node such as COMMON, resulting in an electrical loading
`
`and thus a dynamic braking effect.
`
`Motor plugging drive, which is the application of reverse drive polarity
`
`while a motor is still rotating, is an optional method of more quickly stopping the
`
`motor, but has been unnecessary for use with the preferred embodiment of the
`
`20
`
`sunroof panel controller due
`
`to satisfactory performance
`
`taught by
`
`this
`
`disclosure. Very large motor plugging currents are often undesirable because
`
`they can easily exceed typical maximum stalled rotor currents producing
`
`undesired motor heating in large applications. Such high motor plugging currents
`
`can be detrimental to the life and reliability of electromechanical relay contacts
`
`25
`
`and solid state switches used to switch motor operating currents. High motor
`
`plugging currents can also cause undesirable transients, trip breakers, and blow
`
`fuses in a power supply system.
`
`Application of brakes and/or clutches is also unnecessary with the
`
`automotive sunroof system due to the improved real time obstacle detection
`
`30
`
`performance taught by this disclosure.
`
`5
`
`
`
`Optical Obstacle Detection
`
`Obstacle detection by actual physical contact and/or pinch force with
`
`human subjects is somewhat unnerving to some individuals. For improved
`
`system safety and user comfort, the preferred system utilizes non-contact
`
`5
`
`detection of obstacles in the path of the moving panel. Of various technologies
`
`by which it is possible to sense an obstacle without physical contact, I R (infrared)
`
`emission with transmission interruption mode detection is preferred.
`
`I R emitting
`
`diodes and/or IR laser diodes are the two preferred IR emission sources.
`
`IR
`
`photodiodes and/or I R phototransistors are the two preferred I R detection means.
`
`1 0 Optical obstacle detection senses and enables stopping of
`
`the actuator
`
`movement prior to significant applied pinch force and possibly prior to actual
`
`physical contact with a subject.
`
`In unusual light conditions, explained below,
`
`optical sensing means becomes temporarily ineffective, thus obstacle detection
`
`via motor current sensing or current sensing and speed sensing means becomes
`
`15
`
`the remaining reliable backup method of detecting an obstacle.
`
`Of two preferred configurations utilized for implementing I R transmission
`
`interruption mode of obstacle detection, the first is use of at least one emitter and
`
`at least one detector sensing at least across the pinch zone in close proximity to
`
`an end of travel region of a sunroof. As shown in Figures 3A and 38, at least
`
`20
`
`one I R emitter 1 00 and at least one I R detector 1 02 are separated from each
`
`other by a sunroof pinch zone 104.
`
`In an exemplary embodiment of the
`
`invention, opto sensing of obstructions is across and in relatively close proximity
`
`to a pinch zone near the end of travel region of a sunroof. The depictions in
`
`Figures 3A and 3B do not show the entire region between emitter and detector
`
`25
`
`but it is appreciated that a gap G between emitter and detector is on the order of
`
`the width of the moving sunroof.
`
`In this preferred embodiment, cabling 108
`
`passes to the region of the detector 1 02 around the end of the sunroof liner in the
`
`region of the end of the sunroof travel. The detector and emitter are fixed to the
`
`sunroof liner and do not move.
`
`Implementation of this fixed configuration is
`
`30
`
`simplified by lack of moving components, although the sunroof may have to push
`
`the obstacle into a sensing field between the emitter 1 00 and the detector 1 02.
`
`6
`
`
`
`Thus, although the sensing means is non-contact, the sunroof can still contact
`
`the obstacle.
`
`Of two preferred configurations utilized for implementing I R transmission
`
`interruption obstacle detection, the second is use of at least one emitter and at
`
`5
`
`least one detector sensing at least immediately ahead of the front moving edge
`
`of the moving portion of a sunroof. As shown in Figures 3C and 30, at least one
`
`IR emitter 100 and at least one IR detector 102 are separated proximal a front
`
`moving edge of a sunroof 103.
`
`In an exemplary embodiment of the invention,
`
`opto-sensing of obstructions is across and in relatively close proximity to a front
`
`10
`
`edge 105 of the sunroof 103. The depictions in Figures 3C and 30 show the
`
`entire region between emitter and detector for which a gap G, between emitter
`
`and detector, is on the order of the width of the moving sunroof. In this preferred
`
`embodiment, flexible flat circuitry 107 passes to the emitter 100 and the detector
`
`1 02 of the moving panel or window to the region of the front moving edge.
`
`15 Alternate means to supply electrical signal and/or power to the moving opto(cid:173)
`
`electronic components includes means such as electrical contact brushes
`
`cooperating with conductive traces on the moving panel. Power and signal are
`
`optionally both transmitted over the same conductors. Figure 3E shows an
`
`alternative means to supply I R emission to receive I R detection from the front
`
`20
`
`edge of the moving panel via flexible moving optic fiber 303 means connected
`
`with components 300, 302 that respectively emit IR and detect IR signals.
`
`IR
`
`optical fibers are terminated at each end to optical components 304, 305 that
`
`perform collimating, reflecting, and
`
`focusing requirements.
`
`The structure
`
`depicted in Figures 3A - 3E make it possible to sense obstructions with no
`
`25
`
`physical obstacle contact regardless of the position of the moving sunroof.
`
`Alternate, non-preferred means of obstacle detection include sensing back
`
`reflection from a reflective surface of radiation emitted from an emitter, electric
`
`field sensing of proximal material dielectric properties, and magnetic field sensing
`
`of proximal material inductive properties.
`
`30
`
`Various techniques improve the operation and reliability of non-contact
`
`optical detection sensing.
`
`In accordance with an exemplary embodiment of the
`
`7
`
`
`
`present invention, the IR emitter 100 is driven with a duty cycle and frequency.
`
`One typical automobile sunroof application uses 20% duty cycle at 500 Hz I R
`
`emitter drive synchronized with IR detector sensing. Pulsed drive allows the IR
`
`emitter 100 to be driven harder during its on time at a low average power. This
`
`5
`
`harder drive yields improved signal-to-noise for IR sensing by the IR detector.
`
`The I R detector circuit synchronously compares the I R signal detected during I R
`
`emitter on times with IR emitter off times to determine ambient IR levels for drive
`
`and signal compensation purposes. This allows the I R emitter to I R detector
`
`optical coupling to be determined with a level of accuracy and reliability using
`
`1 0
`
`closed loop feedback techniques.
`
`Automatic gain feedback control techniques maintain the level of the I R
`
`emitter drive and/or the gain of the I R detector circuit so that optical coupling is
`
`above minimum desirable values. Such automatic gain compensates, within
`
`certain
`
`limitations,
`
`factors
`
`including decrease
`
`in
`
`IR emitter output over
`
`15
`
`accumulated time at temperature, IR emitter output temperature coefficient, dirt
`
`and haze fouling optic components, and high ambient IR levels.
`
`Highly directional I R optical lenses and/or aligned polarized filters on both
`
`the I R emitter and I R detector maintain better optical coupling and reduce the
`
`effects of ambient I R and reflected I R from other directions. Location of the I R
`
`20
`
`detector in a physical recess further reduces the possibility of extraneous I R
`
`"noise" from affecting the optical coupling.
`
`Despite various means to reduce the possibility of excess extraneous I R
`
`from being detected, certain conditions occur that may allow very high levels of
`
`direct and/or reflected sunlight to be "seen" by the detector. Sun IR power levels
`
`25
`
`can saturate the detector output signal level so that obstacle blockage of the
`
`pulsed I R emitter signals is not reliably sensed. Under such unusual "white out"
`
`circumstances, theIR optical system is disabled by the panel controller 2 until the
`
`sunroof actuator is nearly closed , at which position ambient I R noise is shielded
`
`by the sunroof. Thus, the complete emitter-detector I R coupling is made more
`
`30
`
`reliable for the last movement of pinch point closure. Complete body blockage of
`
`the I R coupling path between the emitter and detector is not a "white out"
`
`8
`
`
`
`condition, although if the body is blocking both ambient IR and emitted IR signal
`
`at the detector, a "black out" condition is interpreted as an obstacle detection.
`
`Although the IR obstacle detection means may be temporarily found to be
`
`unreliable by high ambient levels of I R, the disclosed sensing of hard and/or soft
`
`5
`
`obstacles by motor current monitoring is always active as a redundant obstacle
`
`detection means.
`
`Detailed Schematic
`
`The controller schematic shown in Figures 2A- 20 implements collision
`
`1 0
`
`sensing in one form by activating a light emitting diode 1 OOa which emits at
`
`periodic intervals. In the event the infra red radiation is not sensed by a photo
`
`transistor detector 1 02a, the controller 2 assumes an obstruction and
`
`deactivates the sunroof motor M. There is also a redundant and more reliable
`
`obstacle detection means for detecting obstacles based upon sensed motor
`
`15
`
`operation parameters.
`
`The preferred controller 2 is an Atmel 8 Bit microprocessor having 8
`
`Kilobytes of ROM and includes programming inputs 106 which can be coupled to
`
`an external data source and used to reprogram the microprocessor controller 2.
`
`User controlled inputs 5a, 5b are coupled to user activated switches which are
`
`20
`
`activated to control movement of the sunroof. The inputs are similar to now
`
`issued Patent No. 5,952,801 to Boisvert et al, which describes the functionality of
`
`those inputs. Limit switch outputs 5c, 5d, 5e are also monitored by the controller
`
`2 and used to control activation of the sunroof drive motor.
`
`The schematic depicts a clock oscillator 11 0 for providing a clock signal of
`
`25
`
`6 MHZ for driving the microprocessor controller 2. To the upper left of the
`oscillator is a decoupling capacitor circuit 112 for decoupling a vee power signal
`to the microprocessor.
`
`The circuitry depicted in Figure 2B provides power signals in response to
`
`input of a high signal at the ignition input 114. When the ignition input goes high,
`
`30
`
`this signal passes through a diode 116 to the base input 118 of a transistor 120
`
`which turns on. When the transistor 120 turns on, a regulated output of 5 volts
`
`9
`
`
`
`(VCC) is provided by a voltage regulator 122 in the upper right hand corner of
`
`Figure 2B. A voltage input to the voltage regulator 122 is derived from two
`
`battery inputs 124, 126 coupled through a filtering and reverse polarity protection
`
`circuit 130. Immediately above the positive battery input 124 is a relay output
`
`5
`
`131 which provides a signal one diode drop less than battery voltage VBAT
`
`which powers the relay coils 132, 134 (Figure 2D) for activating the motor.
`
`The circuitry of Figures 2A- 2D includes a number of operational
`amplifiers which require higher voltage than the five volt vee logic circuitry
`power signal. At the extreme right hand side of the schematic of Figure 2B are
`
`1 0
`
`two transistors 136, 138 one of which includes a base 140 coupled to an output
`
`142 from the microprocessor controller 2. The second transistor has its collector
`
`coupled to the battery and an output on the emitter designated V-SW. When the
`
`microprocessor turns on the transistor 138, the V-SW output goes to battery
`
`voltage. The V-SW output is connected to a voltage regulator (not shown) which
`
`15
`
`generates a DC signal that is supplied throughout the circuit for operation of the
`
`various operational amplifiers.
`
`The microprocessor controller 2 also has two motor control outputs 150,
`
`152 which control two switching transistors 154, 156 , which in turn energize two
`
`relay coils 132, 134. The relay coils have contacts 162, 164 coupled across the
`
`20 motor M for energizing the motor windings with a battery voltage VBAT. One or
`
`the other of the transistors must be turned on in order to activate the motor.
`
`When one of the two transistors is on, the motor M rotates to provide output
`
`power at an output shaft for moving the sunroof or other panel along a path of
`
`travel in one direction. To change the direction of the motor rotation, the first
`
`25
`
`transistor is turned off and the second activated. The motor used to drive the
`
`sunroof panel back and forth along its path of travel in the exemplary
`
`embodiment of the present invention is a DC motor.
`
`Figure 2C depicts a circuit 180 for monitoring light emitting diode signals.
`
`A light emitting diode 1 OOa has an anode connection 181 coupled to the V-
`
`30
`
`switched signal and the cathode is coupled through a switching transistor 182 to
`
`a microprocessor output 183. The microprocessor outputs a 500 hertz signal at
`
`10
`
`
`
`this output 183 having a 20% duty cycle to the base input of the transistor. When
`
`the transistor turns on, the LED cathode is pulled low, causing the light emitting
`
`diode 1 OOa to emit IRradiation. Under microprocessor control, the light emitting
`
`diode produces a 500 hertz output which is sensed by a photo detector 1 02a. As
`
`5
`
`the light emitting diode pulses on and off at 500 hertz, the photo detector
`
`responds to this input. When current flows in the photo detector, a voltage drop
`
`is produced across a voltage divider 184 having an output coupled to an
`
`operational amplifier 186. When current flows in the photo detector in response
`
`to receipt of a light signal the voltage divider raises the voltage at the inverting
`
`1 0
`
`input 188 to the amplifier 186. The non-inverting input to this amplifier is
`
`maintained at 2.5 volts by a regulated voltage divider 188. The operational
`
`amplifier 186 and a second operational amplifier 190 define two inverting
`
`amplifiers which in combination produce an output signal of 500 hertz. With no
`
`signal appearing at the photo detector, an output 192 from the operational
`
`15
`
`amplifier 190 is 2.5 volts. This signal is coupled to the microprocessor controller
`
`2. In response to receipt of the photo detector signal, this signal oscillates and
`
`this oscillating signal in turn is sensed by the microprocessor.
`
`The microprocessor controller 2 has two inputs 192, 194 that provide
`
`input signals to a comparator implemented by the microprocessor controller. As
`
`20
`
`the state of the comparator changes, internal microprocessor interrupts are
`
`generated which cause the microprocessor to execute certain functions. The first
`
`input 192 is derived from the output from the phototransistor 1 02a. The second
`
`input 194 to the comparator is a 3.3 volt signal generated by a voltage divider
`
`195.
`
`25
`
`Motor current monitoring
`
`A motor current monitoring circuit is depicted in Figure 20 and includes a
`
`number of operational amplifiers 200- 203 coupled to a current measuring
`
`resistor 210 in the lower right hand portion of the circuit diagram. This current
`
`30 measuring resistor is coupled to the operational amplifier 200 configured as a
`
`differential amplifier through a second resistor 211. An output 212 from this
`
`11
`
`
`
`differential amplifier is a signal proportional to the current through the motor
`
`windings which has been amplified by a factor of about four. The output from this
`
`amplifier passes to a second gain of 3 amplifier 201 to an output 214 coupled to
`
`the microprocessor controller through a resistor 215. This signal is monitored
`
`5
`
`by the microprocessor and converted by an A to D conversion to a digital value
`
`directly related to motor current.
`
`An input 220 to the second pair of operational amplifiers 202, 203 is either
`
`an output from the first differential amplifier 200 or the second gain of 3 amplifier
`
`201 depending upon whether a resistor 222 is installed in the circuit. One but not
`
`1 0
`
`both of the resistors 222, 223 are installed in the circuit.
`
`The changing signal output from the resistor 210 is coupled to an inverting
`
`input of an AC coupled amplifier and produces an output signal 226 to the
`
`microprocessor controller 2 which changes with motor current and more
`
`particularly as the commutator brushes pass over the motor armature
`
`15
`
`commutation segments , the signal changes to form a sequence of pulses. The
`
`amplifier 203 is a level shifting amplifier which reduces the gain of the first
`
`amplifier depending upon sensed conditions. When the motor first is activated a
`
`large current rush occurs due to the fact that the motor is stalled. This large
`
`current rush changes the output of the amplifier 203 thereby producing
`
`20 meaningful data even in a high current situation. As the current changes, the
`
`output of this top amplifier 203 varies to allow meaningful data to be supplied to
`
`the microprocessor regardless of absolute values of motor current.
`
`The signal at the microprocessor is a analog signal having the ripple
`
`component as the motor rotates. This signal is in turn interpreted by the
`
`25 microprocessor controller 2 which generates values directly related to motor
`
`speed based upon the sensing and counting of these pulses. Additionally, the
`
`value changes in such a way that the slope can be monitored so that the
`
`microprocessor can use digital signal processing techniques on the input signal
`
`to determine a stalled motor condition representing an obstacle.
`
`30
`
`At motor startup the large currents that are experienced make it difficult to
`
`sense object collisions with the moving window or panel. In accordance with one
`
`12
`
`
`
`embodiment of the invention the controller maintains a position of the leading
`
`edge of the window or panel and during certain startups will alter a startup
`
`sequence.
`
`If the window or panel is stopped in a region where entrapment is more
`
`5
`
`likely, such as in the last portion of travel just before closing of the window or
`
`panel, the motor is energized to move the window a short distance away from its
`
`stopped position away from the closed position. A controller which controls the
`
`motor then reverses motor rotation sense to move the window or panel in a
`
`direction to close the window or panel. Stated another way, the controller causes
`
`1 0
`
`the motor to move the panel or window in a direction to open the window or panel
`
`and then change motor energization to close the window or panel. This process
`
`avoids difficult to sense obstacle detection during the initial start up period of
`
`motor operation.
`
`The region of the window or panel seal is a region of increased motor
`
`15
`
`load. In this region, in accordance with one embodiment of the invention, in
`
`response to a detection of an obstacle, the controller immediately causes motor
`
`deenergization, followed by quick reversal of actuation drive for a short distance
`
`(for example one inch). The controller then performs an immediate re(cid:173)
`
`energization in the initial direction so that a more sensitive and accurate obstacle
`
`20
`
`detection process can be performed. The controller can either determine that the
`
`initial obstacle detection was false due to actuator startup conditions, and thus
`
`continue to power the motor or else verify the obstacle presence that was
`
`previously detected and cause the appropriate response of stopping or
`
`alternatively stopping and reversing the window or panel for a short distance.
`
`25 Measured Motor Parameters - DC Current Sensing
`
`By monitoring the two inputs 216, 226, the microprocessor controller 2
`
`monitors the motor current from which the controller 2 determines both sunroof
`
`incremental position and speed. Sensed motor current is always positive
`
`regardless of motor drive polarity and rotation direction. For either condition of
`
`30
`
`drive polarity the non-energized side of the motor is connected to COMMON
`
`13
`
`
`
`through the low value current sensing resistor 210 to produce a positive analog
`
`signal voltage directly proportionate to the motor current.
`
`This motor current signal is converted via hardware and/or software to a
`
`filtered signal and scaled by a fixed or optionally variable reference voltage to
`
`5
`
`produce a value less than a determined maximum value where the following
`definition applies: CUR = {sensed motor current analog-to-digital-converted and
`scaled to engineering units}, where the analog value for motor current is
`
`10
`
`15
`
`converted to eight-bit digital resolution via an eight-bit ADC (analog-to-digital
`
`converter) within the microprocessor controller 2. Eight bit resolution in a
`controller counter for CUR yields an absolute count range of 0 s CUR s 255,
`where a maximum analog reference voltage is provided to the ADC to set the
`
`anticipated maximum possible motor current limit value represented by a
`
`reference value 255.
`
`A preferred means to increase sensed motor current resolution and thus
`
`improve obstacle detection sensitivity is to adaptively adjust the reference
`voltage (set = value of 255 representative of full scale) and/or the sensed motor
`current signal during times of relatively low current operation, returning to the
`
`highest scale during starting energization, end-stall detection, and as necessary
`
`for obstruction detection. For this eight-bit example, at least one bit of current
`
`20 measurement resolution can be gained during
`
`low current operation by
`
`decreasing the reference voltage by such means as a variable attenuation
`
`network and/or by scaling up the motor current signal by such means as a
`
`variable gain amplifier.
`
`Analog motor current signal is lowpass filtered to remove noises from
`
`25 motor current commutation and switching transients to produce a fast running
`
`average analog drive current signal to the microcontroller representative of motor
`
`torque load conditions. This voltage signal is converted to a scaled digital value
`
`by the microprocessor. For example, normal steady operation of the motor at
`
`low battery voltage causes
`
`the controller
`
`to
`
`register a digital value of
`
`30
`
`approximately 80 of full scale 255, whereas startup energization at high battery
`
`voltage will result in a peak digital value of approximately 240 of full scale 255.
`
`14
`
`
`
`Measured Motor Parameters - AC Current Sensing
`
`Typical DC brush motor current signals also have inherent waveform AC
`
`ripples due to rotor current commutation. These motor current pulses directly
`
`5
`
`relate to
`
`incremental rotation of the motor shaft and since gears and/or
`
`mechanical drive linkages link the shaft to the moving window or panel, directly
`
`relate to incremental change of position of the actuator. The relationship of
`
`motor current commutation pulses to actuator incremental motion
`
`is not
`
`necessarily a linear correspondence.
`
`1 0
`
`Motor current analog signal can be AC coupled, bandpass filtered,
`
`amplified, and compared with a threshold to produce a digital signal via an input
`
`representative of motor current commutation signals. Alternatively, motor current
`
`commutation signals can be directly sensed from the motor current signal via
`
`ADC and digital signal processing bandpass filtering having sufficient resolution
`
`15
`
`to accurately measure the relatively lower amplitude waveforms characteristic of
`
`motor current commutation pulses.
`
`Various alternative and more expensive incremental encoder, absolute
`
`encoder, and resolver means can produce similar signals representative of
`
`incremental or absolute motor rotor position.
`
`20
`
`A