CN215332221U - Overload current detects type car window and prevents pressing from both sides device - Google Patents
Overload current detects type car window and prevents pressing from both sides device Download PDFInfo
- Publication number
- CN215332221U CN215332221U CN202120528088.XU CN202120528088U CN215332221U CN 215332221 U CN215332221 U CN 215332221U CN 202120528088 U CN202120528088 U CN 202120528088U CN 215332221 U CN215332221 U CN 215332221U
- Authority
- CN
- China
- Prior art keywords
- motor
- mcu processor
- window
- circuit
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Power-Operated Mechanisms For Wings (AREA)
- Window Of Vehicle (AREA)
Abstract
The utility model relates to the technical field of vehicle control, and particularly discloses an overload current detection type window anti-pinch device with a small motor size and simple vehicle wiring, which comprises a motor, a first switch, a second switch and a third switch, wherein the motor is connected with the motor; the sampling resistor is used for detecting the motor ripple; a filter circuit; the amplifying circuit and the processing circuit are used for signal processing and feedback control of the motor; the processing circuit comprises an MCU processor, a forward rotation control circuit and a reverse rotation control circuit, wherein the MCU processor is connected with a reference ground through an on-off key K1, and when the MCU processor is closed at K1, the MCU processor sends forward or reverse stepping signals to the motor, reads a sampling level Vs, stores the pulse number and also stores the pulse number Pm from the lowest end to the highest end of the vehicle window; the MCU processor is connected with switch keys K2 and K3 which correspondingly trigger the forward rotation and reverse rotation control loops to work; and when the sampled voltage value Vx acquired by the MCU processor when K2 or K3 is closed is greater than Vs and the pulse number is less than Pm, controlling the motor to rotate reversely to bring the vehicle window away from the obstacle.
Description
Technical Field
The utility model relates to the technical field of vehicle control, in particular to an overload current detection type vehicle window anti-clamping device.
Background
The use of the electric vehicle window reduces the control difficulty of the vehicle window and promotes the intelligent development of the vehicle. However, in the electric control process of the automobile window, due to the lack of the sensing device, the window often mistakenly clamps the passenger, and even leads to the death of the clamped person, so that the prevention of the window clamping injury of the passenger is particularly necessary for improving the safety of the automobile use. At present, the anti-pinch scheme of the car window mainly comprises two schemes, wherein one scheme is that a sensor is arranged at the car window end, and whether an obstacle exists or not is identified through the sensor when the car window is closed; the other type is that a camera is arranged around the car window, whether an obstacle exists above the car window is monitored through the camera, and the situation above the car window is detected firstly when the car window is closed. The former ensures that the barrier cannot be clamped, has high safety, but is easy to generate misoperation and has unstable performance; the latter solution is relatively expensive and difficult to popularize.
In view of this, in order to improve the reliability of vehicle window control, in the scheme of installation sensor, mainly adopt hall sensor technology, hall sensor technology is mature, and circuit processing is simple, and the discernment is accurate. However, in the above scheme, a hall sensor needs to be added in the motor, so that the size and the design difficulty of the motor are increased, and the requirement of the market on miniaturization of the motor is difficult to meet; in addition, 3 connecting wires for connecting the Hall sensors are required to be added in the design scheme, so that the circuit in the motor is complex, the wiring difficulty and cost of the automobile are increased, and the optimal design of the automobile is limited.
SUMMERY OF THE UTILITY MODEL
In view of the above, it is necessary to provide an overcurrent detection type window anti-pinching device that has a small motor size and simple vehicle wiring, in order to solve the technical problems of a large motor size and a complicated circuit.
An overload current detection type car window anti-clamping device comprises a motor electrically connected with a car power supply and used for driving a car window to move; the sampling resistor is connected with the motor in series and is grounded and used for detecting the motor ripple; the filter circuit is used for filtering interference signals in the sampling resistor sending signals; the amplifying circuit is used for amplifying the signal sent by the filter circuit and the processing circuit is used for processing the signal and controlling the motor in a feedback manner;
the processing circuit comprises an MCU processor and a control loop for controlling the forward and reverse rotation of the motor, wherein a P2.3 pin of the MCU processor is electrically connected with a reference ground through an on-off key K1, the MCU processor is used for sending a forward stepping signal or a reverse stepping signal to the motor when the on-off key K1 is closed, reading a sampling level Vs sent by the amplifying circuit, processing the sampling level Vs and storing the processed sampling level Vs as the pulse number, and the MCU processor is also used for storing and mapping the pulse number Pm of the position of the vehicle window moving from the highest end to the lowest end; the control loop comprises a forward rotation control loop electrically connected with a P2.1 pin of the MCU processor and a reverse rotation control loop electrically connected with a P2.0 pin of the MCU processor, the P2.2 pin of the MCU processor is connected with an on-off key K2 for triggering the forward rotation control loop to work, and the P2.4 pin of the MCU processor is connected with an on-off key K3 for triggering the reverse rotation control loop to work;
and when the sampling voltage value Vx acquired by the MCU processor when the on-off key K2 or the on-off key K3 is closed is greater than the sampling level Vs and the processed pulse number is less than the pulse number Pm, the reverse control loop is controlled to work by a P2.0 pin so as to control the motor to drive the vehicle window away from the obstacle.
In one embodiment, the MCU processor is a data acquisition chip of type ADuC81 or/and a single chip.
In one embodiment, when the MCU processor is a data acquisition chip of type ADuC81, the filter circuit is a low-pass filter for providing a mixed ac/dc signal.
In one embodiment, the MCU processing device further comprises a clock circuit connected with the MCU processor.
In one embodiment, when the MCU processor is a single chip microcomputer, the filter circuit includes high-pass and low-pass filters for providing ac signals.
In one embodiment, the device further comprises a comparison circuit, and the comparison circuit is used for processing the signal amplified by the amplification circuit and converting the ripple signal into a PWM signal for the MCU processor to detect.
In one embodiment, the apparatus further comprises a motor driving current detection circuit connected to the reverse rotation control loop, the motor driving current detection circuit comprises a resistor R1, a capacitor C1 and a resistor R2 arranged between the resistor R1 and the capacitor C1, which are respectively connected to the reference ground, and the resistor R1 is further connected to the forward rotation control loop.
In one embodiment, the forward rotation control loop is formed by connecting a motor, a MOS transistor T1, a MOS transistor T2 and a MOS transistor T4 in series, and the reverse rotation control loop is formed by connecting a motor, a MOS transistor T1, a MOS transistor T2 and a MOS transistor T3 in series.
The overload current detection type vehicle window anti-clamping device is implemented, ripples of a motor are obtained through a sampling resistor, a ripple signal is sent to an MCU (microprogrammed control Unit) processor, and the MCU processor stores the sampling resistor when the motor normally moves and records the pulse number Pm sent by the sampling resistor when the position of a vehicle window moves from the highest end to the lowest end in a learning stage; in the actual operation process of the motor, when the sampling voltage value Vx acquired by the MCU processor is greater than the sampling level Vs and the processed pulse number is less than the pulse number Pm, the MCU processor judges that the motor is blocked and an obstacle exists at the window, under the condition, the MCU processor controls the reverse control loop to work and takes the window away from the obstacle, so that the window is prevented from being added with passengers or clamping damaged articles, and the safety of window control is improved.
Drawings
Fig. 1 is a schematic block diagram of an overload current detection type window anti-pinch device according to an embodiment of the present invention;
FIG. 2 is a schematic circuit diagram of an overcurrent detecting type window anti-pinch device in the embodiment of FIG. 1;
FIG. 3 is a flowchart of a method for preventing pinching of a window with overcurrent detection according to an embodiment of the present invention;
FIG. 4 is a flow chart of the MCU processor training learning phase in one embodiment of the present invention;
fig. 5 is a flow chart of the working phase of the MCU processor in one embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.
Referring to fig. 1 and 2, the present invention provides an overload current detection type window anti-pinch device 10 with a small motor 100 and simple wiring for a vehicle, wherein the device 10 includes a motor 100 electrically connected to a vehicle power supply for driving a window to move; a sampling resistor 200 connected in series with the motor 100 and grounded for ripple detection of the motor 100; a filter circuit 300 for filtering out interference signals in the signals sent by the sampling resistor 200; an amplifying circuit 400 for amplifying the signal sent by the filter circuit 300 and a processing circuit 500 for signal processing and feedback control of the motor 100. It can be understood that the sampling resistor 200 is connected in series in the control loop of the motor 100, and when the motor 100 is not powered, the end of the sampling resistor 200 is at the ground level; when the motor 100 is powered on, the sampling resistor 200 receives the ac/dc mixed signal, that is, receives the ripple signal generated by the motor 100, thereby obtaining the source signal. The filter circuit 300 is used for filtering interference signals in ripple signals acquired by the sampling resistor 200, so as to improve the effectiveness of the signals, avoid the occurrence of window misoperation caused by analysis errors, and further achieve the purpose of improving the reliable control of the window. The amplifying circuit 400 comprises an amplifier for adjusting different amplification factors according to the requirements of the processing circuit 500, and it is ensured that the amplitude of the signal sent to the processing circuit 500 by the sampling resistor 200 is within the identification range of the processing circuit 500 when the motor 100 is started and stopped due to blockage, thereby improving the sensitivity and reliability of the device 10 to signal processing.
The processing circuit 500 comprises an MCU processor and a control loop used for controlling the forward and reverse rotation of the motor 100, wherein a P2.3 pin of the MCU processor is electrically connected with a reference ground through an on-off key K1, the MCU processor is used for sending a forward stepping signal or a reverse stepping signal to the motor 100 when the on-off key K1 is closed, reading a sampling level Vs sent by the amplifying circuit 400, processing the sampling level Vs and storing the sampling level Vs as the pulse number, and the MCU processor is also used for storing and mapping the pulse number Pm of the position of the vehicle window moving from the highest end to the lowest end; the control loop comprises a forward rotation control loop electrically connected with a P2.1 pin of the MCU processor and a reverse rotation control loop electrically connected with a P2.0 pin of the MCU processor, the P2.2 pin of the MCU processor is connected with an on-off key K2 for triggering the forward rotation control loop to work, and the P2.4 pin of the MCU processor is connected with an on-off key K3 for triggering the reverse rotation control loop to work; the sampling voltage value Vx that the MCU processor obtained when on & off key K2 or on & off key K3 are closed is greater than sampling level Vs, and when the pulse number that just is handled is less than pulse number Pm, through P2.0 foot control reversal control circuit work to control motor 100 and take the vehicle window away from the obstacle.
It should be noted that the apparatus 10 of the present invention includes three sampling modes: ADC sampling, PWM discernment sampling and ADC and PWM discernment sample together, correspondingly, correspond three kinds of sampling modes, the MCU treater is the data acquisition chip or/and the singlechip of model ADuC 81. When the MCU processor is a data acquisition chip of type ADuC81, the ADC sampling method 20 is used, in which case the filter circuit 300 is a low-pass filter, or a low-pass filter module consisting of a plurality of resistors and capacitors, such as the low-pass filter module of R2 and C1 shown in fig. 2, for providing the ac/dc mixed signal, i.e. for providing the ac/dc sampled signal to the processing circuit 500. When ADC sampling is adopted, the signal amplified by the amplifying circuit 400 is directly connected to an ADC detection port of the MCU processor or is processed by a special ADC chip and then is transmitted to the MCU processor for processing.
Further, in an embodiment, the apparatus 10 further includes a clock circuit connected to the MCU processor, the clock circuit is composed of a crystal oscillator X1 and capacitors C2-C3 shown in fig. 2, and is configured to time the MCU processor signal receiving interval, so that the MCU processor adjusts the signal output according to the time variation. Specifically, when the on-off key K2 or the on-off key K3 is turned on, the MCU processor sends a PWM signal to the motor 100, so that the motor 100 rotates in the forward direction or the reverse direction, and records the position of the window by the number of PWM signals, i.e., PWM + or PWM-, for example, when the MCU processor detects that the motor 100 rotates per unit time, i.e., the window moves, the MCU processor adds 1 to the PWM signal output by the motor 100, and when the motor 100 rotates in the forward direction to drive the window to ascend, the MCU processor controls the PWM + to increase by 1, and the PWM-decreases by 1 per unit time, and stores the signal; when the motor 100 rotates reversely to drive the car window to descend, the MCU processor controls PWM-to increase by 1 and PWM + to decrease by 1 in each unit time, and the signals are stored.
When PWM identification sampling is used, the MCU processor is a single-chip microcomputer, and the filter circuit 300 includes high-pass and low-pass filters for providing ac signals. Further, when PWM is used to identify sampling, the apparatus 10 further includes a comparison circuit 600, where the comparison circuit 600 includes a comparator, and is configured to process the signal amplified by the amplification circuit 400, and convert the ripple signal into a PWM signal for the MCU processor to detect. Specifically, the signal is enlargied the back through amplifier circuit 400, inserts the comparator and compares, changes corresponding ripple signal into PWM signal and supplies the MCU treater to detect, and the MCU treater is through the number and the amplitude and the number and the duty cycle of PWM that detect the ripple to the realization is to the judgement and the anti-pinch processing of door window position.
In an embodiment, the apparatus 10 further includes a motor 100 driving current detection circuit connected to the reverse rotation control loop, the motor 100 driving current detection circuit is connected to pin P1.0 of the MCU processor or pin 1 of the ADC, and includes a resistor R1, a capacitor C1 and a resistor R2 disposed between the resistor R1 and the capacitor C1, which are respectively connected to the reference ground, and the resistor R1 is further connected to the forward rotation control loop for obtaining a ripple signal generated by the motor 100.
Referring to fig. 2, in an embodiment, the forward rotation control circuit is formed by connecting the motor 100, the MOS transistor T1, the MOS transistor T2, and the MOS transistor T4 in series, and the reverse rotation control circuit is formed by connecting the motor 100, the MOS transistor T1, the MOS transistor T2, and the MOS transistor T3 in series. Specifically, when the on-off key K2 is closed, the P2.2 pin of the MCU processor receives the action signal and sends a trigger signal to the forward rotation control loop via the P2.1 pin to drive the forward rotation control loop to act, and the motor 100 is rotated forward to drive the window to ascend; when the on-off key K3 is closed, the P2.4 pin of the MCU processor receives the action signal and sends a trigger signal to the reverse control loop via the P2.0 pin to drive the reverse control loop to act, and the motor 100 is rotated in reverse to drive the window to descend.
It should be noted that before the device 10 is put into use, the MCU processor needs to be trained and learned, so that the MCU processor learns and stores parameters of the window during normal operation, so that the MCU processor can analyze and process the window when the window is blocked. Specifically, when the switch key K1 is closed, an automatic learning mode of the MCU processor is triggered, in this case, the MCU processor will control the motor 100 to rotate forward until the window reaches the highest elevation position, then control the motor 100 to rotate backward until the window reaches the lowest elevation position, and record the pulse number Pm sent during the movement of the window from the highest position to the lowest position and the sampling level Vs received by the sampling resistor 200 during this process, where the sampling level Vs is a voltage value when the window is not blocked and the motor 100 operates normally. The device 10 enters a window lifting control mode when an on-off key K2 or an on-off key K3 is closed after training and learning to store standard values such as a pulse number Pm and a sampling level Vs, and when a window encounters an obstacle in the lifting process, the motor 100 is blocked from overload, under the condition, the voltage value of a ripple signal detected by the sampling resistor 200, namely the sampling voltage value Vx, rises, the sampling voltage value Vx under the condition is larger than the sampling level Vs when the window is lifted normally, and when the window clamps an object or meets the object, the window must not rise to the highest lifting position or fall to the lowest lifting position, so that the number of PWMs sent to the motor 100 by the MCU processor under the condition is smaller than the pulse number Pm, and in view of this, the MCU processing can judge whether the window clamps the object according to the comparison between the sampling voltage value Vx and the sampling level Vs and further determine the relationship between the PWM number and the pulse number, so as to avoid the problem that the window clamps passengers or objects.
The utility model also discloses an overload current detection type window anti-pinch method 20, please refer to fig. 1 and fig. 2, the device 10 adopted by the method 20 comprises a motor 100 electrically connected with a vehicle-mounted power supply and used for driving the window to move; a sampling resistor 200 connected in series with the motor 100 and grounded for ripple detection of the motor 100; a filter circuit 300 for filtering out interference signals in the signals sent by the sampling resistor 200; the processing circuit 500 comprises an MCU processor, a forward rotation control loop electrically connected with a P2.1 pin of the MCU processor and a reverse rotation control loop electrically connected with a P2.0 pin of the MCU processor, wherein the P2.3 pin of the MCU processor is electrically connected with a reference ground through a switch key K1, and the MCU processor is further connected with a switch key K2 for triggering the forward rotation control loop to work and a switch key K3 for triggering the reverse rotation control loop to work. Preferably, the device 10 uses ADC sampling or/and PWM identification sampling. Specifically, referring to the two different sampling methods 20 of the overload current detection type window anti-pinch device 10, the selection of the MCU processor, the selection of the filter circuit 300, and the selection of the comparison circuit 600, in other words, the method 20 of the present invention is based on the overload current detection type window anti-pinch device 10, and the device 10 used in the method may be any one of the devices in the embodiments described above.
Referring to fig. 3, 4 and 5, the method 20 for preventing the window from being pinched by the overload current includes the following steps:
s1: the MCU processor sends a forward stepping signal to the motor 100 when an on-off key K1 is closed, and reads a sampling level VS when the motor 100 runs until a vehicle window moves to the positive top end; the MCU processor sends a reverse step signal to the motor 100 until the window moves to the negative bottom, reads the pulse number Pm of the step signal and stores it in EPROOM as the standard pulse number.
Specifically, the pulse number Pm is the number of pulses sent to the motor 100 by the MCU processor in the process of descending the window from the highest ascending/descending position to the lowest ascending/descending position, and certainly, the pulse number Pm is also equal to the number of pulses sent to the motor 100 by the MCU processor in the process of ascending the window from the lowest ascending/descending position to the highest ascending/descending position. The sampling level Vs is a level value of a sampling signal sent by the sampling resistor 200 to the MCU processor under normal operating conditions of the motor 100 without the window resistance, so as to compare or evaluate the operating state of the window.
When the switch key K1 is closed, the P2.3 pin of the MCU processor receives a signal and enters an automatic learning mode, and in this process, the MCU processor first sends a forward step signal PWM + to the motor 100 to make the motor 100 drive the window to ascend, and reads the sampling level sent by the sampling resistor 200 when the motor 100 runs and uses the sampling level as a reference level or standard level for determining the window state until the motor 100 drives the window to ascend to the highest ascending/descending position. After the motor 100 drives the window to ascend to the highest ascending and descending position, if the motor 100 further rotates in the forward direction, the resistance borne by the window is increased due to the action of the vehicle frame, so that the load of the motor 100 is increased, and the sampling voltage value sent to the MCU processor by the sampling resistor 200 ascends, so that in the automatic learning mode, when the MCU processor detects that the sampling voltage value is greater than the sampling level Vs, the window is judged to ascend, and then a reverse stepping signal PWM-is sent to the motor 100, so that the motor 100 drives the window to descend until the window descends to the lowest ascending and descending position. In this process, the MCU processor reads and stores the number of PWMs sent to the motor 100 during the lowering of the window from the highest elevation position to the lowest elevation position as the number of standard pulses, so as to be used to determine the position and height of the window during the normal operation of the window. Since the device 10 of the present embodiment further includes a clock circuit, since the rotation speed of the motor 100 per unit time is constant, the MCU processor can determine the window height from the window movement time, the number of PWMs transmitted to the motor 100 during the movement time, and the window stroke, that is, the window height can be determined from the number and positive/negative sign of the PWMs.
When the vehicle window is at the negative bottom end, namely, when the vehicle window descends to the lowest ascending and descending position, the MCU processor sends a reverse stepping signal PWM-equal to the standard pulse number, namely Pm, to the motor 100, so far, the switch key K1 is released, and the training and learning process of the MCU processor is completed.
S2: the MCU processor detects the opening and closing states of an on-off key K2 and an on-off key K3, and when the on-off key K2 is detected to be closed, the MCU processor controls the motor 100 to rotate forwards to lift the car window, and simultaneously reads the pulse number of the forward stepping signal PWM + and records the position of the car window; when the on-off key K3 is detected to be closed, the MCU processor controls the motor 100 to rotate reversely to lower the car window, and simultaneously reads the pulse number of the reverse step signal PWM-and records the car window position.
Specifically, in the use process of automobile windows, when a window lifting instruction sent from the outside is received, that is, when the MCU processor detects that any one of the on-off key K2 or the on-off key K3 is closed, the MCU processor controls the motor 100 to operate so as to drive the window to lift. Specifically, when the on-off key K2 is turned off, the MCU processor sends a forward step signal PWM + to the motor 100, so that the motor 100 drives the window to ascend, and in the process of ascending the window, 1 is added to the forward step signal PWM + per unit time, and the MCU processor can determine the position height of the window according to the value of the forward step signal PWM +; when the on-off key K3 is closed, the MCU processor sends a reverse stepping signal PWM-to the motor 100, so that the motor 100 drives the car window to descend, and in the process of descending the car window, 1 is added to the reverse stepping signal PWM-in each unit time, and the MCU processor can judge the position height of the car window according to the value of the reverse stepping signal PWM-.
S3: the MCU processor reads the sampling voltage value Vx, compares the sampling voltage value Vx with the sampling level VS, correspondingly increases the pulse number of the forward stepping signal PWM + and decreases the pulse number of the reverse stepping signal PWM-when the sampling voltage value Vx is smaller than the sampling level VS, or increases the pulse number of the reverse stepping signal PWM-and decreases the pulse number of the forward stepping signal PWM +, and returns to the step S2; when the sampled voltage value Vx is greater than the sampling level VS, the routine proceeds to step S4.
Specifically, in the process that the motor 100 drives the window to lift, the MCU processor reads the sampling voltage value Vx sent by the sampling resistor 200 via the P1.0 pin, and the sampling voltage value Vx is the voltage value of the motor 100 when the window is actually in operation. When the sampling voltage value Vx is smaller than the sampling level VS, the motor 100 is in a normal working state, and under the condition, if the on-off key K2 is closed, the MCU processor continuously sends a forward stepping signal PWM + to the motor 100, so that the motor 100 drives the window to ascend, and adds 1 to the forward stepping signal PWM +; if the on-off key K3 is closed, the MCU processor continuously sends a reverse step signal PWM-to the motor 100 so that the motor 100 drives the vehicle window to descend, adds 1 to the reverse step signal PWM-and then returns to the step 2 to perform the on-off key identification, step signal sending and voltage value comparison processes again.
S4: comparing the relationship between the number of pulses of the forward stepping signal PWM + or the number of pulses of the reverse stepping signal PWM-and the number of standard pulses, when the number of pulses of the forward stepping signal PWM + or the number of pulses of the reverse stepping signal PWM-is greater than the number of standard pulses, the MCU processor stops sending forward or reverse signals to the motor 100, and returns to the step S2; when the number of pulses of the forward step signal PWM + or the number of pulses of the reverse step signal PWM-is less than the number of standard pulses, the MCU processor determines that the motor 100 is blocked by an external obstacle and controls the reverse control loop to operate, so as to bring the window away from the obstacle, and returns to step S2.
Specifically, when the sampling voltage value Vx is greater than the sampling level VS, that is, the output voltage of the motor 100 increases, it is determined in this case that the motor 100 is overloaded, that is, the window movement is blocked. If the number of the pulses of the forward stepping signal PWM + or the number of the pulses of the reverse stepping signal PWM-is smaller than the standard number of pulses under the condition, namely, the window is not completely lowered or the window of the automobile door is not covered, the situation that the sampling voltage value is increased when the window is subjected to the resistance of the top or the bottom of the automobile frame can be eliminated, namely, the problems that the resistance is increased and the motor 100 is overloaded due to the fact that the window clamps the obstacle are judged. Certainly, if the sampled voltage value Vx is greater than the sampling level VS, and the number of pulses of the forward stepping signal PWM + or the number of pulses of the reverse stepping signal PWM-is greater than the standard number of pulses, the MCU processor determines that the window is completely lowered or covers the window of the vehicle door, and stops sending the stepping signal to the motor 100, in which case, the window is moved to the terminal, and the MCU processor records that the PWM value is in EPROOM.
In other words, in this embodiment, the states of the motor 100 and the window need to be determined together by comparing the sampled voltage values and comparing the pulse numbers, so as to improve the sensitivity and reliability of the window detection. When the MCU processor judges that the car window is blocked, the MCU processor controls the reverse control loop to work, namely PWM + or PWM-stepping signals are output to the motor 100, so that the car window returns to the original position, and the aim of preventing the car window from being damaged by clamping is fulfilled. It should be noted that the reverse rotation control circuit of the present embodiment is used to change the current operating state of the motor 100, for example, when the motor 100 rotates in the forward direction and encounters an obstacle, the MCU processor will invoke the reverse rotation control circuit and control the motor 100 to rotate in the reverse direction, and when the motor 100 rotates in the reverse direction and encounters an obstacle, the MCU processor will invoke the reverse rotation control circuit and control the motor 100 to rotate in the forward direction.
The overload current detection type vehicle window anti-clamping device 10 and the method 20 are implemented, ripples of the motor 100 are obtained through the sampling resistor 200, ripple signals are sent to the MCU processor, and the MCU processor stores the sampling resistor 200 when the motor 100 normally moves and records the pulse number Pm sent by the sampling resistor 200 when the position of a vehicle window moves from the highest end to the lowest end in a learning stage, namely when the motor 100 drives the vehicle window to normally move; in the actual operation process of the motor 100, when the sampling voltage value Vx obtained by the MCU processor is greater than the sampling level Vs and the processed pulse number is less than the pulse number Pm, the MCU processor determines that the motor 100 is blocked and there is an obstacle at the window, under this condition, the MCU processor controls the reverse control loop to work and takes the window away from the obstacle to avoid the window from being loaded with passengers or from damaging objects, so as to improve the safety of window control, the device 10 and the method 20 do not involve a hall sensor, the structure and wiring of the device 10 are simple, the size is small, the cost is low, the device is easy to control, and the optimization design of the automobile system is facilitated.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the utility model. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (8)
1. An overload current detection type car window anti-clamping device is characterized by comprising a motor which is electrically connected with a car power supply and is used for driving a car window to move; the sampling resistor is connected with the motor in series and is grounded and used for detecting the motor ripple; the filter circuit is used for filtering interference signals in the sampling resistor sending signals; the amplifying circuit is used for amplifying the signal sent by the filter circuit and the processing circuit is used for processing the signal and controlling the motor in a feedback manner;
the processing circuit comprises an MCU processor and a control loop for controlling the forward and reverse rotation of the motor, wherein a P2.3 pin of the MCU processor is electrically connected with a reference ground through an on-off key K1, the MCU processor is used for sending a forward stepping signal or a reverse stepping signal to the motor when the on-off key K1 is closed, reading a sampling level Vs sent by the amplifying circuit, processing the sampling level Vs and storing the processed sampling level Vs as the pulse number, and the MCU processor is also used for storing and mapping the pulse number Pm of the position of the vehicle window moving from the highest end to the lowest end; the control loop comprises a forward rotation control loop electrically connected with a P2.1 pin of the MCU processor and a reverse rotation control loop electrically connected with a P2.0 pin of the MCU processor, the P2.2 pin of the MCU processor is connected with an on-off key K2 for triggering the forward rotation control loop to work, and the P2.4 pin of the MCU processor is connected with an on-off key K3 for triggering the reverse rotation control loop to work;
and when the sampling voltage value Vx acquired by the MCU processor when the on-off key K2 or the on-off key K3 is closed is greater than the sampling level Vs and the processed pulse number is less than the pulse number Pm, the reverse control loop is controlled to work by a P2.0 pin so as to control the motor to drive the vehicle window away from the obstacle.
2. The device of claim 1, wherein the MCU processor is a data acquisition chip with model number ADuC81 or/and a single chip microcomputer.
3. The device of claim 2, wherein when the MCU processor is a data acquisition chip of type ADuC81, the filter circuit is a low pass filter for providing a mixed ac/dc signal.
4. The apparatus of claim 3, further comprising a clock circuit connected to the MCU processor.
5. The apparatus of claim 2, wherein the filter circuit comprises high pass and low pass filters for providing an ac signal when the MCU processor is a single chip microcomputer.
6. The device according to claim 5, further comprising a comparison circuit for processing the signal amplified by the amplifying circuit and converting the ripple signal into a PWM signal for detection by the MCU processor.
7. The apparatus of claim 2, further comprising a motor driving current detection circuit connected to the reverse rotation control loop, wherein the motor driving current detection circuit comprises a resistor R1, a capacitor C1 and a resistor R2 arranged between the resistor R1 and the capacitor C1, respectively, the resistor R1 is further connected to the forward rotation control loop.
8. The apparatus of claim 2, wherein the forward rotation control circuit is formed by connecting a motor, a transistor T1, a transistor T2 and a transistor T4 in series, and the reverse rotation control circuit is formed by connecting a motor, a transistor T1, a transistor T2 and a transistor T3 in series.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202120528088.XU CN215332221U (en) | 2021-03-12 | 2021-03-12 | Overload current detects type car window and prevents pressing from both sides device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202120528088.XU CN215332221U (en) | 2021-03-12 | 2021-03-12 | Overload current detects type car window and prevents pressing from both sides device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN215332221U true CN215332221U (en) | 2021-12-28 |
Family
ID=79583377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202120528088.XU Active CN215332221U (en) | 2021-03-12 | 2021-03-12 | Overload current detects type car window and prevents pressing from both sides device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN215332221U (en) |
-
2021
- 2021-03-12 CN CN202120528088.XU patent/CN215332221U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6906487B2 (en) | Anti-pinch window drive circuit | |
US5051672A (en) | Automatic window/door system | |
CN111411855B (en) | Anti-pinch control method and system for electric vehicle window | |
US20070241704A1 (en) | Motor Controller and Method for Controlling Motor | |
CN111206838A (en) | Ripple anti-pinch position compensation method and device | |
WO2007004617A1 (en) | Power window-use safety device | |
WO2015027774A1 (en) | Anti-pinching protection device and method for power vehicle window | |
US9329237B2 (en) | Switch detection device and method of use | |
CN215332221U (en) | Overload current detects type car window and prevents pressing from both sides device | |
CN113338743B (en) | Anti-pinch control system of electric tail gate | |
CN215332222U (en) | Anti-mistaken-clamping system for car window | |
CN115075682A (en) | Overload current detection type vehicle window anti-clamping device and method | |
JP4358024B2 (en) | Power window safety device | |
CN213173034U (en) | Airing machine lifting stroke control system and airing machine | |
CN110284799B (en) | Automatic window control module, automatic window controller and car | |
CN111927233A (en) | Non-contact type car window anti-pinch system based on infrared detection | |
KR101735167B1 (en) | Methods for detecting of pinch in anti pinch system of sunroof for vehicle and appratuses using the same | |
JP2017128936A (en) | Tuck-down prevention device for vehicle | |
CN116065913B (en) | Anti-pinch control system for car window and car | |
CN206091704U (en) | Car intelligence prevents pressing from both sides pass window ware based on motor electric current ripple | |
JPH07224576A (en) | Power window drive control device | |
CN110703668A (en) | Anti-pinch control method for lifting cabinet and lifting cabinet with anti-pinch function | |
CN2931719Y (en) | Motor driving device of electric window | |
JP2599352Y2 (en) | Automotive motor control circuit | |
JP3256309B2 (en) | Power window drive control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |