Fluctuation counting filtering and peak detection method and system

Through motor current sensing and finite state machine detection of fluctuation peaks, the problem of complexity and cost of DC electric motor rotation position and speed monitoring in the existing technology is solved, and accurate motor position and speed determination and control are achieved.

CN111293934BActive Publication Date: 2024-09-24MAGNA CLOSURES INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911242039.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-12-06
Filing Date
2019-12-06
Publication Date
2024-09-24
Estimated Expiration
2039-12-06

AI Technical Summary

Technical Problem

In the existing technology, methods for monitoring and controlling the rotational position and speed of DC electric motors usually rely on position sensors, which increases cost, weight, and complexity, and makes it difficult to effectively utilize information on motor current fluctuations caused by mechanical commutation.

Method used

The motor current sensing circuit and controller are used to detect and count the fluctuation peaks in the motor current through the finite state machine unit to determine the motor rotation position and speed, reducing the dependence on additional sensors.

Benefits of technology

It achieves accurate determination of the rotation position and speed of the DC electric motor, reduces system complexity and cost, and improves control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111293934B_ABST
    Figure CN111293934B_ABST
Patent Text Reader

Abstract

The present application relates to fluctuation count filtering and peak detection methods and systems. A control system and a corresponding operation method for controlling a mechanically commutated DC electric motor are provided. The control system includes a motor current sensing circuit, which is used to sense a motor current including multiple fluctuations caused by the commutation of the motor and output a motor current signal. The control system also includes a controller, which includes a finite state machine unit, and the controller is configured to detect multiple fluctuations in the motor current and determine whether each of the multiple fluctuations is a valid fluctuation using the finite state machine unit. The controller is also configured to count the multiple fluctuations determined to be valid using the finite state machine unit, and determine at least one of the motor rotation position and the motor speed of the motor based on the number of the multiple fluctuations determined to be valid.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Application Serial No. 62 / 776,049, filed on December 6, 2018. The entire disclosure of the above application is incorporated herein by reference. Technical Field

[0003] The present disclosure relates generally to methods and systems for monitoring and controlling electric motors, and more particularly to methods for determining at least one of a motor rotational position and a motor speed of a mechanically commutated DC electric motor using a control system based on a plurality of fluctuating peaks of a motor current due to commutation of the mechanically commutated DC electric motor. Background Art

[0004] This section provides background information related to the present disclosure which is not necessarily prior art.

[0005] Window regulators and other power-operated actuators are commonly found on motor vehicles. Such power-operated actuators may utilize a mechanically commutated direct current (DC) motor. In many of these applications, it is desirable to monitor the rotational position and / or speed of the motor's shaft to more accurately control the motion of the mechanism of the power-operated actuator (e.g., the position of a window that can be moved by a window regulator). Although position sensors, such as Hall effect sensors and rotary encoders, can be used in conjunction with the motor, these additional sensors can also increase cost, weight, and / or complexity. Therefore, there remains a need for an improved control system for a DC motor (e.g., for a power-operated actuator) and a method of operating the control system that overcomes these disadvantages. Summary of the invention

[0006] This section provides a general summary of the disclosure, and is not a comprehensive disclosure of the full scope of the disclosure or all of the features and advantages of the disclosure.

[0007] An object of the present disclosure is to provide a motor control system and a method of operating the control system that addresses and overcomes the above disadvantages.

[0008] Therefore, one aspect of the present disclosure is to provide a control system for a mechanically commutated DC electric motor of an actuator for controlling power operation of a vehicle. The control system includes a motor current sensing circuit, which is used to sense a motor current including multiple fluctuations caused by commutation of the mechanically commutated DC electric motor and output a motor current signal. The control system also includes a controller, which communicates with the motor current sensing circuit and includes a finite state machine unit, and the controller is configured to detect the multiple fluctuations in the motor current and determine whether each of the multiple fluctuations is a valid fluctuation using the finite state machine unit. The controller is configured to count the multiple fluctuations determined to be valid using the finite state machine unit, and determine at least one of the motor rotation position and motor speed of the electric motor based on the number of the multiple fluctuations determined to be valid.

[0009] According to another aspect of the present disclosure, a method for determining at least one of a motor rotational position and a motor speed of a mechanically commutated DC electric motor based on a plurality of fluctuation peaks of a motor current caused by commutation of the mechanically commutated DC electric motor using a control system including a controller is provided. The method includes the following steps: pre-processing a motor current signal to isolate the plurality of fluctuation peaks during a determined time period. The method continues by detecting the plurality of fluctuation peaks in the motor current signal using a peak detection unit of the controller. The next step of the method is to calculate a fluctuation period based on an estimated speed of the mechanically commutated DC electric motor. The method continues with the following steps: determining which fluctuation peak of the plurality of fluctuation peaks is above a detection threshold based on a state of the mechanically commutated DC electric motor. Next, a first peak of the plurality of fluctuation peaks is recorded during the fluctuation period in response to one fluctuation peak of the plurality of fluctuation peaks being above the detection threshold. Then, the method includes the following steps: ignoring subsequent fluctuation peaks of the plurality of fluctuation peaks within a predetermined time period after recording the first peak. The method further includes: in response to another fluctuation peak value of the plurality of fluctuation peak values ​​being higher than the detection threshold after the expiration of the predetermined time period, recording one peak value of a plurality of consecutive peak values ​​of the plurality of fluctuation peak values ​​during another predetermined time period. The method continues with the steps of: counting the number of fluctuations of the recorded first peak value and the plurality of consecutive peak values; and determining at least one of a motor rotation position and a motor speed of the mechanically commutated DC electric motor based on the number of fluctuations.

[0010] According to another aspect of the present disclosure, a control system for a mechanically commutated DC electric motor for controlling a power-operated actuator of a vehicle is also provided. The control system includes a motor current sensing circuit for sensing a motor current including a plurality of fluctuations caused by commutation of the mechanically commutated DC electric motor and outputting a motor current signal. The control system also includes a controller that communicates with the motor current sensing circuit and includes a peak detection unit. The controller is configured to detect the plurality of fluctuations in the motor current using the peak detection unit to record a first peak value of the plurality of fluctuations during a fluctuation period in response to one of the plurality of fluctuations having a peak value higher than a detection threshold. The controller is also configured to ignore subsequent fluctuation peaks of the plurality of fluctuation peaks within a predetermined time period after recording the first peak value. In addition, the controller is configured to record a peak value of a plurality of consecutive peak values ​​of the plurality of fluctuation peaks during another predetermined time period in response to another fluctuation peak value of the plurality of fluctuation peaks higher than the detection threshold value after the expiration of the predetermined time period. The controller is also configured to calculate a fluctuation number based on the recorded first peak value and the plurality of consecutive peak values.

[0011] According to another aspect, a method is provided for determining at least one of a motor rotational position and a motor speed of a mechanically commutated DC electric motor based on a plurality of fluctuation peaks of a motor current signal caused by commutation of the mechanically commutated DC electric motor, the method comprising the following steps: detecting the plurality of fluctuation peaks in the motor current signal; determining whether each of the plurality of fluctuation peaks is valid; counting the plurality of fluctuation peaks determined to be valid; and determining at least one of the motor rotational position and the motor speed of the electric motor based on the number of the plurality of fluctuation peaks determined to be valid.

[0012] According to another aspect, a system for determining at least one of a rotational position and a speed of a mechanically commutated DC electric motor of a power actuator unit of a vehicle is provided, the system comprising: a motor current sensing circuit for sensing a motor current including a plurality of fluctuations due to commutation of the mechanically commutated DC electric motor and outputting a motor current signal; and a controller communicating with the motor current sensing circuit, the controller being configured to: receive a motor current signal including the plurality of fluctuation peaks; determine whether the plurality of fluctuation peaks are valid; count the plurality of fluctuation peaks determined to be valid; and determine at least one of the rotational position and the speed of the electric motor based on the number of the plurality of fluctuation peaks determined to be valid.

[0013] According to another aspect, a control system is provided for controlling at least one of the rotational position and speed of a mechanically commutated DC electric motor of a power actuator unit of a vehicle, the control system comprising: a motor current sensing circuit for sensing a motor current including a plurality of fluctuations caused by commutation of the mechanically commutated DC electric motor and outputting a motor current signal; and a controller communicating with the motor current sensing circuit, the controller being configured to: receive a motor current signal including the plurality of fluctuation peaks; determine whether the plurality of fluctuation peaks are valid; count the plurality of fluctuation peaks determined to be valid; and determine at least one of the rotational position and speed of the electric motor based on the number of the plurality of fluctuation peaks determined to be valid; and control the at least one of the rotational position and speed of the motor using the determined at least one of the rotational position and speed of the electric motor.

[0014] According to another aspect, a method for controlling a mechanically commutated DC electric motor based on multiple fluctuation peaks of a motor current signal caused by commutation of the mechanically commutated DC electric motor is provided, the method comprising the following steps: detecting the multiple fluctuation peaks in the motor current signal; determining whether each of the multiple fluctuation peaks is valid; counting the multiple fluctuation peaks determined to be valid; and determining at least one of a motor rotation position and a motor speed of the electric motor based on the number of the multiple fluctuation peaks determined to be valid; and controlling the motor using at least one of the motor rotation position and the motor speed of the electric motor determined based on the number of the multiple fluctuation peaks determined to be valid.

[0015] According to another aspect, a fluctuation detection controller is provided, which includes: a signal acquisition unit connected to a motor voltage and current sensing circuit; a model estimation unit connected to the signal acquisition unit; a signal filtering unit connected to the signal acquisition unit and the model estimation unit; and a peak analysis unit connected to the signal filtering unit, the model estimation unit and the signal acquisition unit 143, so that the peak analysis unit is configured to output at least one of a motor speed and a motor position based on multiple valid fluctuation peak values.

[0016] According to another aspect, a detection system is provided, which includes: a voltage and current variable sampling unit, which is used to sample a motor current signal having multiple fluctuation peaks according to the motor speed; a speed estimator unit, which is used to generate an estimated motor speed based on a model of the motor; a sampling frequency calculation unit, which is used to determine the sampling rate of the motor current signal according to the estimated motor speed; a frequency domain filter, which is used to isolate the fluctuation peaks in the motor current signal; a peak verifier unit, which is used to validate the fluctuation peaks in the motor current signal before counting the fluctuation peaks in the motor current signal and / or to invalidate the valid fluctuation peaks before counting the fluctuation peaks in the motor current signal; a peak detector unit, which is used to time-filter the filtered motor signal current to detect the fluctuation peaks; and a counter unit, which is used to count the valid fluctuation peaks output from the peak detector unit.

[0017] Further areas of applicability will become apparent from the description provided herein.The description and specific examples in this summary are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are for illustrative purposes only of selected embodiments and not all possible implementations, and are not intended to limit the scope of the present disclosure.

[0019] Figure 1 is a perspective view of a motor vehicle including a movable window and closure panel according to an illustrative embodiment;

[0020] Figure 2 is a side view of a closure panel having a movable window and a powered actuator unit according to an illustrative embodiment;

[0021] Figure 3 According to the illustrative embodiment Figure 2 A side cross-sectional view of a power actuator unit;

[0022] Figure 4 is a diagram of a brushed permanent magnet motor according to an illustrative embodiment;

[0023] Figure 5A and Figure 5B shows the opposite side of a printed circuit board of a controller having a control system for controlling an electric motor of a powered actuator unit according to an illustrative embodiment;

[0024] Fig. 6A An example of a motor control system having a detection system according to an illustrative embodiment is shown;

[0025] Figure 6B shows a motor voltage and current sensing circuit for a control system according to an illustrative embodiment;

[0026] Figure 7 shows various units of a controller in communication with a motor voltage and current sensing circuit according to an illustrative embodiment;

[0027] Figure 8 shows a DC removal digital filter unit of a controller according to an illustrative embodiment;

[0028] Fig. 9 An example graph showing the frequency response of a digital bandpass filter unit of a controller in accordance with an illustrative embodiment.

[0029] Fig.10 shows analysis of each of a plurality of possible peak values ​​of a plurality of peak detector samples of a bandpass filtered current signal within a time window of a predetermined peak detection time using a peak detection unit of a controller in accordance with an illustrative embodiment;

[0030] Fig.11 shows using a peak detection unit of a controller to calculate a nearest point average of a predetermined number of peak detector samples of the plurality of peak detector samples before and after each peak of a plurality of possible peaks in accordance with an illustrative embodiment;

[0031] Fig.12 shows a comparison of the magnitude of each of a plurality of possible peaks to an average of the nearest points using a peak detection unit of a controller in accordance with an illustrative embodiment;

[0032] Fig.13 shows an example graph of motor current during operation of an electric motor according to an illustrative embodiment;

[0033] Fig.14 shows a stall condition in detected motor current according to an illustrative embodiment;

[0034] Fig.15 and Fig.16 shows states of a finite state machine unit of a controller according to an illustrative embodiment;

[0035] Fig.17 shows a logic diagram illustrating the operation of a finite state machine unit having a stall condition and an underspeed condition according to an illustrative embodiment;

[0036] Fig.18 and Fig.19 shows a temporal filter applied by a controller to ignore a predetermined amount of fluctuation period samples in accordance with an illustrative embodiment;

[0037] Figure 20 to Figure 22 Steps of a method for determining at least one of a motor rotational position and a motor speed of an electric motor based on a plurality of fluctuation peaks of a motor current due to commutation using a control system according to an illustrative embodiment are shown;

[0038] Fig.23 is a flow chart illustrating the use of a finite state machine to validate a motor current signal according to an illustrative embodiment;

[0039] Fig.24 is a flow chart showing validation of a motor current signal according to an illustrative embodiment; and

[0040] Fig.25 is a block diagram of a detection system according to an illustrative example. DETAILED DESCRIPTION

[0041] In the following description, details are set forth to provide an understanding of the present disclosure. In some cases, certain circuits, structures, and techniques are not described or shown in detail to avoid obscuring the present disclosure.

[0042] In the following description and the appended claims, the expression "closure panel" will be used to generally indicate any element capable of moving between an open position and a closed position to open and close the entrance to an interior chamber of a motor vehicle, and thus, in addition to the side doors of a motor vehicle, closure panels also include trunks, doors, liftgates, sliding doors, rear hatches, hoods or other closed chambers, windows, sunroofs.

[0043] In general, the present disclosure relates to a type of control system that is well suited for use in many electric motor applications. The control system and associated operating methods of the present disclosure will be described in conjunction with one or more example embodiments. However, only the specific example embodiments disclosed are provided to clearly describe the concepts, features, advantages, and purposes of the present invention sufficiently to allow those skilled in the art to understand and practice the present disclosure. Specifically, example embodiments are provided so that the present disclosure will be thorough and the scope will be fully conveyed to those skilled in the art. Many specific details, such as examples of specific components, devices, and methods, are set forth to provide a thorough understanding of the embodiments of the present disclosure. It will be apparent to those skilled in the art that specific details need not be adopted, and that example embodiments can be implemented in many different forms, and none of them should be construed as limiting the scope of the present disclosure. In some example embodiments, well-known processes, well-known device structures, and well-known technologies are not described in detail.

[0044] Now first refer to the accompanying drawings Figure 1, an example of a motor vehicle 10 is shown having a body 12, a hinged front door 14, and a sliding rear door 16. The front door 14 is equipped with a window 18 that is movable between a closed position and an open position via a power-operated window lift system. Similarly, the rear door 16 is equipped with a window 20 that is movable between a closed position and an open position via a power-operated window lift system. Although the present disclosure will be described below specifically with respect to a window lift system associated with the rear sliding door 16, it will be recognized and appreciated by those skilled in the art that an arrangement similar to that described herein may be adapted for use with the front door 14 and / or with a window 22 associated with a hinged lift door 24, with any other type of closure panel, and with other vehicle power actuators such as for power release, power lock in a vehicle door latch, and may be adapted for tie-down actuators, etc.

[0045] like Figure 2 As best shown in FIG. 1 , an automatic power actuator unit 26 for a power-operated window lift system, particularly a window regulator, of a motor vehicle 10 is provided. The power actuator unit 26 is operable to move the window lift system 10, particularly a window regulator, to the vehicle 10 via a coupling 27. Figure 1 and Figure 2 The sliding glass pane or window 20 is driven between an open position and a closed position relative to a support frame 29 fixed to the door 16. The power-operated actuator 26 includes an electric motor 28 and a controller unit 30 electrically coupled to the electric motor 28, the controller unit 30 including suitable hardware and / or software (as will be discussed below) to control the operation of the electric motor 28.

[0046] Now refer to Figure 3 , shows an example of a powered actuator unit 26. According to an illustrative example, the powered actuator unit 26 may be a powered actuator unit having a brushed DC motor (BDC). Figure 3Also shown in more detail is a power actuator unit 26 including a drive housing 32 for an electric motor 28. The drive housing 32 defines a gear chamber 34, a motor shaft chamber 36 in communication with the gear chamber 34, and a motor mounting chamber 38 in communication with the shaft chamber 36. A worm 40 fixed to a motor shaft 42 meshes with a large gear drive gear 44 rotatably supported in the gear chamber 34. The rotating portion of the large gear 44 includes an output shaft 46 that is operably connected to a drum (not shown) to control the rotation of a drum associated with a cable pulley drive mechanism when the large gear 44 rotates. The electric motor 28 is mounted in the mounting chamber 38 and is operable to control the amount and direction of rotation of the motor shaft 42. The housing 32 includes a plurality of mounting lugs 48 with apertures for fixing the power actuator unit 26 to the door 16. The control signal provided by the controller unit 30 is supplied to the power actuator unit 26. Illustratively, the controller unit 30 is shown remote from the motor 28 and electrically connected to the motor 28 via a wiring harness 50 having one end secured in a plug in an electrical connector 52 extending from the mounting chamber 38. Alternatively, the control signals may be provided by a local controller unit 30 mounted, for example, to a printed circuit board (PCB) 54 disposed within the drive housing 32.

