Anti-pinch device for automobile glass
Technical Field
The utility model relates to an automotive electronics technical field, concretely relates to car glass anti-pinch device.
Background
Along with the progress of society, traffic is more and more developed, the use of car is also more and more common, in order to make the use of car more convenient, the door window of car also evolves into the electrodynamic type door window by manual formula door window gradually, and the electrodynamic type door window only needs to press the switch can realize opening and closing of door window, but this electrodynamic type door window is because there is not protection device very easily to press from both sides people, and the driver is when closing the door window, if child stretches out the head outside the window or the hand very easily is pressed from both sides, therefore national standard GB11552 stipulates, the remote control door window must dispose the function of preventing pressing from both sides. The principle that current door window anti-pinch function realized mainly divide into ripple mode and hall mode, and these two kinds of modes are according to window motor's electric current size, judge whether there is the barrier. However, this kind of prevent pressing from both sides the mode and can receive the influence of environment, low temperature like north winter, the adhesive tape sclerosis of door window, the door window resistance increase can lead to preventing pressing from both sides the device malfunction for the door window can not be closed, thereby influences user's use and experiences.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a car glass anti-pinch device can detect the position of door window to reach at the door window and prevent pressing from both sides regional back, detect whether have the barrier on the door window, thereby prevent anti-pinch device malfunction, guarantee user's safety.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
An automobile glass anti-pinch device comprises a window position detection module, an anti-pinch detection module and a window control module, wherein the window position detection module adopts a Hall sensor, the Hall sensor is arranged on a window motor and is connected with the window control module, the Hall sensor is used for determining the position of a window according to the rotating angle and the number of turns of the window motor, and when the window moves to an anti-pinch area, the Hall sensor sends a signal to the window control module to enable the anti-pinch monitoring module to start working; prevent pressing from both sides detection module including ripple current sampling resistance and ripple current processing unit that links to each other in proper order, ripple current sampling resistance links to each other with window motor, and ripple current processing unit links to each other with window control module, window control module links to each other with window motor.
Preferably, the anti-pinch area is an area 4mm-200mm away from the top of the car window.
Preferably, the ripple current processing unit comprises a differential amplifier, a ripple smoothing circuit, an a/D converter, a low-pass filter circuit and a ripple-square wave converter, the current of the window motor is divided into two paths after passing through the ripple current sampling resistor and the differential amplifier, one path is input into the window control module through the ripple smoothing circuit and the a/D converter, and the other path is input into the window control module through the low-pass filter circuit and the ripple-square wave converter in sequence.
Preferably, the ripple smoothing circuit comprises a first resistor and a second resistor which are sequentially connected with the output end of the differential amplifier, the second resistor is grounded, a first capacitor and a first diode are sequentially connected in parallel at two ends of the second resistor, a common end of the first resistor and the second resistor is connected with the a/D converter through a first inductor, and the first inductor is grounded through a second capacitor; the low-pass filter circuit comprises a third resistor, a fourth resistor and an operational amplifier which are sequentially connected with the output end of the differential amplifier, the common end of the third resistor and the common end of the fourth resistor are grounded through a third capacitor, the common end of the fourth resistor and the common end of the operational amplifier are grounded through a fourth capacitor, the fourth resistor is connected with the positive phase input end of the operational amplifier, the inverting phase input end of the operational amplifier is connected with the output end of the operational amplifier, and the output end of the operational amplifier is sequentially connected with the vehicle window control module through a fifth resistor and a ripple-square wave converter.
Preferably, the vehicle window control module comprises a controller, and a first driving chip and a second driving chip respectively connected with the controller, the 2 pins and the 3 pins of the first driving chip are respectively connected with the controller through a sixth resistor and a seventh resistor, the 6 pins of the first driving chip are directly connected with the controller, the 6 pins of the first driving chip are also grounded through an eighth resistor, the 5 pins of the first driving chip are grounded through a ninth resistor, the output end of the first driving chip is connected with the anode of the vehicle window motor, the 2 pins and the 3 pins of the second driving chip are respectively connected with the controller through a tenth resistor and an eleventh resistor, the 6 pins of the second driving chip are directly connected with the controller, the 6 pins of the second driving chip are also grounded through a twelfth resistor, the 5 pins of the second driving chip are grounded through a thirteenth resistor, and the output end of the second driving chip is connected with the cathode of the vehicle window motor.
Preferably, the controller adopts a PIC16F877 programmable interrupt controller, and the first driving chip and the second driving chip adopt BTN7960 driving chips.
The utility model detects the position of the car window through the Hall sensor, when the car window moves to the anti-pinch area, the anti-pinch monitoring module starts working, and prevents the misoperation of the car window control module caused by external influence; the anti-pinch detection module is used for judging whether an obstacle exists or not by acquiring a ripple current signal of the vehicle window motor and converting the ripple current signal into a square wave, and the detection result is quick and accurate; the window control module adopts two driving chips, and driving chip's interface circuit is simple, can the snap action when the door window meets hindering, makes window motor reversal, prevents to be pressed from both sides by the door window, guarantees user's safety.
Drawings
FIG. 1 is a schematic block diagram of the present invention;
Fig. 2 is a schematic circuit diagram of the ripple current processing unit according to the present invention;
fig. 3 is a schematic circuit diagram of the car window control module of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work all belong to the protection scope of the present invention.
As shown in fig. 1 to 3, the anti-pinch device for automobile glass comprises a car window position detection module, an anti-pinch detection module and a car window control module, wherein the car window position detection module adopts a hall sensor, the hall sensor is arranged on a car window motor and is connected with the car window control module, the hall sensor is used for determining the position of a car window according to the rotating angle and the number of turns of the car window motor, when the car window moves to an anti-pinch area, the hall sensor sends a signal to the car window control module to enable the anti-pinch monitoring module to start working, and in the embodiment, the anti-pinch area is an area which is 4mm-200mm away from the top of the car window; prevent pressing from both sides detection module including ripple current sampling resistance and ripple current processing unit that link to each other in proper order, ripple current sampling resistance links to each other with window motor, ripple current processing unit links to each other with window control module, ripple current sampling resistance is used for gathering window motor's current value, ripple current processing unit is used for handling window motor's current value, whether meet with the resistance with judging the door window, window control module links to each other with window motor, window control module is used for driving window motor corotation and reversal, thereby realize the rising and the decline of door window.
The ripple current processing unit comprises a differential amplifier, a ripple smoothing circuit, an A/D converter, a low-pass filter circuit and a ripple-square wave converter, the current of the car window motor is converted into a voltage signal through a ripple current sampling resistor and is divided into two paths after being amplified by the differential amplifier, one path of the current is input into the car window control module through the ripple smoothing circuit and the A/D converter, and the other path of the current is input into the car window control module through the low-pass filter circuit and the ripple-square wave converter in sequence, wherein the differential amplifier and the ripple-square wave converter are both in the prior art and are not described in detail.
The ripple smoothing circuit comprises a first resistor R1 and a second resistor R2 which are sequentially connected with the output end of the differential amplifier, the second resistor R2 is grounded, two ends of the second resistor R2 are sequentially connected with a first capacitor C1 and a first diode D1 in parallel, the common end of the first resistor R1 and the second resistor R2 is connected with the A/D converter through a first inductor L1, and the first inductor L1 is also grounded through a second capacitor C2; the low-pass filter circuit comprises a third resistor R3, a fourth resistor R4 and an operational amplifier U1 which are sequentially connected with the output end of the differential amplifier, the common end of the third resistor R3 and the fourth resistor R4 is grounded through a third capacitor C3, the common end of the fourth resistor R4 and the operational amplifier U1 is grounded through a fourth capacitor C4, a fourth resistor R4 is connected with the positive-phase input end of the operational amplifier U1, the inverting input end of the operational amplifier U1 is connected with the output end of the operational amplifier U1, and the output end of the operational amplifier U1 is sequentially connected with the vehicle window control module through a fifth resistor R5 and a ripple-square wave converter.
The vehicle window control module comprises a controller, a first driving chip U2 and a second driving chip U3 which are respectively connected with the controller, in this embodiment, the controller adopts a PIC16F877 programmable interrupt controller, the first driving chip U2 and the second driving chip U3 both adopt BTN7960 driving chips, wherein, a pin 2 (input end) and a pin 3 (suppression end) of the first driving chip U2 are respectively connected with the controller through a sixth resistor R6 and a seventh resistor R7, a pin 6 (current sampling end) of the first driving chip U2 is directly connected with the controller, a pin 6 (current sampling end) of the first driving chip U2 is also grounded through an eighth resistor R8, a pin 5 (power conversion end) of the first driving chip U2 is grounded through a ninth resistor R9, a pin 4 (output end) of the first driving chip U2 is connected with the anode of the vehicle window M, a pin 2 (input end) and a pin 2 (power conversion end) of the second driving chip U3 are respectively connected with an eleventh resistor R11, the 6 pins of the second driving chip U3 are directly connected to the controller, the 6 pin (current sampling end) of the second driving chip U3 is also grounded through a twelfth resistor R12, the 5 pin (power conversion end) of the second driving chip U3 is grounded through a thirteenth resistor R13, and the output end of the second driving chip U3 is connected to the negative electrode of the window motor M. First driver chip U2 and second driver chip U3 are used for driving window motor M corotation and reversal, and the working process of first driver chip U2 and second driver chip U3 is prior art, no longer gives details.
When the utility model works, the Hall sensor determines the position of the car window according to the rotating angle and the number of turns of the car window motor, and when the car window moves to the anti-pinch area, the Hall sensor sends a signal to the car window control module to enable the anti-pinch monitoring module to start working; the working current of the car window motor is converted into a voltage signal through a ripple current sampling resistor, the voltage signal is amplified by using a differential amplifier, the amplified signal is divided into two paths, one path of the amplified signal is input into an A/D converter through a ripple smoothing circuit, the A/D converter is used for carrying out analog-to-digital conversion on the signal, and the signal is input into a car window control module to obtain the current value of the car window motor; the other path is filtered by the low-pass filter circuit, then is input into the ripple-square wave conversion circuit, converts the ripple signal into a square wave signal, and is input into the vehicle window control module to obtain a pulse square wave signal of the vehicle window motor, the controller judges whether the vehicle window is blocked according to the current signal and the pulse square wave signal of the vehicle window motor, and the judgment principle is as follows: under the normal use state, when window glass rose, behind the electric current increase, if ripple pulse cycle changes very fast, then judge that the door window normally heaves, if pulse cycle changes slowly, then judge that the door window meets and hinders, if the controller judges that the door window meets and hinders, then through first drive chip and the reversal of second drive chip control window motor, the door window falls down, prevents to be pressed from both sides by the door window. The process of obtaining the current signal and the pulse square wave signal by the controller according to the signal calculation of the input end and the process of controlling the reversing of the window motor by the controller are the prior art and are not described again.
The utility model discloses can detect the position of door window to reach at the door window and prevent pressing from both sides regional back, detect whether there is the barrier on the door window, thereby prevent to prevent that the anti-pinch device malfunction from guaranteeing user's safety.