A ripple clamp circuit and a control method thereof
By combining motor control and drive modules with current ripple detection, the problems of inaccurate identification and high cost in ripple anti-pinch solutions are solved, achieving low-cost, high-precision anti-pinch area identification and rapid response.
Patent Information
- Application Number
- CN202311227051.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2043-09-22
AI Technical Summary
Existing anti-pinch ripple solutions suffer from problems such as large current acquisition errors and severe current ripple distortion when the window motor load is low, inaccurate identification of anti-pinch area and stall state, high cost of separate MCU configuration, and large installation space requirements.
The system employs a motor control and drive module, a motor current conversion and amplification module, a motor DC current extraction and processing module, a low-current voltage regulation module, and a motor ripple current extraction and processing module. It utilizes the current ripple detection position during motor rotation, combined with the on-chip system module to determine the anti-pinch area, and provides a power signal through the controller module.
It reduces costs, saves space, improves the accuracy of anti-pinch area recognition, has strong anti-interference ability, high circuit reliability, strong versatility, and fast anti-pinch response speed.
Smart Images

Figure CN117248802B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent control technology for automotive windows, specifically relating to a ripple anti-pinch circuit and its control method. Background Technology
[0002] With the ever-increasing demands for automotive safety and the rapid development of automotive electronic controller technology, intelligent anti-pinch functionality for car windows is gradually becoming a standard feature. This function automatically stops and immediately reverses direction when the window encounters an obstacle (such as a hand or head) while rising, preventing injury to the hand or head. It is a crucial aspect of automotive safety. Currently, there are two main technologies for anti-pinch windows on the market: Hall effect anti-pinch technology and ripple effect anti-pinch technology.
[0003] The Hall effect anti-pinch solution involves installing a magnetic ring and a Hall sensor on the window motor shaft. When the motor rotates, the Hall sensor outputs a pulse signal, the frequency of which is proportional to the motor speed. By counting the pulses, the window's position is identified—whether the window is within the anti-pinch zone. Simultaneously, the motor load is identified by detecting the motor current—whether the window is encountering an obstacle. If the window encounters an obstacle within the anti-pinch zone, the anti-pinch function is activated. The Hall effect anti-pinch solution requires the installation of a magnetic ring and Hall effect devices, resulting in higher costs and a larger installation space.
[0004] The ripple anti-pinch solution utilizes the current ripple generated when the brushes switch between electrodes during motor rotation. The ripple current is sampled, shaped, and analyzed. The frequency of the ripple current is proportional to the motor speed. The position of the window is identified by counting the ripples, i.e., whether the window is in the anti-pinch zone. On the other hand, the motor load is identified by detecting the motor current, i.e. whether the window encounters an obstacle. If the window encounters an obstacle in the anti-pinch zone, the anti-pinch function is activated.
[0005] The existing ripple anti-pinch scheme has the following disadvantages: (1) When the load of the car window motor is small, such as when the car window is open, the current acquisition error of the motor is large and the current ripple distortion is serious, resulting in inaccurate identification of the anti-pinch area and the stall state; (2) After the relay controlling the forward and reverse rotation of the motor is released, the motor continues to rotate due to inertia, but the ripple is lost, resulting in inaccurate identification of the anti-pinch area; (3) When the relay controlling the forward and reverse rotation of the motor is disconnected, the relay contacts jump back, the current ripple is distorted, resulting in inaccurate identification of the anti-pinch area; (4) By rapidly and densely sampling the motor current and using complex software algorithms to identify the anti-pinch area and obstacles, the ripple anti-pinch function is realized. Each anti-pinch system needs to be configured with a separate MCU, which is very costly; (5) Each anti-pinch system needs to be configured with a separate MCU, which requires a large installation space. Summary of the Invention
[0006] To better address the aforementioned problems, this invention provides a ripple anti-pinch circuit and its control method. The ripple anti-pinch circuit includes: a motor control and drive module, used to drive the window motor forward, reverse, and brake based on the control of an on-chip system module and to collect the drive current of the window motor; a motor current conversion and amplification module, used to convert and amplify the current detection output value of the motor forward or reverse rotation provided by the motor control and drive module; a motor DC current extraction and processing module, used to filter and clamp the output value of the motor current conversion and amplification module; and a small current voltage regulator module, used to supply voltage to the motor current conversion and amplification module and the motor ripple current extraction and processing module. The system provides the required low-current regulated power supply; the motor ripple current extraction and processing module is used to extract and process the ripple current based on the output value of the motor current conversion and amplification module; the on-chip system module accumulates the effective pulse count output by the motor ripple current extraction and processing module, and determines whether the window glass has reached the anti-pinch zone based on the accumulated value; if it is determined that the window glass has reached the anti-pinch zone, and the on-chip system module detects that the output value of the motor DC current extraction and processing module has reached the threshold 1, then it is determined that the window glass has encountered an obstacle during the rising process, and the on-chip system module drives the window motor to stop and then controls the window motor to reverse so that the window glass descends.
[0007] Furthermore, it also includes a controller module, which provides the required positive power signals to the motor control and drive module, the motor current conversion and amplification module, the motor DC current extraction and processing module, the low current voltage regulation module, and the motor ripple current extraction and processing module.
[0008] Furthermore, the motor control and drive module includes: a switching unit, including a first sub-switch and a second sub-switch, the common terminal of the first sub-switch and the second sub-switch being respectively connected to the winding electrode of the window motor M, the normally closed terminal of the first sub-switch being connected to the first output terminal of the motor control and drive module and one end of the sampling resistor R5, the normally closed terminal of the second sub-switch being connected to the second output terminal of the motor control and drive module and one end of the sampling resistor R9, the other ends of the sampling resistor R5 and the sampling resistor R9 being respectively connected to the negative terminal of the high-power power supply, the normally open terminals of the first sub-switch and the second sub-switch being connected to the positive output of the first power supply of the controller module, and one end of the coil of the first sub-switch and the second sub-switch being respectively connected to the positive output of the second power supply of the controller module and the anode of the freewheeling diode D1 and the freewheeling diode D2; The other ends of the coils of the first sub-switch and the second sub-switch are respectively connected to the collectors of transistors Q2 and Q4. The collector of transistor Q2 is also connected to the cathode of freewheeling diode D1 and one end of capacitor C1. The collector of transistor Q4 is also connected to the cathode of freewheeling diode D2 and one end of capacitor C4. The base of transistor Q2 is connected to one end of resistor R2 and resistor R4 respectively. The base of transistor Q4 is connected to one end of resistor R13 and resistor R11 respectively. The other ends of resistors R4 and R13 are respectively connected to the first output and the second output of the system-on-a-chip module. The emitters of transistors Q2 and Q3 and the other ends of resistors R2, R13, capacitor C1, and capacitor C4 are respectively connected to the negative terminal of the low-power power supply.
[0009] Furthermore, the negative terminals of the high-power power supply and the low-power power supply are both connected to the negative terminal of the vehicle battery.
[0010] Furthermore, the motor current conversion amplification module includes a dual operational amplifier U1. The non-inverting input terminal of the dual operational amplifier U1 is connected to one end of the non-inverting input resistor R10, the positive selectable input resistor R7, the DC bias resistor R8, and the capacitor C3. The negative input terminal of the dual operational amplifier U1 is connected to one end of the negative input resistor R12, the negative selectable input resistor R14, the DC bias resistor R8, the feedback resistor R15, and the high-frequency input filter capacitor C5. The output terminal of the dual operational amplifier U1 is connected to the other end of the high-frequency input filter capacitor C5 and the feedback resistor R15, and the output terminal of the motor current conversion amplification module. The first and second outputs of the motor control and drive module are respectively connected to the other ends of the non-inverting input resistor R10 and the negative input resistor R12. The other ends of the DC bias resistor R8 and the capacitor C3 are connected to the output of the small current voltage regulator circuit.
[0011] Furthermore, the motor current conversion and amplification module also includes MOSFETs Q3 and Q5. The gate of MOSFET Q3 is connected to the collector of pull-down control transistor Q1, one end of filter capacitor C2, and pull-up resistor R6. The gate of MOSFET Q5 is connected to the collector of pull-down control transistor Q6, one end of filter capacitor C6, and pull-up resistor R16. The other ends of pull-up resistors R6 and R16 are connected to the positive third power supply output of the controller module. The base of pull-down control transistor Q1 is connected to one end of shunt resistor R1 and current-limiting resistor R3. The base of pull-down control transistor Q6... Connect one end of the shunt resistor R19 and the current-limiting resistor R17; connect the other end of the current-limiting resistor R3 and the current-limiting resistor R17 to the third output of the on-chip system module; connect the drains of MOSFETs Q3 and Q5 to the other ends of R7 and R14 respectively; connect the sources of MOSFETs Q3 and Q5 to the first output and the second output of the motor control and drive module respectively; connect the emitters of the pull-down control transistors Q1 and Q6, the filter capacitors C2 and C6, the shunt resistor R1, and the other end of the shunt resistor R19 to the negative terminal of the low-power power supply.
[0012] Furthermore, the motor DC current extraction and processing module includes a voltage divider resistor R22. One end of the voltage divider resistor R22 is connected to the output of the motor current conversion and amplification module, and the other end is connected to the output terminal of the motor DC current extraction and processing module, the cathode of the voltage clamping diode D3, and one end of the voltage divider resistor R27, the low-frequency filter capacitor C13, and the high-frequency filter capacitor C14. The other end of the voltage divider resistor R27, the low-frequency filter capacitor C13, and the high-frequency filter capacitor C14 is connected to the negative terminal of the low-power power supply. The anode of the voltage clamping diode D3 is connected to the positive terminal of the fourth power supply output by the controller module.
[0013] Furthermore, the low-current voltage regulator circuit includes a voltage divider resistor R18. One end of the voltage divider resistor R18 is positively connected to the third power supply output of the controller module, and the other end is connected to one end of the voltage divider resistor R20, the low-frequency filter capacitor C7, the high-frequency filter capacitor C8, and the output terminal of the low-current voltage regulator circuit, respectively. The other ends of the voltage divider resistor R20, the low-frequency filter capacitor C7, and the high-frequency filter capacitor C8 are connected to the negative terminal of the low-power power supply.
[0014] Furthermore, the motor ripple current extraction and processing module includes an operational amplifier U2. The positive input terminal of the operational amplifier U2 is connected to the third positive output power supply of the controller module and one end of the decoupling capacitor C9. The output terminal of the operational amplifier U2 is connected to one end of the output voltage divider resistor R25, the high-frequency feedback filter capacitor C16, and the feedback resistor R30. The other end of the voltage divider resistor R25 is connected to the output terminal of the motor ripple current extraction and processing module and one end of the output voltage divider resistor R29, the output filter capacitor C15, and the voltage clamping diode D4. The other end of the voltage clamping diode D4 is connected to the fifth positive output power supply of the controller module. The non-inverting input terminal of the operational amplifier U2 is connected to the non-inverting input resistor R24, the DC bias resistor R21, and the high-frequency input filter capacitor C12. At one end, the other end of the DC bias resistor R21 and the high-frequency input filter capacitor C12 is connected to the output terminal of the small current voltage regulator module. The other end of the positive input resistor R24 is connected to one end of the resistor R23, capacitor C10, and capacitor C11. The other end of the capacitor R23 is connected to the output terminal of the motor DC-DC conversion amplifier module and one end of the pull-down resistor R26 and the negative input resistor R28. The negative input terminal of the operational amplifier U2 is connected to the other end of the negative input resistor R28, the high-frequency feedback filter capacitor C16, and the feedback resistor R30. The other end of the negative power input terminal of the operational amplifier U2 and the pull-down resistor R26, capacitor C10, capacitor C11, decoupling capacitor C9, output voltage divider resistor R29, and output filter capacitor C15 is connected to the negative terminal of the low-power power supply.
[0015] The present invention also provides a ripple anti-pinch circuit control method, comprising the following steps:
[0016] S21: The area 2 points from the top of the window glass to the preset threshold value is the anti-pinch zone;
[0017] S22: When the car window is raised, the first output of the on-chip system module is low level and the second output is high level. The position of the car window is determined according to the number of effective pulses at the output of the motor ripple current extraction and processing module collected by the on-chip system module. The effective pulses refer to effective square waves with a frequency of 300 to 1500 Hz.
[0018] S23: If the on-chip system module determines that the window is located in the anti-pinch area, and the output value of the motor DC current extraction and processing module is greater than the anti-pinch threshold 1 twice;
[0019] S24: The on-chip system module controls the motor drive control module to stop the window motor from rising and then immediately lowers it a certain distance.
[0020] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0021] (1) The anti-pinch circuit is low in cost and high in cost performance. The circuit of this invention is implemented entirely with common chips and discrete components, so the cost is very low and the cost performance is very high, and there is no risk of insufficient chip supply. This invention uses half of the power supply voltage as the output reference signal. When the motor rotates forward, the output signal is greater than the reference signal, and when the motor rotates in reverse, the output signal is less than the reference signal. A single power supply can be used, the circuit is simple, and the cost is low. This invention does not require Hall sensors to detect the position. It uses the current ripple when the motor rotates to detect the position, so the cost can be further reduced. This invention uses hardware shaping and amplification of ripple and uses interrupts to accumulate the number of effective ripples, which occupies a low load on the on-chip system module. Moreover, the anti-pinch algorithm is simple and does not require a separate controller for each anti-pinch system.
[0022] (2) Space saving. The present invention does not require a Hall sensor to detect position, but uses the current ripple when the motor rotates to detect position, thus further reducing costs and saving installation space, which is conducive to miniaturization.
[0023] (3) Strong anti-interference capability. This invention can automatically adjust the amplification factor according to the signal strength. Therefore, when the window load is small or large, the motor current acquisition is more accurate, the current ripple distortion is smaller, and the anti-pinch area and stall state are accurately identified. This invention can still acquire motor current and motor ripple signals when the window drive control relay is disconnected, which improves the identification accuracy of the anti-pinch area. The signal phase recognition of this invention adopts phase-shifting amplification technology, which has strong anti-interference capability. This invention uses differential amplification of the motor current sampling signal, which has strong anti-interference capability. The power ground and signal ground are processed separately to avoid power signal interference with the motor current sampling signal. This invention performs precise filtering on the DC sampling output signal of the motor current and the ripple amplification and shaping output signal, which has strong anti-interference capability and high accuracy of the output signal.
[0024] (4) High circuit reliability and strong versatility. The present invention clamps the DC sampling output signal of motor current and the ripple amplification and shaping output signal to avoid damage to the SOC due to input overvoltage, thus ensuring high circuit reliability; the present invention uses a controllable power supply with low dark current and low static power consumption; the circuit of the present invention can be used in various types of electronic controllers, thus having strong versatility; the circuit of the present invention can be used in a modified version, copied and expanded version, or recombined version.
[0025] (5) High accuracy in judgment. This invention uses hardware and software filtering to filter out invalid ripples, resulting in high accuracy in identifying the anti-pinch area. The top threshold, bottom threshold, and anti-pinch threshold of the window are all automatically updated in real time, eliminating misjudgments and malfunctions caused by changes in window performance parameters; the pulse accumulation count is automatically reset after meeting the conditions, and the top pulse count is automatically corrected after meeting the conditions, resulting in high accuracy in identifying the anti-pinch area of the window; the window automatically stops and descends 10mm within 0.4ms after encountering an obstacle, resulting in high anti-pinch response speed. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0027] Figure 1 This is a system block diagram of a ripple anti-pinch circuit provided in an embodiment of the present invention;
[0028] Figure 2 This is a circuit diagram of the motor control and drive module of the ripple anti-pinch circuit provided in an embodiment of the present invention.
[0029] Figure 3 A circuit diagram of a motor current conversion and amplification module provided in an embodiment of the present invention;
[0030] Figure 4 A circuit diagram of a motor DC current extraction and processing module provided in an embodiment of the present invention;
[0031] Figure 5 A circuit diagram of a low-current voltage regulator module provided in an embodiment of the present invention;
[0032] Figure 6 This is a circuit diagram of a motor ripple current extraction and processing module provided in an embodiment of the present invention;
[0033] Figure 7 A circuit diagram of a system-on-a-chip module provided in an embodiment of the present invention;
[0034] Figure 8 A circuit diagram of a controller module provided in an embodiment of the present invention;
[0035] Figure 9 This invention provides a ripple anti-pinch circuit control method according to an embodiment of the present invention. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. Obviously, the specific embodiments described herein are merely illustrative of the invention and represent only a portion, not all, of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.
[0037] It should be noted that if the embodiments of the present invention involve descriptions such as "first," "second," and "third," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," and "third" may explicitly or implicitly include at least one of those features. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.
[0038] In this invention, unless otherwise explicitly specified and limited, the terms "connected" and "linked" should be interpreted broadly. For example, they can refer to a direct connection or an indirect connection through an intermediate medium, or they can refer to the internal connection of two elements or the interaction between two elements. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0039] In one embodiment of the present invention, a ripple anti-pinch circuit is provided, such as Figure 1 The provided system block diagram of the ripple anti-pinch circuit includes: a motor control and drive module 11, used to drive the window motor to rotate forward, reverse, and brake based on the control of the on-chip system module 16 and to collect the drive current of the window motor; a motor current conversion and amplification module 12, used to convert and amplify the current detection output value of the motor rotating forward or reverse provided by the motor control and drive module 11; a motor DC current extraction and processing module 13, used to filter and clamp the output value of the motor current conversion and amplification module 12; and a small current stabilization module 14, used to provide the required small current stabilization to the motor current conversion and amplification module 12 and the motor ripple current extraction and processing module 15. The voltage power supply is positive; the motor ripple current extraction and processing module 15 is used to extract and process the ripple current based on the output value of the motor current conversion and amplification module 12; the on-chip system module 16 accumulates the effective pulse count output by the motor ripple current extraction and processing module 15, and determines whether the window glass has reached the anti-pinch zone based on the accumulated value; if it is determined that the window glass has reached the anti-pinch zone, and the on-chip system module 16 detects that the output value of the motor DC current extraction and processing module 13 has reached the threshold 1, then it is determined that the window glass has encountered an obstacle during the rising process, and the on-chip system module 16 drives and controls the window motor to stop and then controls the window motor to reverse so that the window glass descends.
[0040] Specifically, the anti-pinch zone can be defined as 50mm from the top of the window glass, and the threshold 1 can be 1.1 times the maximum value of the DC current extraction and processing module 13 of the motor during the window rising process.
[0041] In one embodiment of the present invention, a window ripple anti-pinch circuit is provided, such as Figure 6 The diagram shows a circuit diagram of the system-on-chip module 16 provided by the present invention. The system-on-chip module 16 has a first output DO1-SOC, a second output DO2-SOC, and a third output DO3-SOC. The system-on-chip module 16 has a first input AI-SOC, which is the output of the motor DC current extraction and processing module 13, and a second input ICapture-SOC, which is the output of the motor ripple current extraction and processing module 15.
[0042] In one embodiment of the present invention, a window ripple anti-pinch circuit is provided, such as Figure 8 As shown, a ripple anti-pinch circuit also includes a controller module. The controller module provides the required positive power signals to the motor control and drive module 11, the motor current conversion and amplification module 12, the motor DC current extraction and processing module 13, the small current voltage regulator module 14, and the motor ripple current extraction and processing module 15. Specifically, the controller module outputs a first positive power supply BAT, a second positive power supply BAT_P_F, a third positive power supply 5.0V-SW, a fourth positive power supply 1.8V-SW, and a fifth positive power supply 3.3V-SW. BAT is the normally powered positive terminal of the controller module, with a voltage of 13.5V; BAT_P_F is the normally powered signal power supply positive terminal of the controller module, with a voltage of 12.8V; 5.0V-SW is the controllable 5V positive power supply of the controller module; 1.8V-SW is the controllable 1.8V positive power supply of the controller module; and 3.3V-SW is the controllable 3.3V positive power supply of the controller module.
[0043] In one embodiment of the present invention, a window ripple anti-pinch circuit is provided, such as Figure 2As shown in the circuit diagram of the motor control and drive module 11, it includes a switching unit K1, comprising a first sub-switch 111 and a second sub-switch 112. The common terminal of the first sub-switch 111 and the second sub-switch 112 is respectively connected to the winding electrode of the window motor M. The normally closed terminal of the first sub-switch 111 is connected to the first output terminal of the motor control and drive module 11 and one end of the sampling resistor R5. The normally closed terminal of the second sub-switch 112 is connected to the second output terminal of the motor control and drive module 11 and one end of the sampling resistor R9. The other ends of the sampling resistors R5 and R9 are respectively connected to the negative terminal of the high-power power supply. The normally open terminals of the first sub-switch 111 and the second sub-switch 112 are connected to the positive output of the first power supply of the controller module. One end of the coil of the first sub-switch 111 and the second sub-switch 112 is respectively connected to the positive output of the second power supply of the controller module and the freewheeling diode D1. The anode of diode D2; the other ends of the coils of the first sub-switch 111 and the second sub-switch 112 are respectively connected to the collectors of transistors Q2 and Q4. The collector of transistor Q2 is also connected to the cathode of freewheeling diode D1 and one end of capacitor C1. The collector of transistor Q4 is also connected to the cathode of freewheeling diode D2 and one end of capacitor C4. The base of transistor Q2 is connected to one end of resistor R2 and resistor R4 respectively. The base of transistor Q4 is connected to one end of resistor R13 and resistor R11 respectively. The other ends of resistors R4 and R13 are respectively connected to the first output DO1-SOC and the second output DO2-SOC of the on-chip system module. The emitters of transistors Q2 and Q3 and the other ends of resistors R2, R13, capacitor C1, and capacitor C4 are respectively connected to the negative terminal GND of the low-power power supply.
[0044] Specifically, the negative terminal of the low-power power supply is GND, and the negative terminal of the high-power power supply is PGND. Both the negative terminals of the high-power and low-power power supplies are connected to the negative terminal of the vehicle battery. Motor M is a DC permanent magnet brushed motor with a rated voltage of 12V, a rated current of 20A, and a peak current of 30A. DO1-SOC and DO2-SOC serve as the digital control outputs of the on-chip system module 16, with a high-level range of (3.2~3.4)V and a low-level range of (0~0.1)V. They are also the inputs of the motor control and drive module 11. K1-5 and K1-10 are the drive outputs of motor M, and IN1-Imotor and IN2-Imotor are the current detection outputs for forward and reverse rotation of motor M. The operating voltage environment of the motor control and drive module 11 circuit—the first output power supply BAT of the controller module—is (9~32)V and the temperature is (-40~)℃. 105)℃; Switching unit K1 can be a double-cell relay, model HFKF-T / 12-2ZSPT, rated voltage 12V, rated current 25A and peak current 35A. K1-5 and K1-10 are the two common terminals of the double-cell relay, connected to the two winding electrodes of motor M respectively. K1-9 and K1-4 are the two normally closed terminals of the double-cell relay, connected to IN1-Imotor (i.e., the first output of motor control and drive module 11) and IN2-Imotor (i.e., the second output of motor control and drive module 11) respectively. IN1-Imotor and IN2-Imotor are connected to R5 (5mΩ / 1W) and R9 (5mΩ / 1W) respectively. W) is connected to PGND. The short-time current detection capability of IN1-Imotor and IN2-Imotor is 30A. K1-8 and K1-3 are the two normally open terminals of the twin-cell relay, respectively connected to the BAT power supply. K1-6 and K1-2 are one end of the two coils of the twin-cell relay, respectively connected to the BAT_P_F power supply. K1-7 and K1-1 are the other ends of the two coils of the twin-cell relay, respectively connected to the collectors of Q2 (model can be BC817-25HE3) and Q4 (model can be BC817-25HE3). Q2 and Q4 are both NPN transistors with a voltage of 45V, a current of 500mA, and a gain of 250. C1 (47nF) C1 (50V) and C4 (47nF / 50V) are both filter capacitors of K1-7 and K1-1, D1 (BAV21W) and D2 (BAV21W) are both freewheeling diodes for the two coils of K1, R2 (1K) and R13 (1K) are the base shunt resistors of Q2 and Q4 respectively, R4 (1K) and R11 (1K) are the base limiting resistors of Q2 and Q4 respectively, the ratio of R2 to R4 determines the turn-on and turn-off voltage of Q2, the reliable turn-on voltage of Q2 is 1.5V, and the reliable turn-off voltage of Q2 is 0.6V. The ratio of R13 to R11 determines the turn-on and turn-off voltage of Q4, the reliable turn-on voltage of Q4 is 1.5V, and the reliable turn-off voltage of Q4 is 0.6V; When DO1-SOC input is high and DO2-SOC input is low, K1-10 output is connected to power supply BAT, K1-5 output is connected to IN2-Imotor, and motor M rotates forward, V. IN1-Imotor 0V, VIN2-I motor =Motor current * R9 = (0-30A) * 0.005Ω = (0-0.15)V, where V IN1-Imotor This indicates the voltage value output by the current sensor when the motor is rotating forward, in V. IN2-Imotor This indicates the voltage value output by the current sensor when the motor reverses. When the inputs to DO1-SOC are low and DO2-SOC are high, the output of K1-10 is connected to the power supply IN1-ImotorBAT, and the output of K1-5 is connected to BAT. Motor M reverses, and VIN1-Imotor = motor current * R5 = (0-30A) * 0.005Ω = (0-0.15)V. VIN2-Imotor is 0V. When both DO1-SOC and DO2-SOC are low, the output of K1-10 is connected to IN1-Imotor, and the output of K1-5 is connected to IN2-Imotor. Motor M brakes. When motor M changes from forward rotation to braking, VIN1-Imotor = -(motor current * R5) = -(0-30A) * 0.005Ω. 0.005Ω = (-0.15-0)V, VIN2-Imotor = motor current * R9 = (0-30A) * 0.005Ω = (0-0.15)V. When motor M changes from reverse to braking, VIN1-Imotor = motor current * R5 = (0-30A) * 0.005Ω = (0-0.15)V, VIN2-Imotor = -(motor current * R9) = -(0-30A) * 0.005Ω = (-0.15-0)V. High-level inputs to DO1-SOC and DO2-SOC are illegal values. The delay of K1-10 and K1-5 outputs relative to the inputs of DO1-SOC and DO2-SOC is 12ms. The static current of this module is 10uA. Ports K1-10 and K1-5 have electrostatic discharge protection.
[0045] In one embodiment of the present invention, a window ripple anti-pinch circuit is provided, such as Figure 3The diagram shows a circuit schematic of the motor current conversion amplifier module provided by the present invention. The motor current conversion amplifier module 12 includes a dual operational amplifier U1. The non-inverting input terminal of the dual operational amplifier U1 is connected to one end of a non-inverting input resistor R10, a positive selectable input resistor R7, a DC bias resistor R8, and a capacitor C3. The negative input terminal of the dual operational amplifier U1 is connected to one end of a negative input resistor R12, a negative selectable input resistor R14, a DC bias resistor R8, a feedback resistor R15, and a high-frequency input filter capacitor C5. The output terminal of the dual operational amplifier U1 is connected to the other end of the high-frequency input filter capacitor C5 and the feedback resistor R15, and to the output terminal of the motor current conversion amplifier module 12. The first and second outputs of the motor control and drive module 11 are respectively connected to the other ends of the non-inverting input resistor R10 and the negative input resistor R12. The other ends of the DC bias resistor R8 and the capacitor C3 are connected to the output of the small current voltage regulator circuit 14.
[0046] Furthermore, the motor current conversion and amplification module 12 also includes MOSFETs Q3 and Q5. The gate of MOSFET Q3 is connected to the collector of pull-down control transistor Q1, one end of filter capacitor C2, and pull-up resistor R6. The gate of MOSFET Q5 is connected to the collector of pull-down control transistor Q6, one end of filter capacitor C6, and pull-up resistor R16. The other ends of pull-up resistors R6 and R16 are connected to the positive third power supply output of the controller module. The base of pull-down control transistor Q1 is connected to one end of shunt resistor R1 and current-limiting resistor R3. The base of pull-down control transistor Q6 is connected to... One end of the shunt resistor R19 and the current limiting resistor R17; the other end of the current limiting resistor R3 and the current limiting resistor R17 are connected to the third output of the on-chip system module; the drains of MOSFETs Q3 and Q5 are connected to the other ends of R7 and R14 respectively; the sources of MOSFETs Q3 and Q5 are connected to the first output and the second output of the motor control and drive module 11 respectively; the emitters of the pull-down control transistors Q1 and Q6, the filter capacitors C2 and C6, the shunt resistor R1, and the other end of the shunt resistor R19 are connected to the negative terminal of the low-power power supply.
[0047] Specifically, IN1-Imotor and IN2-Imotor are the current detection inputs for forward and reverse rotation of the motor, and also the outputs of the motor control and drive module 11. DO3-SOC is the digital control output of the system-on-chip module 16, and also the input of the motor current conversion and amplification module 12. Its high-level range is (3.2~3.4)V, and its low-level range is (0~0.1)V. OUT-Imotor is the output of the motor current conversion and amplification module 12. U1 (LM2904) is a high-gain, low-power, low-bias-voltage, low-bias-current, rail-to-rail, wide-application... This is a dual op-amp with a range of values. R15 (39K) is the feedback resistor for U1, C5 (1nF) is the high-frequency feedback filter capacitor for U1, R8 (39K) is the DC bias resistor for U1, C5 (1nF) is the high-frequency input filter capacitor for U1, R10 (5.1K) is the non-inverting input resistor for U1, R12 (5.1K) is the negative input resistor for U1, R7 (5.1K) is the positive selectable input resistor for U1, and R14 (5.1K) is the negative selectable input resistor for U1. R8, R15, R10, R12, R14, and R7 determine the amplification factor of U1. Q3 (2N700) R14 is the gate MOSFET for R7 (2E), R6 (10K) is the gate pull-up resistor for Q3, R16 (10K) is the gate pull-up resistor for Q5, C2 (1nF) is the gate filter capacitor for Q3, C6 (1nF) is the gate filter capacitor for Q5, Q1 (BC817-25) is the gate pull-down control transistor for Q3, Q6 (BC817-25) is the gate pull-down control transistor for Q5, R1 (10K) is the base shunt resistor for Q1, and R19 (10K) is the base shunt resistor for Q6. Resistors R3 (10K) are the base current-limiting resistors for Q1, and R17 (10K) is the base current-limiting resistor for Q6. The ratio of R3 to R1 determines the on and off voltages of Q1. The reliable on voltage of Q1 is 1.5V, and the reliable off voltage of Q1 is 0.6V. The ratio of R17 to R19 determines the on and off voltages of Q6. The reliable on voltage of Q6 is 1.5V, and the reliable off voltage of Q6 is 0.6V. The circuit operates in an environment with a temperature range of (-40~105)℃. When 5.0V-SW and 2.5V-SW are turned on and the DO3-SOC input is high, V OUT-Imotor =(2.5+R15 / (R7 / / R10)*(V IN1-Imotor -V IN2-Imotor ))=(2.5+15.294*(V IN1-Imotor -V IN2-Imotor ), where V OUT-ImotorThis indicates the output voltage of the OUT-I motor, with a value of (0.25~4.75)V and a cutoff frequency of 64kHz; when 5.0V-SW and 2.5V-SW are turned on and the DO3-SOC input is low, V OUT-Imotor =(2.5+R15 / R7*(V) IN1-Imotor- V IN2-Imotor ))=(2.5+7.647*(V IN1-Imotor -V IN2-Imotor )), where V OUT-Imotor This indicates the output voltage of the OUT-Imotor, which ranges from 0.25 to 4.75 V, and its cutoff frequency is 64 kHz. This module circuit has a high-frequency filtering function with a cutoff frequency of 64 kHz. The quiescent current of this module is 3 μA.
[0048] In one embodiment of the present invention, a window ripple anti-pinch circuit is provided, such as Figure 4 The diagram shows a circuit schematic of the motor DC current extraction and processing module 13 provided by the present invention. The motor DC current extraction and processing module 13 includes a voltage divider resistor R22. One end of the voltage divider resistor R22 is connected to the output of the motor current conversion and amplification module 12, and the other end is connected to the output terminal of the motor DC current extraction and processing module 13, the cathode of the voltage clamping diode D3, and one end of the voltage divider resistor R27, the low-frequency filter capacitor C13, and the high-frequency filter capacitor C14. The other end of the voltage divider resistor R27, the low-frequency filter capacitor C13, and the high-frequency filter capacitor C14 is connected to the negative terminal of a low-power power supply. The anode of the voltage clamping diode D3 is connected to the positive terminal of the fourth power supply output by the controller module.
[0049] Specifically, AI-SOC is the detection output of the motor DC current extraction and processing module 13, connected to the analog detection input port of the on-chip system module 16; R22 (20K) and R27 (10K) are the voltage divider resistors of OUT-Imotor, D3 (SMD110PL) is the voltage clamping diode of AI-SOC, C13 (10uF) is the low-frequency filter capacitor of AI-SOC, and C14 (100nF) is the high-frequency filter capacitor of AI-SOC; the circuit operates in an environment with a temperature of (-40~105)℃; when 1.8V-SW is turned on, V AI-SOC =VOUT - Imotor / 3, where V AI-SOC The output voltage of the AI-SOC is 2.4Hz, its low-frequency filter cutoff frequency is 0.24kHz, and the output voltage of the AI-SOC is clamped at 2.0V; the quiescent current of this module is 2uA.
[0050] In one embodiment of the present invention, a window ripple anti-pinch circuit is provided, such as Figure 5The diagram shows a circuit diagram of the low-current voltage regulator module 14 provided by the present invention. The low-current voltage regulator circuit includes a voltage divider resistor R18. One end of the voltage divider resistor R18 is positively connected to the third power supply output of the controller module, and the other end is connected to one end of the voltage divider resistor R20, the low-frequency filter capacitor C7, the high-frequency filter capacitor C8, and the output terminal of the low-current voltage regulator circuit, respectively. The other ends of the voltage divider resistor R20, the low-frequency filter capacitor C7, and the high-frequency filter capacitor C8 are connected to the negative terminal of the low-power power supply.
[0051] Specifically, R18 (330) and R20 (330) are the voltage divider resistors of 5.0V-SW, C7 (10uF) is the low-frequency filter capacitor of 5.0V-SW, and C8 (10nF) is the high-frequency filter capacitor of AI-SOC; the circuit operates in an environment with a temperature of (-40~105)℃; when 5.0V-SW is turned on and the load of 2.5V-SW is 39kohm, the output voltage range of 2.5V-SW is (2.45~2.50)V; when 5.0V-SW is turned off, the output voltage range of 2.5V-SW is (0~0.1)V; its low-frequency filter cutoff frequency is 2.4Hz; its high-frequency filter cutoff frequency is 2.4kHz; and the quiescent current of this module is less than 2uA.
[0052] In one embodiment of the present invention, a window ripple anti-pinch circuit is provided, such as Figure 5The diagram shows a circuit schematic of the motor ripple current extraction and processing module 15 provided by the present invention. The motor ripple current extraction and processing module 15 includes an operational amplifier U2. The positive input terminal of the operational amplifier U2 is connected to the third positive output power supply of the controller module and one end of the decoupling capacitor C9. The output terminal of the operational amplifier U2 is connected to one end of the output voltage divider resistor R25, the high-frequency feedback filter capacitor C16, and the feedback resistor R30. The other end of the voltage divider resistor R25 is connected to the output terminal of the motor ripple current extraction and processing module 15 and one end of the output voltage divider resistor R29, the output filter capacitor C15, and the voltage clamping diode D4. The other end of the voltage clamping diode D4 is connected to the fifth positive output power supply of the controller module. The non-inverting input terminal of the operational amplifier U2 is connected to one end of the non-inverting input resistor R24, the DC bias resistor R21, and the high-frequency input filter capacitor C12. The other end of the DC bias resistor R21 and the high-frequency input filter capacitor C12 is connected to the output terminal of the small current voltage regulator module. The other end of the positive input resistor R24 is connected to one end of the resistor R23, capacitor C10, and capacitor C11. The other end of the capacitor R23 is connected to the output terminal of the motor DC current conversion amplifier module 12 and one end of the pull-down resistor R26 and the negative input resistor R28. The negative input terminal of the operational amplifier U2 is connected to the other end of the negative input resistor R28, the high-frequency feedback filter capacitor C16, and the feedback resistor R30. The other end of the negative power input terminal of the operational amplifier U2 and the pull-down resistor R26, capacitor C10, capacitor C11, decoupling capacitor C9, output voltage divider resistor R29, and output filter capacitor C15 is connected to the negative terminal of the small power supply.
[0053] Specifically, OUT-Inmotor is the output of the motor current conversion and amplification module 12, and also the output of the motor ripple current extraction and processing module 15. ICapture-SOC is the motor ripple current detection output, connected to the pulse width and frequency detection input port of the on-chip system controller. The circuit operates in an environment with a temperature range of (-40~105)℃. U2 is another operational amplifier. C9 (47nF) is the power supply decoupling capacitor for U2. R30 (1M) is the feedback resistor for U2. C16 (100pF) is the high-frequency feedback filter capacitor for U1. R21 (1M) is the DC bias resistor for U2. C12 (100pF) is the high-frequency input filter capacitor for U2. R23 (1K) and R24 (1K) are also present. R23 (1K), C10 (10uF), and C11 (100nF) form the phase-shifting and voltage divider circuit for the OUT-Imotor signal. R28 (2K) is the negative-phase input resistor of U2. R26 (10K) is the input pull-down resistor of this module circuit. R25 (2K) and R29 (10K) are the output voltage divider resistors of this module circuit. C15 (1nF) is the output filter capacitor. D4 (SMD110PL) is the voltage clamping diode of ICapture-SOC. When 5.0V-SW, 3.3V-SW, and 2.5V-SW are turned on, the OUT-Imotor input is a ripple-free DC voltage of (0.3~4.7)V. When the OUT-Imotor outputs a 2.5V DC voltage, and the input OUT-Imotor signal has a ripple voltage amplitude of (20-50)mV, a ripple frequency of (300-1500)Hz, and a DC carrier voltage of (0.3-4.7)V, the ICapture-SOC outputs a 3.5V square wave with the same frequency as the ripple. When the input OUT-Imotor signal has a ripple voltage amplitude of (20-50)mV, a ripple frequency of (300-1500)Hz, or a DC carrier voltage of (0.3-4.7)V, the ICapture-SOC output waveform is uncertain, and the ICapture-SOC output voltage is clamped. The voltage level is no higher than 3.5V; when 5.0V-SW, 3.3V-SW, and 2.5V-SW are off, the ICapture-SOC outputs 0V; the ripple current extraction method is as follows: the OUT-Imotor is connected to the non-inverting input of the amplifier through a resistor, the OUT-Imotor is shifted backward by 89° and attenuated to 1.5%, and then connected to the inverting input of the amplifier through a resistor. The voltage difference between the non-inverting and inverting inputs is amplified by 500 times until the amplifier output reaches the upper limit of 4.75V or the lower limit of 0.25V. Then the amplifier output voltage is reduced to 5 / 6 and connected to the ICapture-SOC; this module circuit can effectively suppress ripple signals with a frequency greater than 80kHz; the quiescent current of this module is 2uA.
[0054] This invention also provides a method for controlling a ripple anti-pinch circuit. For example... Figure 9 As shown, the specific steps include:
[0055] S21: The area 2 points from the top of the window glass to the preset threshold value is the anti-pinch zone;
[0056] S22: When the car window is raised, the first output of the on-chip system module is low level and the second output is high level. The position of the car window is determined according to the number of effective pulses at the output of the motor ripple current extraction and processing module collected by the on-chip system module. The effective pulses refer to effective square waves with a frequency of 300 to 1500 Hz.
[0057] S23: If the on-chip system module determines that the window is located in the anti-pinch area, and the output value of the motor DC current extraction and processing module is greater than the anti-pinch threshold 1 twice;
[0058] S24: The on-chip system module controls the motor drive control module to stop the window motor from rising and then immediately lowers it a certain distance.
[0059] Specifically, threshold 2 can be the area 50mm between the top of the window and the top of the window glass, which is the anti-pinch area. Threshold 1 can be 1.1 times the maximum value of the DC current extraction and processing module 13 of the motor during the window raising process.
[0060] On the other hand, when the car window is raised, the on-chip system module sets DO1-SOC to low level, DO2-SOC to high level, and DO3-SOC to high level. The value of AI-SOC is checked every 0.2ms. If the value of AI-SOC is lower than 1.0V for 3 consecutive times, DO3-SOC is set to low level. If the value of AI-SOC is higher than 1.5V for 3 consecutive times, DO3-SOC is set to high level. At the same time, the effective pulses on ICapture-SOC are accumulated and counted. The effective pulse refers to an effective square wave with a frequency of (300~1500)Hz. The frequency outside the range of (300~1500)Hz or non-effective square waves are considered invalid pulses. When the car window is lowered, the SOC sets DO1-SOC to high, DO2-SOC to low, and DO3-SOC to high. The AI-SOC value is checked every 0.2ms. If the AI-SOC value is higher than 0.67V for three consecutive times, DO3-SOC is set to low. If the AI-SOC value is lower than 0.17V for three consecutive times, DO3-SOC is set to high, and the valid pulse count on ICapture-SOC is accumulated. When the car stops, the SOC sets DO1-SOC, DO2-SOC, and DO3-SOC to low, and the valid pulse count on ICapture-SOC is still accumulated.
[0061] Specifically, the window-to-top threshold is equal to 1.5 times the maximum value of AI-SOC during the window's upward movement, the window-to-bottom threshold is equal to 1.5 times the maximum value of AI-SOC during the window's downward movement, and the anti-pinch threshold is equal to 1.1 times the maximum value of AI-SOC during the window's upward movement. These three thresholds are automatically and dynamically updated based on the real-time collected AI-SOC values during use.
[0062] In the top region, if the AI-SOC value is detected to be greater than the top threshold three times consecutively, the window will immediately stop rising and be recorded as the top of the window. In the bottom region, if the AI-SOC value is detected to be less than the bottom threshold three times consecutively, the window will immediately stop falling and be recorded as the bottom of the window. When the window rises from the bottom to the top, the number of valid pulses collected on ICapture-SOC is accumulated as the upper stroke pulse count of the window. When the window falls from the top to the bottom, the number of valid pulses collected on ICapture-SOC is accumulated as the lower stroke pulse count of the window. The top pulse count is defined as the average of the upper stroke pulse count and the lower stroke pulse count. When the window repeatedly rises and falls between the top and bottom positions, the accumulated valid pulse count is added or subtracted as the basis for judging the window position. The accumulated valid pulse count is used as the basis for judging the anti-pinch zone. In the anti-pinch zone, if the AI-SOC value is detected to be greater than the anti-pinch threshold twice consecutively, the window will immediately stop rising and then fall 10mm.
[0063] Each time the window reaches the bottom, the pulse count is automatically corrected to 0; each time the window reaches the top, the pulse count is automatically corrected to the top pulse count; as the window descends from top to bottom, the number of valid pulses collected on ICapture-SOC is accumulated as the upper stroke pulse count, and the top pulse count is updated to the average of the upper stroke pulse count and the previous lower stroke pulse count; as the window descends from bottom to top, the number of valid pulses collected on ICapture-SOC is accumulated as the lower stroke pulse count, and the top pulse count is updated to the average of the lower stroke pulse count and the previous upper stroke pulse count.
[0064] The above embodiments merely illustrate preferred embodiments of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
Claims
1. A ripple anti-pinch circuit, characterized in that, include: The motor control and drive module is used to control and drive the window motor to rotate forward, reverse, and brake based on the system-on-a-chip module, and to collect the drive current of the window motor. The motor current conversion and amplification module is used to convert and amplify the current detection output value of the motor in forward or reverse rotation provided by the motor control and drive module; the motor DC current extraction and processing module is used to filter and clamp the output value of the motor current conversion and amplification module. The low-current voltage regulator module is used to provide the required low-current regulated power supply to the motor current conversion and amplification module and the motor ripple current extraction and processing module; the motor ripple current extraction and processing module is used to extract and process the ripple current based on the output value of the motor current conversion and amplification module. The on-chip system module accumulates the number of effective pulses output by the motor ripple current extraction and processing module, and determines whether the window glass has reached the anti-pinch zone based on the accumulated value. If it is determined that the window glass has reached the anti-pinch zone, and the on-chip system module detects that the output value of the motor DC current extraction and processing module has reached the threshold 1, then it is determined that the window glass encountered an obstacle during the upward process. After the on-chip system module drives and controls the window motor to stop, it controls the window motor to reverse so that the window glass is lowered. The motor current conversion and amplification module includes a dual operational amplifier U1. The non-inverting input terminal of the dual operational amplifier U1 is connected to one end of a non-inverting input resistor R10, a positive selectable input resistor R7, a DC bias resistor R8, and a capacitor C3. The negative input terminal of the dual operational amplifier U1 is connected to one end of a negative input resistor R12, a negative selectable input resistor R14, a feedback resistor R15, and a high-frequency input filter capacitor C5. The output terminal of the dual operational amplifier U1 is connected to the other end of the high-frequency input filter capacitor C5 and the feedback resistor R15, and to the output terminal of the motor current conversion and amplification module. The first and second outputs of the motor control and drive module are respectively connected to the other ends of the non-inverting input resistor R10 and the negative input resistor R12. The other ends of the DC bias resistor R8 and the capacitor C3 are connected to the output of a small current voltage regulator circuit. The motor current conversion and amplification module further includes MOSFETs Q3 and Q5. The gate of MOSFET Q3 is connected to the collector of pull-down control transistor Q1, one end of filter capacitor C2, and one end of pull-up resistor R6. The gate of MOSFET Q5 is connected to the collector of pull-down control transistor Q6, one end of filter capacitor C6, and one end of pull-up resistor R16. The other ends of pull-up resistors R6 and R16 are connected to the positive third power supply output of the controller module. The base of pull-down control transistor Q1 is connected to one end of shunt resistor R1 and current-limiting resistor R3. The base of pull-down control transistor Q6 is connected to... Connect one end of the shunt resistor R19 and the current-limiting resistor R17; connect the other end of the current-limiting resistor R3 and the current-limiting resistor R17 to the third output of the on-chip system module; connect the drains of MOSFETs Q3 and Q5 to the other ends of R7 and R14 respectively; connect the sources of MOSFETs Q3 and Q5 to the first output and the second output of the motor control and drive module respectively; connect the emitters of the pull-down control transistors Q1 and Q6, the other ends of the filter capacitors C2 and C6, the shunt resistors R1 and R19 to the negative terminal of the low-power power supply.
2. The ripple anti-pinch circuit as described in claim 1, characterized in that, It also includes a controller module, which provides the required positive power signals to the motor control and drive module, the motor current conversion and amplification module, the motor DC current extraction and processing module, the low current voltage regulation module, and the motor ripple current extraction and processing module.
3. The ripple anti-pinch circuit as described in claim 2, characterized in that, The motor control and drive module includes: a switching unit, comprising a first sub-switch and a second sub-switch. The common terminal of the first sub-switch and the second sub-switch is respectively connected to the winding electrode of the window motor M. The normally closed terminal of the first sub-switch is connected to the first output terminal of the motor control and drive module and one end of the sampling resistor R5. The normally closed terminal of the second sub-switch is connected to the second output terminal of the motor control and drive module and one end of the sampling resistor R9. The other ends of the sampling resistors R5 and R9 are respectively connected to the negative terminal of the high-power power supply. The normally open terminals of the first sub-switch and the second sub-switch are connected to the positive output of the first power supply of the controller module. One end of the coil of the first sub-switch and the second sub-switch is respectively connected to the positive output of the second power supply of the controller module and the anode of the freewheeling diodes D1 and D2. The other ends of the coils of the first and second sub-switches are connected to the collectors of transistors Q2 and Q4, respectively. The collector of transistor Q2 is also connected to the cathode of freewheeling diode D1 and one end of capacitor C1. The collector of transistor Q4 is also connected to the cathode of freewheeling diode D2 and one end of capacitor C4. The base of transistor Q2 is connected to one end of resistors R2 and R4, respectively. The base of transistor Q4 is connected to one end of resistors R13 and R11, respectively. The other ends of resistors R4 and R13 are connected to the first output and the second output of the system-on-a-chip module, respectively. The emitters of transistors Q2 and Q3, and the other ends of resistors R2, R13, C1, and C4 are connected to the negative terminal of the low-power power supply.
4. The ripple anti-pinch circuit as described in claim 3, characterized in that, The negative terminals of the high-power power supply and the low-power power supply are both connected to the negative terminal of the vehicle battery.
5. The ripple anti-pinch circuit as described in claim 1, characterized in that, The motor DC current extraction and processing module includes a voltage divider resistor R22. One end of the voltage divider resistor R22 is connected to the output of the motor current conversion and amplification module, and the other end is connected to the output terminal of the motor DC current extraction and processing module, the cathode of the voltage clamping diode D3, and one end of the voltage divider resistor R27, the low-frequency filter capacitor C13, and the high-frequency filter capacitor C14. The other end of the voltage divider resistor R27, the low-frequency filter capacitor C13, and the high-frequency filter capacitor C14 is connected to the negative terminal of the low-power power supply. The anode of the voltage clamping diode D3 is connected to the positive terminal of the fourth power supply output by the controller module.
6. The ripple anti-pinch circuit as described in claim 5, characterized in that, The low-current voltage regulator circuit includes a voltage divider resistor R18. One end of the voltage divider resistor R18 is positively connected to the third power supply output of the controller module, and the other end is connected to one end of the voltage divider resistor R20, the low-frequency filter capacitor C7, the high-frequency filter capacitor C8, and the output terminal of the low-current voltage regulator circuit. The other ends of the voltage divider resistor R20, the low-frequency filter capacitor C7, and the high-frequency filter capacitor C8 are connected to the negative terminal of the low-power power supply.
7. The ripple anti-pinch circuit as described in claim 6, characterized in that, The motor ripple current extraction and processing module includes an operational amplifier U2. The positive input terminal of the operational amplifier U2 is connected to the third positive output power supply of the controller module and one end of the decoupling capacitor C9. The output terminal of the operational amplifier U2 is connected to one end of the output voltage divider resistor R25, the high-frequency feedback filter capacitor C16, and the feedback resistor R30. The other end of the voltage divider resistor R25 is connected to the output terminal of the motor ripple current extraction and processing module and one end of the output voltage divider resistor R29, the output filter capacitor C15, and the voltage clamping diode D4. The other end of the voltage clamping diode D4 is connected to the fifth positive output power supply of the controller module. The non-inverting input terminal of the operational amplifier U2 is connected to one end of the non-inverting input resistor R24, the DC bias resistor R21, and the high-frequency input filter capacitor C12. The other end of the DC bias resistor R21 and the high-frequency input filter capacitor C12 is connected to the output terminal of the small current voltage regulator module. The other end of the positive input resistor R24 is connected to one end of the resistor R23, capacitor C10, and capacitor C11. The other end of the resistor R23 is connected to the output terminal of the motor current conversion amplifier module and one end of the pull-down resistor R26 and the negative input resistor R28. The negative input terminal of the operational amplifier U2 is connected to the other end of the negative input resistor R28, the high-frequency feedback filter capacitor C16, and the feedback resistor R30. The other end of the negative power input terminal of the operational amplifier U2 and the pull-down resistor R26, capacitor C10, capacitor C11, decoupling capacitor C9, output voltage divider resistor R29, and output filter capacitor C15 is connected to the negative terminal of the low-power power supply.
8. A ripple anti-pinch circuit control method, applied to a ripple anti-pinch circuit as described in claims 1-7, characterized in that, Includes the following steps: S21: The area between the window glass and the top of the window is a preset threshold 2 as an anti-pinch area, where the threshold 2 is the distance between the window glass and the top of the window, and the distance is 50mm. S22: When the car window is raised, the first output of the on-chip system module is low level and the second output is high level. The position of the car window is determined according to the number of effective pulses at the output of the motor ripple current extraction and processing module collected by the on-chip system module. The effective pulse refers to an effective square wave with a frequency of 300 to 1500 Hz. S23: If the on-chip system module determines that the window is located in the anti-pinch area, and the output value of the motor DC current extraction and processing module is greater than the threshold 1 twice; S24: The on-chip system module controls the motor drive control module to stop the window motor from rising and then immediately lowers it a certain distance.
Citation Information
Patent Citations
Car window ripple anti-pinch circuit, device and method and car
CN113309434A
Car window anti-pinching control circuit based on ripple wave and current detection
CN203050353U