[0047] Now refer to Figure 4 , the motor 28 is shown as a 2-pole permanent magnet motor and includes a pair of motor brushes 56 such as carbon brushes and an armature 58 having two commutator poles 60, each of which is connected to a set of armature windings 62. When the current supplied from the controller unit 30 flows from one armature winding 62 to the next armature winding via the brushes 56 in contact with the poles 60, the armature 58 rotates to energize the armature windings and generate a magnetic field to attract the armature toward the permanent magnets 64 or repel the armature away from the permanent magnets 64. As the armature 58 rotates, the motor brushes 56 create a short circuit between each adjacent commutator pole 60. This short circuit reduces the armature resistance and causes an increase in the supplied current, resulting in a fluctuation in the current proportional to the rotational speed of the motor 28 as generated by the magnetic energy induced on the motor commutator poles 60, which will be detected in a manner as will be described below. It should be appreciated that other configurations of brushed motor 28 besides a 2-pole magnet motor may be provided.

[0048] In addition to reference Figure 3 , now refer to Figure 5A and Figure 5B, illustratively showing a controller device 96 implementing the controller unit 30. The controller device 96 is shown as generally including a printed circuit board 54, which is disposed within the enclosed chamber 98 when the enclosed cover plate 100 is mounted to the enclosed portion 101 of the actuator housing 102. The PCB 54 is shown as including various electrical or electronic components for controlling the operation of the power actuator unit 26. A connector port 103 is formed in the PCB 54, and the connector port 103 is constructed and arranged to receive a connector terminal 104 associated with a plug-in electrical connector 50 disposed in the connector portion 52 of the housing 102. The electronics mounted to the PCB 54 and electrically connected to each other may include hardware components and software components, such as a microcontroller or controller 110 such as a microprocessor, and a memory module 112 such as a memory chip for storing instructions and algorithms (e.g., code) for execution by the motor control methods and techniques described herein. Other components such as resistors, inductors and capacitors and other signal conditioning / support components are provided for operating the controller 110 and the memory module 112 to control the motor 28. For example, the instructions and codes stored on the memory module 112 may also be related to various system modules, such as application programming interface (API) modules, driver APIs, digital input and output APIs, diagnostic APIs, communication APIs, and communication drivers for LIN communication and CAN bus communication with a body control module (BCM) or other vehicle systems. Although the modules or units may be described herein as being loaded into the memory 112, it should be understood that the modules or units may be implemented in hardware and / or software. FET hardware such as an H-bridge FET 114 (field effect transistor) such as a power transistor switch may also be mounted to the PCB 54 for providing a pulse width modulated signal to the winding 62, and software such as a FET API loaded into the memory 112 associated with the FET 114 may also be mounted to the PCB 54.

[0049] Instructions and algorithms (e.g., code) for execution by the controller 110 (for motor monitoring / control methods and techniques) may be associated with control of a motor driver circuit 115 having an H-bridge FET 114 (including field effect transistors, such as power transistor switches) to provide coordinated power to the motor 28, for example, the FETS 114 are controlled as load switches to connect or disconnect a power source 133 of electrical energy (voltage / current) controlled by the controller 110 or FET driver to control the motor 28. Illustratively, the controller 110 is electrically connected directly or indirectly to the H-bridge FET 114 to control the H-bridge FET 114 (e.g., for controlling the FET switching rate). The H-bridge FET 114 is shown as illustratively connected to the motor 28 via wires 116 (e.g., two wires, +ve and -ve), which are connected to connector pins 118 mounted to the printed circuit board 54. The sensed current signal and the back electromotive force (EMF) voltage signal generated by the rotation of the motor 28 may also be illustratively received by the controller 110 via the same wires 116. Although the controller unit 30 is illustrated as being implemented in a power actuator unit 26 for a window regulator, it should be understood that the controller unit 30 may be incorporated into another system, such as into a power door opening actuator for controlling the closing or opening of the doors 14, 16, 24, or incorporated into a separate door control module mounted to the doors 14, 16, 24, which may be provided with, for example, an internal printed circuit board such as a PCB, a microprocessor, a memory, and a FET.

[0050] The controller unit 30 includes a control system 120 ( Fig. 6A , Figure 7 The control system 120 includes a motor voltage and current sensing circuit 122 for sensing a motor current 123 and a motor voltage 125 of the electric motor 28 and outputting a corresponding motor current signal and a motor voltage signal. Figure 6B. In more detail, the motor voltage and current sensing circuit 122 includes a four-terminal shunt resistor 124 (e.g., Bourns CST0612) connected in series with the electric motor 28. Two current sensing amplifiers 126 (e.g., Texas Instruments INA286-Q1) are connected to the four-terminal shunt resistor 124 to sense current in two directions. Two voltage dividers 128 are also connected to the four-terminal shunt resistor 124 to provide voltage sensing in two directions. Although the motor voltage and current sensing circuit 122 can be implemented as shown, it should be understood that the motor voltage and current sensing circuit 122 can be implemented using various other circuits capable of sensing the motor current and motor voltage of the electric motor 28. The fluctuation detection controller 110 includes, for example, a signal acquisition unit 143 connected to the motor voltage and current sensing circuit 122, a model estimation unit 135 connected to the signal acquisition unit 143, and a signal filtering unit 137 connected to the signal acquisition unit 143 and the model estimation unit 135. The signal acquisition unit 143, the model estimation unit 135 and the signal acquisition unit 143 form a signal preprocessing unit 131. The controller 110 also includes a peak analysis unit 139 coupled to the signal preprocessing unit 131 and, for example, coupled to the signal filtering unit 137, the model estimation unit 135 and the signal acquisition unit 143. The peak analysis unit 139 can be coupled to the motor control unit 141, so that the peak analysis unit 139 is configured to output 151 at least one of a motor speed and a motor position, such as a motor rotation, based on the peak value detected in the manner described herein. The motor control unit 141 is configured to receive an output 151 of at least one of a motor speed and a motor position, and perform a control operation of the motor 28, such as performing a feedback control method, such as, as an example but not limiting, a PID control. The motor controller unit 141 may be coupled to the motor driver unit 115, which may take the form of an application specific integrated circuit having a field effect transistor ("FET") coupled to the motor 28 to control the power supplied to the motor 28 from the power source 133, for example, to drive the motor 28 in different directions and / or at different speeds. The motor control unit 141 may be configured with an anti-pinch function that uses an output 151 of at least one of motor speed and motor position to provide pinch detection, such that the motor control unit 141 may control the motor 28 to stop or reverse direction when the motor control unit 141 detects pinching. The output 151 may be provided to other types of systems, such as, by way of example only, an obstacle detection and warning system, a stall detection system.Units 143, 135, 131, 137, 139, 131 may be provided as units, for example, loaded into a memory of a digital signal processor, as embodied as executable instructions, such as in firmware, software, source code, etc., but it should be understood that the modules or units may be implemented in the form of hardware and / or software, for example as a dedicated signal processing chipset, a field programmable gate array, an ASIC, etc. without limitation and in various combinations.

[0051] like Figure 7 As best shown in FIG. 1 , the control system 120 also includes a controller 110 coupled to the motor voltage and motor current sensing circuit 122, the controller 110 including a dynamic period estimation unit 130, a DC motor model unit 132, a DC removal digital filter unit 134, a digital bandpass filter unit 136, a peak detection unit 138, and a peak counting unit 140. The controller 110 may also utilize other units or modules, such as an analog-to-digital conversion timing unit 142 in communication with the dynamic period estimation unit 130 (e.g., to receive an estimated motor speed) and an analog-to-digital conversion signal acquisition unit 144 in communication with the analog-to-digital conversion timing unit 142 and with a unit conversion unit 146 in communication with the DC motor model unit 132. The controller 110 may also include a moving average speed filter unit 148 that communicates with the DC motor model unit 132, a direction estimator unit 150 that communicates with the unit conversion unit 146 (e.g., for performing a moving average filter on the motor speed estimated by the DC motor model unit 132), and a motor speed measurement unit 152 that is configured to output at least one of a motor rotational position and a motor speed of the electric motor 28.

[0052] The controller 110 is configured to determine an estimated motor speed of the electric motor 28 based on the motor current signal and the motor voltage signal using the DC electric motor model unit 132. More specifically, the DC electric motor model unit 132 uses electrical equations representing a permanent magnet DC motor model to generate, for example, an estimate of the shaft speed of the electric motor 28 continuously based on the acquisition of the motor voltage signal and the motor current signal. The estimated motor speed is used, for example, to tune the sampling rate by controlling the trigger timing (e.g., the trigger timing of the analog-to-digital conversion timing unit 142). In addition, the current signal and the voltage signal are used to make an estimate of the motor direction (e.g., using the direction estimator unit 150).

[0053] The controller 110 is also configured to remove the DC portion of the motor current signal using a DC removal digital filter unit 134 and extract an AC motor current signal. Figure 8As best shown in , the DC removal digital filter unit 134 includes a shift register 154, which is configured to delay the motor current signal by a fixed phase shift factor and output the delayed motor current signal. The separation of the DC component of the current signal from the AC component by the DC removal digital filter unit 34 is achieved by using a low pass filter with a fixed coefficient. In an embodiment, the DC removal digital filter unit 134 also includes a moving average filter 156, which is configured to filter the DC portion of the motor current signal and output a DC motor current signal 1117 (the DC component of the motor current signal). The shift register 154 is necessary because the DC moving average filter 156 introduces a phase shift between the initial motor current signal and the filtered signal (DC component) 1117 and the DC component and the motor current signal must be aligned. Therefore, the initial motor current signal is delayed by a fixed phase shift factor, thereby ensuring proper synchronization between the motor current signal and the filtered signal (DC component). In addition, the DC removal digital filter unit 134 includes a subtraction unit 158 ​​configured to subtract the DC motor current signal 1117 from the delayed motor current signal and output an AC motor current signal 1115. Therefore, the DC portion of the motor current signal is calculated using a digital filter (moving average), and the difference between the motor current signal and the output of the DC removal digital filter unit 134 is the AC portion of the motor current signal containing fluctuation pulses or multiple fluctuation peaks (caused by the commutation of the motor brushes).

[0054] Return to reference Figure 7, the controller 110 is configured to isolate multiple fluctuation peaks of the AC motor current signal using a digital bandpass filter unit 136 to output a bandpass filtered current signal, the digital bandpass filter unit 136 being capable of operating at a bandpass sampling frequency and having multiple fixed coefficients and having a variable center frequency, the variable center frequency being changed by adjusting the bandpass sampling frequency in proportion to the estimated motor speed. Typically, a digital filter such as the digital bandpass filter unit 136 is a mathematical operation involving a sampled signal (e.g., an AC portion of the motor current signal) and a given number of numerical coefficients. Changing the number of coefficients and the values ​​of the coefficients will change the filter response. Therefore, the filter response depends on the mathematical operation, coefficients, and sampling frequency involved. However, changing the coefficients to change the filter response generally requires computationally demanding operations, so the sampling frequency of the digital bandpass filter unit 136 described herein is used to change the center frequency of the digital bandpass filter unit 136. The fluctuation frequency is proportional to the motor shaft speed, and the center frequency of the filter will change accordingly to obtain only the fluctuation signal. Therefore, better performance can be achieved, especially during the transition phases of the electric motor 28, such as motor starting and motor braking phases.

[0055] An example graph of the frequency response of the digital bandpass filter unit 136 is shown in Fig. 9 . The frequency response 399 gives a representation of the attenuation of the input signal at a particular frequency after the filter calculation. For example, the Y-axis 401 represents the amplitude (dB) and the X-axis 403 represents the normalized frequency (Xπrad / sample). When the frequency of the input signal is 10% of the frequency design of the filter shown, the digital bandpass filter unit 136 gives a smaller attenuation. However, it should be understood that the digital bandpass filter unit 136 can have other frequency responses. Therefore, the DC removal digital filter unit 134 and the digital bandpass filter unit 136 help to infer the fluctuating signal.

[0056] The controller 110 may be configured to determine a maximum value within a predetermined time period, such that the maximum value identified by the controller 110 is determined by the controller 110 to be a valid fluctuation peak value. For example, the controller 110 of the control system 120 then uses the peak detection unit 138 to analyze each of the multiple possible peak values ​​160 of the multiple peak detector samples of the bandpass filtered current signal within a time window of a predetermined peak detection time, or the maximum value of a sample group within a time window or a predetermined time period, such as Fig.10In other words, the AC portion of the motor current signal containing the plurality of fluctuation peaks is analyzed to count the peaks of the signal including rising peaks and falling values. More specifically, a window of 2k+1 time series points is established, and the element at the center of the window is considered to be a possible peak of the signal. The controller 110 is then configured to calculate, using the peak detection unit 138, a nearest point average 161 (e.g., K leftmost points 162 and K leftmost points 164) of a predetermined number of peak detector samples from the plurality of peak detector samples before and after each possible peak of the plurality of possible peaks 160, as Fig.11 Next, the controller 11 is configured to compare the magnitude of each of the plurality of possible peaks 160 (e.g., the distance 166 from the nearest point average) with the nearest point average 161 using the peak detection unit 138, and determine that each of the plurality of possible peaks 160 of the bandpass filtered current signal is the plurality of peaks in response to the difference between the magnitude of each of the plurality of possible peaks 160 and the nearest point average 161 exceeding a predetermined peak determination threshold using the peak detection unit 138, as shown in FIG. Fig.12 As best shown in . Therefore, the average value of the k closest points of the series of the plurality of peak detector samples from the central element or sample (e.g., the closest point average value 161) is calculated, and then the distance or size from those average values ​​161 is compared with a threshold to determine whether the point is a peak. This technique is more suitable than zero-crossing. Therefore, the controller 110 is configured to use the peak detection unit 138 to detect multiple fluctuation peaks of the bandpass filtered current signal.

[0057] Due to the differences in motor current and motor voltage at various operating stages of the electric motor 28, the controller 110 also includes a configuration that operates in a mode or state that is interoperable through transitions. For example, the controller 110 may be configured with a finite state machine unit 168 ( Figure 7 ), the finite state machine unit 168 includes or is defined by different states and transitions between states. An example graph of the motor current during operation of the electric motor 28 is shown in FIG. Fig.13 and Fig.14Specifically, after the initial region 170 of no fluctuation or erroneous fluctuation is a starting spike 172, after the starting spike 172 is a steady-state region 174, and the region indicated by the horizontal line 176 is a time period in which a good fluctuation pulse can be detected. For example, if the amplitude of each of the plurality of fluctuation peaks is below a predetermined steady-state threshold, i.e., during steady-state operation of the motor 28, and, for example, the peak value of the fluctuation pulse is below the threshold indicated by the horizontal line 176, each of the plurality of fluctuation peaks is determined by the controller 110 to be valid. The stall region 178 indicating a stall condition of the electric motor 28 is in Fig.14 Shown in.

[0058] Using the finite state machine unit 168, the controller 110 is also configured to determine whether each peak value in the plurality of peak values ​​is valid. Fig.15 and Fig.16 As best shown in FIG. 1 , the finite state machine unit 168 includes a waiting state 180, a running state 182, and a stop state 184. Therefore, the finite state machine unit 168 is used to check whether the plurality of fluctuation pulses are valid. Specifically, the current signal, the voltage signal, and the estimated speed signal are analyzed to determine whether the detected fluctuation pulses are valid based on the current and voltage thresholds.

[0059] Therefore, the controller 110 is configured to analyze the motor current signal and the motor voltage signal and estimate the motor speed using the finite state machine unit 168. The controller 110 is also configured to determine that one of the plurality of peaks is not valid in the waiting state 180 using the finite state machine unit 168, and transition from the waiting state 180 to the running state 182 in response to the motor voltage signal being above the voltage high threshold and the motor current signal being above the current high threshold, and determine that the one of the plurality of peaks is valid in the running state 182 using the finite state machine unit 168. Using the finite state machine unit 168, the controller 110 is also configured to transition from the running state 182 to the stop state 184 in response to the motor voltage signal being below the voltage low threshold and the motor current signal being below the current low threshold, and determine that the one of the plurality of peaks is valid in the stop state 184. In addition, the controller 110 is configured to transition from the stop state 184 to the run state 182 in response to the motor voltage signal being higher than the voltage low threshold or the motor current signal being higher than the current low threshold, and to determine using the finite state machine unit 168 that the one of the multiple peaks is valid in the run state 182. In response to the passage of a predetermined threshold time, the controller 110 is also configured to transition from the stop state 184 to the wait state 180 using the finite state machine unit 168 and to determine that the one of the multiple peaks is not valid in the wait state 180 (machine peak valid condition 185).

[0060] In addition, if Fig.17 As best shown in the logic diagram of , the controller 110 is also configured to determine using the finite state machine unit 168 that a stall condition 186 exists in response to the motor current signal being above a predetermined stall current threshold value within a predetermined stall time period. Thus, the finite state machine unit 168 checks whether the motor current signal is above a certain threshold value for a given time, and if so, identifies a stall condition 186. The stall condition 186 invalidates the peak validity condition 188. The controller 110 is also configured to determine using the finite state machine unit 168 whether the estimated motor speed is below a predetermined underspeed motor speed. If the stall or underspeed condition 190 occurs, the controller 110 is configured to invalidate one of the plurality of peak values ​​in response to determining the stall condition 186 using the finite state machine unit 168 and in response to determining using the finite state machine unit 168 that the estimated motor speed is below a predetermined underspeed motor speed (i.e., the underspeed condition 190). Thus, when the estimated speed is below a certain threshold, the one of the plurality of peaks is declared invalid by the finite state machine unit 168 (as indicated by the peak validity condition 188).

[0061] The controller 110 is configured to calculate a fluctuation period 192 having a plurality of fluctuation period samples based on the estimated motor speed of the electric motor 28. The variable sampling time implicitly supplies the controller 110 with the number of points per fluctuation period specified by the parameter. Fig.18 and Fig.19 As best shown in , the controller 110 applies a time filter (the time filter is indicated as on by 194 and the time filter is indicated as off by 196) to ignore a predetermined number of fluctuation cycle samples after one of the plurality of peaks is detected by the peak detection unit 138 using the peak counting unit 140, the predetermined number of fluctuation cycle samples being half of the fluctuation cycle samples of the plurality of fluctuation cycle samples. Thus, the controller 110 reduces the number of false pulses or fluctuations 198 detected using the time filter, which is applied to identify only peaks with a specific time interval. For example, if ten points are sampled per fluctuation cycle, after a peak is identified, the controller 110 waits for five points to begin identifying another peak. Therefore, the controller 110 is configured to remove the time filter (the time filter is indicated as off by 196) after the predetermined number of fluctuation cycle samples have been ignored to continue counting the plurality of peaks using the peak counting unit 140. In addition, the controller 110 is configured to count a plurality of fluctuation peaks using the peak counting unit 140 , and determine the motor rotation position and / or the motor speed of the electric motor 28 based on the number of the plurality of fluctuation peaks counted by the peak counting unit 140 .

[0062] As in Figure 20 to Figure 22 As best shown in , a method for determining at least one of a motor rotational position and a motor speed of a mechanically commutated DC electric motor 28 (e.g., using a control system 120 including a controller 110) based on a plurality of fluctuating peaks of the motor current due to commutation of the mechanically commutated DC electric motor 28 is also provided. The method begins at step 200 of monitoring the motor current of the mechanically commutated DC motor using a motor voltage and current sensing circuit 122 of the controller 110 and outputting a motor current signal and a motor voltage signal. In addition, the method includes the following step 202: determining an estimated motor speed of the electric motor 28 based on the motor current signal and the motor voltage signal using a DC motor model unit 132 of the controller 110.

[0063] The method includes step 204: pre-processing the motor current signal to isolate multiple fluctuation peaks during a determined time period. As described above, the controller 110 includes a DC removal digital filter unit 134, so the step 204 of pre-processing the motor current signal to isolate multiple fluctuation peaks during a determined time period includes step 206: using the DC removal digital filter unit 134 to remove the DC portion of the motor current signal and extract the AC motor current signal. More specifically, the step 206 of removing the DC portion of the motor current signal and extracting the AC motor current signal using the DC removal digital filter unit 134 includes step 208: using the shift register 154 of the DC removal digital filter unit 134 to delay the motor current signal by a fixed phase shift factor and output the delayed motor current signal. Next, the method can continue to execute 210: using the moving average filter 156 of the DC removal digital filter unit 134 to filter the DC portion of the motor current signal and output the DC motor current signal. The method then includes step 212 of subtracting the DC motor current signal from the delayed motor current signal using the subtraction unit 158 ​​of the DC removal digital filter unit 134 and outputting an AC motor current signal.

[0064] As described above, the controller 110 includes the digital bandpass filter unit 136. Therefore, the step 204 of pre-processing the motor current signal to isolate multiple fluctuation peaks during a determined time period also includes the step 214 of isolating multiple fluctuation peaks of the AC motor current signal using the digital bandpass filter unit 136 to output a bandpass filtered current signal, wherein the digital bandpass filter unit 136 is capable of operating at a bandpass sampling frequency and having multiple fixed coefficients and having a variable center frequency, and the variable center frequency is changed by adjusting the bandpass sampling frequency in proportion to the motor speed, for example, the estimated motor speed.

[0065] Next, the method includes 216: using the peak detection unit 138 of the controller 110 to detect multiple fluctuating peaks in the motor current signal. The step 216 of using the peak detection unit 138 of the controller 110 to detect multiple fluctuating peaks in the motor current signal also includes step 218: using the peak detection unit 138 to analyze each of the multiple possible peaks of the multiple peak detector samples of the bandpass filtered current signal within the time window of the predetermined peak detection time. The method continues with 220: using the peak detection unit 138 to calculate the nearest point average of a predetermined number of peak detector samples before and after each of the multiple possible peaks. The next steps of the method are 222 and 224: 222: using the peak detection unit 138 to compare the size of each of the multiple possible peaks with the nearest point average; 224: in response to the difference of comparing the size of each of the multiple possible peaks with the calculated nearest point average using the peak detection unit 138 exceeding the predetermined peak determination threshold, it is determined that each of the multiple possible peaks of the bandpass filtered current signal is a plurality of peaks. The method may further include step 226 of calculating a fluctuation period based on an estimated speed of the mechanically commutated DC electric motor 28 .

[0066] The method also includes step 228 of determining which of the plurality of fluctuation peaks is above a detection threshold based on the state of the mechanically commutated DC electric motor 28 (e.g., using the finite state machine unit 168 of the controller 110, the finite state machine unit 168 receiving the unregulated motor current signal and the unregulated motor voltage signal). In more detail, step 228 of determining which of the plurality of fluctuation peaks is above the detection threshold based on the state of the mechanically commutated DC electric motor 28 may include step 230 of analyzing the motor current signal, the motor voltage signal, and the estimated motor speed using the finite state machine unit 168. The method may continue with step 232 of determining, using the finite state machine unit 168, that one of the plurality of peaks is not valid in the waiting state 180. The next step of the method is 234 of transitioning from the waiting state 180 to the running state 182 in response to the motor voltage signal being above the voltage high threshold and the motor current signal being above the current high threshold, and determining, using the finite state machine unit 168, that the one of the plurality of peaks is valid in the running state 182. The method may continue with step 236: transitioning from the run state 182 to the stop state 184 in response to the motor voltage signal being below the voltage low threshold and the motor current signal being below the current low threshold, and determining using the finite state machine unit 168 that the one of the multiple peaks is valid in the stop state 184. The next step of the method is 238: transitioning from the stop state 184 to the run state 182 in response to the motor voltage signal being above the voltage low threshold or the motor current signal being above the current low threshold, and determining using the finite state machine unit 168 that the one of the multiple peaks is valid in the run state 182. The method may also include step 240: transitioning from the stop state 184 to the wait state 180 in response to a predetermined threshold time having elapsed, and determining using the finite state machine unit 168 that the one of the multiple peaks is not valid in the wait state 180. The method may also include step 242: determining using the finite state machine that a stall condition exists in response to the motor current signal being above a predetermined stall current threshold within a predetermined stall time period (e.g., see Fig.14 ), and in response to determining a stall condition using the finite state machine unit 168, invalidating a valid one of the plurality of peaks. Next, the method may proceed to 244 by determining using the finite state machine unit 168 whether the estimated motor speed is less than a predetermined underspeed motor speed, and in response to determining using the finite state machine unit 168 that the estimated motor speed is less than the predetermined underspeed motor speed, invalidating a valid one of the plurality of peaks.

[0067] The method continues with 246: recording a first peak of a plurality of fluctuation peaks during a fluctuation period in response to one of the plurality of fluctuation peaks being above a detection threshold. The method also includes step 248: ignoring subsequent fluctuation peaks of a plurality of fluctuation peaks within a predetermined time period or not counting subsequent fluctuation peaks of a plurality of fluctuation peaks within a predetermined time period after recording the first peak. The method then includes step 250: recording one of a plurality of consecutive peaks of a plurality of fluctuation peaks within another predetermined time period in response to another peak of the plurality of fluctuation peaks being above a detection threshold after expiration of the predetermined time period. The method continues with 252: returning to the step of recording the first peak of a plurality of fluctuation peaks within another fluctuation period in response to expiration of the fluctuation period.

[0068] The method proceeds to step 254: counting the number of fluctuations of the recorded first peak and multiple consecutive peaks. The fluctuation period has multiple fluctuation period samples, and the step of calculating the fluctuation period based on the estimated speed of the mechanically commutated DC electric motor 28 may also include step 256: applying a time filter to ignore a predetermined number of fluctuation period samples after a peak of the multiple peaks is detected by the peak detection unit 138 using the peak counting unit 140, the predetermined number being, for example, at least half of the multiple fluctuation period samples, and wherein the method further includes step 258: removing the time filter after the predetermined number of fluctuation period samples have been ignored to continue counting the multiple peaks using the peak counting unit 140. The method proceeds to 260: determining at least one of the motor rotation position and the motor speed of the mechanically commutated DC motor 28 based on the number of fluctuations.

[0069] Now refer to Fig.23 , a method for validating a motor current signal of a control system 120 for controlling a mechanically commutated DC electric motor 28 of a power actuator unit of a vehicle is provided. Again, the control system 120 includes a motor current sensing circuit 122, which is used to sense a motor current including a plurality of fluctuations caused by commutation of the mechanically commutated DC electric motor 28 and output a motor current signal. The method includes step 262: configuring the controller 110 to communicate with the motor current sensing circuit 122, and configuring the controller 110 to include a finite state machine unit 168 for detecting a plurality of fluctuations in the motor current. Next, step 264 is performed: using the finite state machine unit 168 to determine whether each of the plurality of fluctuations is a valid fluctuation. The next step of the method is 266: counting the plurality of fluctuations determined to be valid using the finite state machine unit 168. The method also includes step 268: determining at least one of the motor rotation position and the motor speed of the electric motor 28 based on the number of the plurality of fluctuations determined to be valid.

[0070] Apart from Figures 1 to 23 In addition, now refer to Fig.24 , also shows a method 1000 for determining at least one of a motor rotational position and a motor speed of a mechanically commutated DC electric motor based on a plurality of fluctuation peaks of a motor current signal caused by commutation of the mechanically commutated DC electric motor, the method 1000 comprising the following steps: detecting the plurality of fluctuation peaks in the motor current signal 1002; determining whether each of the plurality of fluctuation peaks is valid 1004; counting the plurality of fluctuation peaks determined to be valid 1006; and determining at least one of a motor rotational position and a motor speed of the electric motor based on the number of the plurality of fluctuation peaks determined to be valid 1008.

[0071] The method 1000 may further include the steps of: sampling the motor current at a sampling frequency; using a motor model to estimate the motor speed using the motor current; and changing the sampling frequency in proportion to the motor speed.

[0072] The method 1000 may also include the step of applying a filter to the motor current signal, the filter having a filter response that is modified in response to changing the sampling frequency. The filter may be a digital bandpass filter, and the method 1000 may also include the step of extracting a DC component of the motor current signal using a digital moving average filter located upstream of the digital bandpass filter prior to the step of applying the filter.

[0073] Method 1000 may also include the following steps: calculating the average value of each fluctuation peak value among the multiple fluctuation peak values ​​within a period; and determining whether at least one peak fluctuation peak value is higher than the average value by a predetermined amount; and in response to determining that at least one peak value is higher than the average value by a predetermined amount within a predetermined time period, making the at least one peak fluctuation peak value valid.

[0074] Method 1000 may also include the following steps: in response to determining one of the multiple fluctuation peaks, recording a first fluctuation peak among the multiple fluctuation peaks during a fluctuation period; ignoring subsequent fluctuation peaks among the multiple fluctuation peaks within a predetermined time period after recording the first peak; in response to determining another fluctuation peak among the multiple fluctuation peaks after the expiration of a predetermined time period, recording one of the multiple consecutive peaks among the multiple fluctuation peaks during another predetermined time period; counting the number of fluctuations of the recorded first peak and the multiple consecutive peaks; and determining at least one of the motor rotation position and the motor speed of the mechanically commutated DC electric motor based on the number of fluctuations. The step of determining whether each of the multiple fluctuation peaks is valid includes the following steps: analyzing the motor current signal and the motor voltage signal and estimating the motor speed; determining that one of the multiple peaks is not valid in the waiting state; changing from the waiting state to the running state in response to the motor voltage signal being higher than the voltage high threshold and the motor current signal being higher than the current high threshold, and determining that the one of the multiple peaks is valid in the running state; changing from the running state to the stop state in response to the motor voltage signal being lower than the voltage low threshold and the motor current signal being lower than the current low threshold, and determining that the one of the multiple peaks is valid in the stop state; changing from the stop state to the running state in response to the motor voltage signal being higher than the voltage low threshold or the motor current signal being higher than the current low threshold, and determining that the one of the multiple peaks is valid in the running state; and changing from the stop state to the waiting state in response to a predetermined threshold time having passed, and determining that the one of the multiple peaks is not valid in the waiting state.

[0075] The method 1000 may also include using a finite state machine unit having a wait state, a run state, and a stop state.

[0076] Method 1000 may also include at least one of the following steps: in response to the motor current signal being higher than a predetermined stall current threshold within a predetermined stall time period, determining that a stall condition exists; and in response to determining the stall condition, invalidating the valid one of the multiple peaks; and determining whether the estimated motor speed is lower than a predetermined underspeed motor speed; and in response to determining that the estimated motor speed is lower than the predetermined underspeed motor speed, invalidating the valid one of the multiple peaks.

[0077] Apart from Figures 1 to 24 In addition, now refer to Fig.25, a detection system 200 for implementing the teachings herein is also provided, the detection system 200 comprising: a voltage and current variable sampling unit 202, the voltage and current variable sampling unit 202 is, for example, the signal acquisition unit 143 and is used to sample the motor current having a plurality of fluctuation peaks according to the motor speed, for example, the estimated motor speed; a speed estimator unit 204 with DC motor modeling, the speed estimator unit 204 is, for example, the model estimation unit 135, connected to the voltage and current variable sampling unit 202 and is used to generate an estimated motor speed based on the model of the motor 28; a sampling frequency calculation unit 205, the sampling frequency calculation unit 205 For example, it is a dynamic period estimation unit 130 and is used to determine the sampling rate of the motor signal based on the estimated motor speed, so as to control the timing of the analog-to-digital converter (ADC); a frequency domain filter 206, the frequency domain filter 206 is, for example, a DC removal digital filter unit 134 and / or a digital bandpass filter unit 136 and is used to isolate the fluctuation peaks in the motor current, for example, to isolate the fluctuation peaks in the motor current based on the estimated motor speed; and a peak verifier unit 208, the peak verifier unit 208 is, for example, a finite state machine unit 168 and is used to validate the fluctuation peaks in the motor current before counting the fluctuation peaks in the motor current and / or to invalidate the valid fluctuation peaks before counting the fluctuation peaks in the motor current; a peak detector unit 210, the peak detector unit 210 is, for example, the peak detection unit 138 and is used to time filter the filtered motor current to detect the fluctuation peaks; and a counter unit 212, the counter unit 212 is, for example, the peak counting unit 140 and is used to count the valid fluctuation peaks output from the peak detector unit 210.

[0078] Obviously, without departing from the scope defined in the appended claims, the content described and shown herein can be changed. For the purpose of illustration and description, the foregoing description of the embodiment has been provided. The foregoing description is not intended to be exhaustive or limit the present disclosure. Each element or feature of a particular embodiment is generally not limited to the particular embodiment, but even if not specifically shown or described, each element or feature of a particular embodiment can be interchangeable when applicable and can be used in the selected embodiment. Each element or feature of a particular embodiment can also be changed in many ways. These modifications should not be considered to depart from the present disclosure, and all these modifications are intended to be included in the scope of the present disclosure.

[0079] The terms used herein are only for the purpose of describing specific example embodiments, and are not intended to be restrictive. As used herein, unless the context clearly indicates otherwise, the singular forms of "one", "a kind of" and "the" may also be intended to include plural forms. The terms "include", "comprise", "include", "include" and "have" are inclusive, and therefore specify the existence of the features, integers, steps, operations, elements and / or parts described, but do not exclude the existence or addition of one or more other features, integers, steps, operations, elements, parts and / or their groups. Unless the order of execution is specifically indicated, the method steps, processes and operations described herein should not be interpreted as necessarily needing to be performed in the particular order discussed or illustrated. It should also be understood that additional or alternative steps may be adopted.

[0080] When an element or layer is referred to as "on another element or layer," "engaged to," "connected to," or "coupled to" another element or layer, the element or layer may be directly on, engaged to, connected to, or coupled to another element or layer, or there may be an intervening element or layer. In contrast, when an element is referred to as "directly on another element or layer," "directly engaged to," "directly connected to," or "directly coupled to" another element or layer, there may be no intervening element or layer. Other words used to describe the relationship between elements (e.g., "between" and "directly between," "adjacent" and "directly adjacent," etc.) should be interpreted in the same manner. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0081] Although the terms first, second, third, etc. can be used herein to describe various elements, components, regions, layers and / or parts, these elements, components, regions, layers and / or parts should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or part from another region, layer or part. Unless clearly indicated by the context, terms such as "first", "second" and other numerical terms do not imply sequence or order when used in this article. Therefore, the first element, component, region, layer or part discussed below can be referred to as the second element, component, region, layer or part without departing from the teachings of the example embodiments.

[0082] Spatially related terms such as "inside", "outside", "below", "below", "down", "above", "up", "top", "bottom", etc. may be used in this article to facilitate the description of the relationship between one element or feature and another element or feature as shown in the figure. Spatially related terms may be intended to cover different orientations of the device in use or operation, in addition to the orientation depicted in the figure. For example, if the device in the figure is turned over, the elements described as "below" or "below" other elements or features will be oriented to be "above" other elements or features. Therefore, the example term "below" can include both above and below orientations. The device can be oriented in other ways (rotated angles or in other orientations), and the spatially related descriptors used in this article are interpreted accordingly.

[0083] The embodiments of the present invention can be understood with reference to the following numbered paragraphs:

[0084] 1. A system for determining at least one of a rotational position and a speed of a mechanically commutated DC electric motor of a power actuator unit of a vehicle, the system comprising:

[0085] a motor current sensing circuit for sensing a motor current including a plurality of fluctuations due to commutation of the mechanically commutated DC electric motor and outputting a motor current signal; and

[0086] a controller in communication with the motor current sensing circuit, the controller configured to:

[0087] receiving the motor current signal including a plurality of fluctuation peaks;

[0088] determining whether the plurality of fluctuation peaks are valid;

[0089] counting the plurality of fluctuation peaks determined to be valid; and

[0090] At least one of the rotational position and the speed of the electric motor is determined based on the number of the plurality of fluctuation peaks determined to be valid.

[0091] 2. A system according to paragraph 1, wherein each of the plurality of fluctuation peaks is determined by the controller to be valid if the amplitude of each of the plurality of fluctuation peaks is lower than a predetermined steady-state threshold.

[0092] 3. A system according to paragraph 2, wherein the controller is configured to: analyze the motor current signal including multiple fluctuation peaks within a predetermined time period, and determine a maximum value within the predetermined time period, wherein the maximum value is determined by the controller to be a valid fluctuation peak.

[0093] 4. A system according to paragraph 3, wherein the controller is also configured to calculate a fluctuation period based on the speed of the electric motor, wherein a first fluctuation peak value determined by the controller to be valid within the fluctuation period is counted and subsequent fluctuation peak values ​​within the fluctuation period are not counted.

[0094] 5. The system of paragraph 1, wherein the motor current sensing circuit is configured to sense a motor voltage of the electric motor and output a motor voltage signal, and the controller is further configured to:

[0095] analyzing the motor current signal and the motor voltage signal;

[0096] determining that one of the plurality of fluctuation peak values ​​is not valid in the waiting state;

[0097] transitioning from the waiting state to an operating state in response to the motor voltage signal being higher than a voltage high threshold and the motor current signal being higher than a current high threshold, and determining that the one of the plurality of fluctuation peaks is valid in the operating state;

[0098] transitioning from the running state to a stopped state in response to the motor voltage signal being lower than a voltage low threshold and the motor current signal being lower than a current low threshold, and determining that the one of the plurality of fluctuation peaks is valid in the stopped state;

[0099] transitioning from the stopped state to the run state in response to the motor voltage signal being higher than a voltage low threshold or the motor current signal being higher than a current low threshold, and determining that the one of the plurality of fluctuation peaks is valid in the run state; and

[0100] A transition is made from the stop state to the wait state in response to a predetermined threshold time having elapsed, and it is determined that the one of the plurality of peaks is not valid in the wait state.

[0101] 6. The system of paragraph 5, wherein the controller comprises a finite state machine unit, the finite state machine unit comprising the wait state, the run state and the stop state.

[0102] 7. A system according to paragraph 6, wherein the controller is further configured to determine that a stall condition exists in response to the motor current signal being above a predetermined stall current threshold within a predetermined stall time period and at least one of an estimated motor speed of the electric motor based on the motor current signal and the motor voltage signal, and the controller is further configured to invalidate the valid one of the multiple peaks in response to determining that at least one of the stall condition exists and the estimated motor speed is below a predetermined underspeed motor speed.

[0103] 8. A system according to paragraph 1, wherein the controller includes a digital bandpass filter unit for isolating the multiple fluctuation peaks to output a bandpass filtered current signal, the digital bandpass filter unit is capable of operating at a bandpass sampling frequency and has multiple fixed coefficients and a variable center frequency, and the variable center frequency is changed by adjusting the bandpass sampling frequency in proportion to the motor speed.

[0104] 9. A system according to paragraph 8, wherein the controller includes a motor model unit, which uses the motor current signal to generate an estimated motor speed, wherein the variable center frequency changed by adjusting the bandpass sampling frequency is related to the estimated motor speed.

[0105] 10. A system according to paragraph 9, wherein the controller also includes a DC removal digital filter unit, which is used to remove the DC portion of the motor current signal and extract the AC motor current signal, wherein the digital bandpass filter unit is configured to receive the AC motor current signal.

[0106] 11. The system of paragraph 10, wherein the controller comprises a peak detection unit configured to:

[0107] analyzing each possible peak value of a plurality of possible peak values ​​of a plurality of peak detection samples of the bandpass filtered current signal within a predetermined peak detection time window;

[0108] calculating a nearest point average of a predetermined number of peak detector samples in the plurality of peak detector samples before and after each possible peak in the plurality of possible peaks;

[0109] using the peak detection unit to compare the magnitude of each possible peak value of the plurality of possible peak values ​​with the nearest point average value; and

[0110] Each of the plurality of possible peaks of the bandpass filtered current signal is determined to be the plurality of peaks in response to a difference in magnitude of each of the plurality of possible peaks compared to the nearest point average exceeding a predetermined peak determination threshold.

[0111] 12. The system of paragraph 11, wherein the controller is further configured to:

[0112] calculating a fluctuation period having a plurality of fluctuation period samples based on the estimated motor speed of the electric motor;

[0113] applying a time filter to ignore a predetermined number of fluctuation period samples after a peak among the plurality of peaks is detected by the peak detection unit using the peak counting unit; and

[0114] The time filter is removed after the predetermined number of fluctuation period samples have been ignored to continue counting the plurality of peaks using the peak counting unit.

[0115] 13. A method for determining at least one of a motor rotational position and a motor speed of a mechanically commutated DC electric motor based on a plurality of fluctuation peaks of a motor current signal caused by commutation of the mechanically commutated DC electric motor, the method comprising the steps of:

[0116] detecting the plurality of fluctuation peaks in the motor current signal;

[0117] determining whether each peak value among the plurality of fluctuation peak values ​​is valid;

[0118] counting the plurality of fluctuation peaks determined to be valid; and

[0119] At least one of a motor rotation position and a motor speed of the electric motor is determined based on the number of the plurality of fluctuation peaks determined to be valid.

[0120] 14. The method according to paragraph 13 further comprises the following steps:

[0121] Sampling the motor current at a sampling frequency;

[0122] using a motor model to estimate the motor speed using the motor current; and

[0123] The sampling frequency is varied in proportion to the motor speed.

[0124] 15. A method as described in paragraph 14 further comprising the step of applying a filter to the motor current signal, the filter having a filter response which is modified in response to changing the sampling frequency.

[0125] 16. A method according to paragraph 15, wherein the filter is a digital bandpass filter and the method further comprises the following step: before applying the filter, extracting the DC component of the motor current signal using a digital moving average filter located upstream of the digital bandpass filter.

[0126] 17. The method according to paragraph 16 further comprises the following steps:

[0127] Calculating an average value of each of the plurality of fluctuation peak values ​​within a cycle; and

[0128] determining whether at least one peak fluctuation peak value is higher than the average value by a predetermined amount; and

[0129] In response to determining that at least one peak value is greater than the average value by the predetermined amount over the predetermined time period, the at least one peak fluctuation peak value is invalidated.

[0130] 18. The method according to paragraph 17 further comprises the following steps:

[0131] In response to determining a fluctuation peak value among the plurality of fluctuation peak values, recording a first fluctuation peak value among the plurality of fluctuation peak values ​​during a fluctuation cycle;

[0132] ignoring subsequent fluctuation peaks of the plurality of fluctuation peaks within a predetermined time period after recording the first peak;

[0133] In response to determining that another fluctuation peak value among the plurality of fluctuation peak values ​​has occurred after the predetermined time period has expired, recording one peak value among a plurality of consecutive peak values ​​among the plurality of fluctuation peak values ​​within another predetermined time period;

[0134] Counting the recorded fluctuation numbers of the first peak value and the plurality of consecutive peak values; and

[0135] At least one of the motor rotational position and the motor speed of the mechanically commutated direct current electric motor is determined based on the fluctuation number.

[0136] 19. The method according to paragraph 13, wherein the step of determining whether each of the plurality of fluctuation peaks is valid comprises the following steps:

[0137] analyzing the motor current signal, the motor voltage signal and estimating the motor speed;

[0138] determining that one of the plurality of fluctuation peak values ​​is not valid in the waiting state;

[0139] transitioning from the waiting state to an operating state in response to the motor voltage signal being higher than a voltage high threshold and the motor current signal being higher than a current high threshold, and determining that the one of the plurality of fluctuation peaks is valid;

[0140] transitioning from the running state to a stopped state in response to the motor voltage signal being lower than a voltage low threshold and the motor current signal being lower than a current low threshold, and determining that the one of the plurality of fluctuation peaks is valid in the stopped state;

[0141] transitioning from the stopped state to the run state in response to the motor voltage signal being higher than a voltage low threshold or the motor current signal being higher than a current low threshold, and determining that the one of the plurality of fluctuation peaks is valid in the run state; and

[0142] A transition is made from the stop state to the wait state in response to a predetermined threshold time having elapsed, and it is determined that the one of the plurality of peaks is not valid in the wait state.

[0143] 20. The method of paragraph 19, further comprising using a finite state machine unit having the wait state, the run state, and the stop state.

[0144] 21. A detection system for determining at least one of a motor rotation position and a motor speed of a mechanically commutated DC electric motor based on a plurality of fluctuation peaks of a motor current signal caused by commutation of the mechanically commutated DC electric motor, the detection system comprising: a voltage and current variable sampling unit for sampling the motor current signal having a plurality of fluctuation peaks based on the motor speed; a speed estimator unit for generating an estimated motor speed based on a model of the motor; a sampling frequency calculation unit for determining a sampling rate of the motor current signal based on the estimated motor speed; a frequency A frequency domain filter, wherein the frequency domain filter is used to isolate the fluctuation peak in the motor current signal; a peak verifier unit, wherein the peak verifier unit is used to perform at least one of the following: validating the fluctuation peak in the motor current signal before counting the fluctuation peak in the motor current signal and invalidating the valid fluctuation peak before counting the fluctuation peak in the motor current signal; a peak detector unit, wherein the peak detector unit is used to time-filter the filtered motor signal current to detect the fluctuation peak; and a counter unit, wherein the counter unit is used to count the valid fluctuation peak output from the peak detector unit.

Claims

1. A system (120) for determining at least one of a rotational position and a speed of a mechanically commutated DC electric motor (28) of a powered actuator unit of a vehicle, the system (120) comprising: a motor current sensing circuit (122) for sensing a motor current including a plurality of fluctuations due to commutation of the mechanically commutated DC electric motor and outputting a motor current signal; and A controller (110) in communication with the motor current sensing circuit (122), the controller (110) being configured to: receiving the motor current signal including a plurality of fluctuation peaks; Determining whether the multiple fluctuation peaks are valid, and determining that the fluctuation peak is valid when the amplitude of the fluctuation peak among the multiple fluctuation peaks is higher than a detection threshold; Counting multiple fluctuation peaks that are determined to be valid; as well as determining at least one of the rotational position and the speed of the electric motor based on the number of the plurality of fluctuation peaks determined to be valid; Wherein, the motor current sensing circuit is configured to sense the motor voltage of the electric motor and output a motor voltage signal, and the controller is further configured to: analyzing the motor current signal and the motor voltage signal; determining that one of the plurality of fluctuation peak values ​​is not valid in the waiting state; transitioning from the waiting state to an operating state in response to the motor voltage signal being higher than a voltage high threshold and the motor current signal being higher than a current high threshold, and determining that the one of the plurality of fluctuation peaks is valid in the operating state; transitioning from the running state to a stopped state in response to the motor voltage signal being lower than a voltage low threshold and the motor current signal being lower than a current low threshold, and determining that the one of the plurality of fluctuation peaks is valid in the stopped state; transitioning from the stopped state to the running state in response to the motor voltage signal being higher than a voltage low threshold or the motor current signal being higher than a current low threshold, and determining that the one of the plurality of fluctuation peaks is valid in the running state; as well as A transition is made from the stop state to the waiting state in response to a predetermined threshold time having elapsed, and it is determined that the one of the plurality of fluctuation peaks is not valid in the waiting state.

2. The system according to claim 1, wherein: Each of the plurality of fluctuation peak values ​​is determined by the controller to be valid if the amplitude of each of the plurality of fluctuation peak values ​​is lower than a predetermined steady-state threshold.

3. The system according to claim 1, wherein: The controller is configured to analyze the motor current signal including a plurality of fluctuation peaks within a predetermined time period and determine a maximum value within the predetermined time period, wherein the maximum value is determined by the controller to be a valid fluctuation peak value.

4. The system according to claim 2, wherein: The controller is configured to analyze the motor current signal including a plurality of fluctuation peaks within a predetermined time period and determine a maximum value within the predetermined time period, wherein the maximum value is determined by the controller to be a valid fluctuation peak value.

5. The system according to any one of claims 1 to 4, wherein: The controller is further configured to calculate a fluctuation period based on the speed of the electric motor, wherein a first fluctuation peak value determined by the controller to be valid within the fluctuation period is counted and subsequent fluctuation peak values ​​within the fluctuation period are not counted.

6. The system according to claim 1, wherein: The controller includes a finite state machine unit (168), and the finite state machine unit (168) includes the wait state, the run state, and the stop state.

7. The system according to claim 6, wherein: The controller is further configured to determine that at least one of a stall condition and an estimated motor speed of the electric motor based on the motor current signal and the motor voltage signal exists in response to the motor current signal being above a predetermined stall current threshold for a predetermined stall time period, and the controller is further configured to invalidate the valid one of the plurality of fluctuation peaks in response to determining that at least one of the stall condition exists and the estimated motor speed is below a predetermined underspeed motor speed.

8. The system according to any one of claims 1 to 4, wherein: The controller includes a digital bandpass filter unit (135) for isolating the multiple fluctuation peaks to output a bandpass filtered current signal, the digital bandpass filter unit being capable of operating at a bandpass sampling frequency and having multiple fixed coefficients and a variable center frequency, the variable center frequency being changed by adjusting the bandpass sampling frequency in proportion to the motor speed.

9. The system according to claim 8, wherein: The controller includes a motor model unit (132) that uses the motor current signal to generate an estimated motor speed, wherein the variable center frequency that is changed by adjusting the bandpass sampling frequency is related to the estimated motor speed.

10. The system according to claim 9, wherein: The controller further includes a DC removal digital filter unit (134) for removing a DC portion of the motor current signal and extracting an AC motor current signal, wherein the digital bandpass filter unit is configured to receive the AC motor current signal.

11. A method (1000) for determining at least one of a motor rotational position and a motor speed of a mechanically commutated DC electric motor based on a plurality of fluctuation peaks of a motor current signal caused by commutation of the mechanically commutated DC electric motor, the method (1000) comprising the steps of: Detecting the plurality of fluctuation peaks in the motor current signal (1002); Determining whether each of the plurality of fluctuation peaks is valid (1004), and determining that the fluctuation peak is valid when the amplitude of the fluctuation peak among the plurality of fluctuation peaks is higher than a detection threshold; Counting a plurality of fluctuation peaks determined to be valid (1006); and determining at least one of a motor rotation position and a motor speed of the electric motor based on the number of the plurality of fluctuation peaks determined to be valid (1008); The step of determining whether each of the plurality of fluctuation peak values ​​is valid comprises the following steps: analyzing the motor current signal and the motor voltage signal; determining that one of the plurality of fluctuation peak values ​​is not valid in the waiting state; transitioning from the waiting state to an operating state in response to the motor voltage signal being higher than a voltage high threshold and the motor current signal being higher than a current high threshold, and determining that the one of the plurality of fluctuation peaks is valid in the operating state; transitioning from the running state to a stopped state in response to the motor voltage signal being lower than a voltage low threshold and the motor current signal being lower than a current low threshold, and determining that the one of the plurality of fluctuation peaks is valid in the stopped state; transitioning from the stopped state to the run state in response to the motor voltage signal being higher than a voltage low threshold or the motor current signal being higher than a current low threshold, and determining that the one of the plurality of fluctuation peaks is valid in the run state; and A transition is made from the stop state to the waiting state in response to a predetermined threshold time having elapsed, and it is determined that the one of the plurality of fluctuation peaks is not valid in the waiting state.