Motor control circuit, vehicle window control system and vehicle
By using the drive module and speed control module in the motor control circuit, and by employing components such as negative feedback adjustment components and operational amplifiers, the problem of unstable power supply voltage during the window lifting control process was solved, thus achieving stability and accuracy in window lifting.
Patent Information
- Application Number
- CN202422801747.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2034-11-15
AI Technical Summary
During the vehicle window lifting control process, unstable power supply voltage causes fluctuations in the window lifting speed, reducing the stability of the control process.
The system employs a motor control circuit, including a drive module and a speed control module. Through components such as negative feedback adjustment components and operational amplifiers, the drive voltage is adjusted in real time to maintain stability and ensure the stability of the window raising and lowering.
It achieves stability and accuracy in window lifting control under fluctuating power supply voltage, avoiding short circuits or operational instability caused by voltage fluctuations.
Smart Images

Figure CN223666266U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronics, in particular to a motor control circuit, a vehicle window control system and a vehicle. BACKGROUND
[0002] In the related art, the lifting control of the vehicle window is generally achieved by controlling the rotating speed and direction of the vehicle window motor. However, in some cases, the power supply voltage of the vehicle may become unstable due to changes in the driving state, thereby causing fluctuations in the lifting speed of the vehicle window and reducing the stability of the vehicle window lifting control process. SUMMARY
[0003] The present application provides a motor control circuit, a vehicle window control system and a vehicle.
[0004] The motor control circuit in the embodiments of the present application is used to control the lifting of the vehicle window, and the motor control circuit comprises a driving module and a speed regulation module, the driving module and the speed regulation module are connected, and the driving module is further used to connect a power supply and a motor.
[0005] The driving module is used to drive the motor to move based on a driving voltage.
[0006] The speed regulation module is used to receive a driving feedback parameter fed back by the driving module, and adjust the driving voltage based on the driving feedback parameter, so that the driving voltage reaches a target voltage.
[0007] In some embodiments, the speed regulation module comprises a negative feedback adjusting component and a first switch tube, a first end of the negative feedback adjusting component is connected with the driving module, a second end of the negative feedback adjusting component is connected with a first end of the first switch tube, a second end of the first switch tube is used to be grounded, and a third end of the first switch tube is connected with the driving module.
[0008] In some embodiments, the negative feedback adjusting component comprises a first operational amplifier branch and a second operational amplifier branch, a first end of the first operational amplifier branch is connected with the driving module, a second end of the first operational amplifier branch is connected with a first end of the second operational amplifier branch, and a second end of the second operational amplifier branch is connected with a first end of the first switch tube.
[0009] In some embodiments, the second end of the first operational amplifier branch is further used to connect a first input end of a control module, for transmitting a first analog signal to the control module; and / or,
[0010] The third end of the second operational amplifier branch is further used to connect a first output end of the control module, for receiving a pulse control modulation signal sent by the control module.
[0011] In some implementations, the first operational amplifier branch includes a first operational amplifier configured to be powered by a single power supply.
[0012] The positive input port of the first operational amplifier is connected to the driving module, the negative input port of the first operational amplifier is used to connect to the power supply, the output port of the first operational amplifier is connected to the first end of the second operational amplifier branch, and the output port of the first operational amplifier is also used to connect to the first input terminal of the control module.
[0013] In some embodiments, the first operational amplifier branch further includes at least one current-limiting resistor and / or at least one voltage-dividing resistor.
[0014] The current-limiting resistor is used to limit the voltage at each port of the first operational amplifier;
[0015] The voltage divider resistor is used to control the voltage output from the first operational amplifier to the control module.
[0016] In some embodiments, the at least one current-limiting resistor includes one or more of a first current-limiting resistor, a second current-limiting resistor, a third current-limiting resistor, and a fourth current-limiting resistor, wherein:
[0017] The first end of the first current-limiting resistor is connected to the driving module, and the second end of the first current-limiting resistor is connected to the inverting input port of the first operational amplifier.
[0018] The first end of the second current-limiting resistor is connected to the power supply, and the second end of the second current-limiting resistor is connected to the positive input port of the first operational amplifier;
[0019] The first end of the third current-limiting resistor is connected to the positive input port of the first operational amplifier, and the second end of the third current-limiting resistor is used for grounding;
[0020] The first end of the fourth current-limiting resistor is connected to the inverting input port of the first operational amplifier, and the second end of the fourth current-limiting resistor is connected to the output port of the first operational amplifier.
[0021] In some embodiments, the at least one voltage divider resistor includes a first voltage divider resistor and a second voltage divider resistor, wherein:
[0022] The first voltage divider resistor and the second voltage divider resistor are connected in series between the output port of the first operational amplifier and ground. The connection point of the first voltage divider resistor and the second voltage divider resistor is also used to connect the first input terminal of the control module.
[0023] In some implementations, the second operational amplifier branch includes a second operational amplifier configured to be powered by a single power supply;
[0024] The positive input port of the second operational amplifier is connected to the second end of the first operational amplifier branch, the inverting input port of the second operational amplifier is used to connect to the control module, and the output port of the second operational amplifier is connected to the first switching transistor.
[0025] In some implementations, the second operational amplifier branch further includes a relief resistor and / or a filter sub-circuit;
[0026] The first end of the pressure relief resistor is connected to the first switching transistor, and the second end of the pressure relief resistor is used for grounding;
[0027] The first end of the filter sub-circuit is used to connect to the inverting input port of the second operational amplifier, and the second end of the filter sub-circuit is used to connect to the first output port of the control module.
[0028] In some embodiments, the first operational amplifier branch includes a first operational amplifier, and the speed control module further includes a connecting resistor, the first end of which is connected to the output port of the first operational amplifier, and the second end of which is connected to the positive input port of the second operational amplifier.
[0029] In some embodiments, the second operational amplifier branch further includes a balancing capacitor, the first end of which is connected to the positive input port of the second operational amplifier, and the second end of which is connected to the output port of the second operational amplifier.
[0030] In some embodiments, the first switching transistor includes a speed-regulating MOS transistor, the gate of which is connected to the second operational amplifier branch, the source of which is connected to the driving module, and the drain of which is grounded.
[0031] In some embodiments, the drive module includes a bridge drive circuit, the bridge drive circuit including at least two bridge arms, the first end of the at least two bridge arms being connected to a power supply, and the second end of the at least two bridge arms being connected to the speed control module.
[0032] The at least two bridge arms include a first bridge arm and a second bridge arm, wherein the midpoint of the first bridge arm and the midpoint of the second bridge arm are respectively used to connect the first end and the second end of the motor.
[0033] In some embodiments, the first bridge arm includes a first driving MOSFET and a second driving MOSFET. The gate of the first driving MOSFET is connected to the driving chip, the drain of the first driving MOSFET is connected to a power supply, the source of the first driving MOSFET is connected to the drain of the second driving MOSFET and a first terminal of the motor, the gate of the second driving MOSFET is connected to the driving chip, and the source of the second driving MOSFET is connected to the speed control module; and / or,
[0034] The second bridge arm includes a third driving MOSFET and a fourth driving MOSFET. The gate of the third driving MOSFET is connected to the driving chip, the drain of the third driving MOSFET is connected to the power supply, the source of the third driving MOSFET is connected to the drain of the fourth driving MOSFET and the second terminal of the motor, the gate of the fourth driving MOSFET is connected to the driving chip, and the source of the fourth driving MOSFET is connected to the speed control module.
[0035] In some embodiments, the driving module further includes the driving unit, which is a driving chip.
[0036] In some embodiments, the circuit further includes a sampling module connected to the driving module, and the sampling module is also used to connect to a second input terminal of the control module;
[0037] The sampling module is used to collect the voltage division status of the motor's operating voltage under power supply, and output the voltage division status to the control module in the form of an electrical signal.
[0038] In some embodiments, the sampling module includes a sampling resistor connected in series between the midpoint of the first bridge arm and the motor; or, the sampling resistor is connected in series between the midpoint of the second bridge arm and the motor.
[0039] At least one end of the sampling resistor is also used to connect to the second input terminal of the control module.
[0040] In some embodiments, the sampling module further includes a third operational amplifier, the positive input port of which is connected to a first terminal of the sampling resistor, the inverting input port of which is connected to a second terminal of the sampling resistor, and the output port of which is connected to a second input terminal of the control module. The third operational amplifier is configured to be powered by a single power supply.
[0041] In some embodiments, the circuit further includes a ripple detection module, a first terminal of which is connected to a third input terminal of the control module, and a second terminal of which is connected to the sampling module.
[0042] The ripple detection module is used to perform filtering and amplification processing on the electrical signal output by the sampling module, and output the processed electrical signal to the control module.
[0043] In some embodiments, the circuit further includes a control module connected to the speed control module, which is used to monitor the operating status of the motor based on the received electrical signal and to control the operating status of the motor based on a pulse control modulation signal.
[0044] In some implementations, the control module is a microcontroller.
[0045] Thus, the control circuit in this embodiment controls the motor rotation via the drive module to raise and lower the window, and adjusts the drive voltage in a timely manner via the speed control module when the drive voltage is unstable, thereby maintaining the stability of the drive voltage and ensuring the stability of the window raising and lowering control.
[0046] The window control system in this application includes the motor control circuit described above, and the window control system also includes the power supply and the motor.
[0047] The vehicle in this application embodiment includes the above-described motor control circuit; or the vehicle includes the above-described window control system.
[0048] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description
[0049] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0050] Figure 1 This is a schematic diagram of the motor control circuit in the embodiment of this application;
[0051] Figure 2 This is a schematic diagram of the circuit structure of the motor control circuit in the embodiment of this application;
[0052] Figure 3 This is a schematic diagram of the analog signals of the driving module in the embodiment of this application.
[0053] Wherein: M1, motor; R1, sampling resistor; Q1, first driving NMOS transistor; Q2, second driving NMOS transistor; Q3, third driving NMOS transistor; Q4, fourth driving NMOS transistor; Q5, speed-regulating MOS transistor; Ua, first operational amplifier; Ub, second operational amplifier; Uc, third operational amplifier; R2, first current-limiting resistor; R3, second current-limiting resistor; R4, third current-limiting resistor; R5, fourth current-limiting resistor; R6, first voltage divider resistor; R7, second voltage divider resistor; R8, release resistor; R9, connecting resistor; R10, filter resistor; C1, balance adjustment capacitor; C2, filter capacitor. Detailed Implementation
[0054] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.
[0055] Please see Figure 1 The motor control circuit in this embodiment is used to control the raising and lowering of the vehicle window. The motor control circuit includes a drive module and a speed control module, which are connected. The drive module is also used to connect the power supply and the motor M1.
[0056] The drive module is used to drive the motor M1 to move based on the drive voltage;
[0057] The speed control module receives drive feedback parameters from the drive module and adjusts the drive voltage based on these parameters to achieve the target voltage.
[0058] In some implementations, the motor control circuit further includes a control module for detecting the operating status of the motor M1.
[0059] Specifically, please refer to Figure 1 , Figure 1The diagram illustrates the modular structure of a motor control circuit. In some examples, the motor control circuit in this application includes a controlled motor M1 and a drive module for driving the motor M1 to rotate. The control circuit in this application also includes a speed control module. The purpose of the speed control module is to control the voltage in the drive module. Since the power supply to the vehicle can become unstable due to changes in the vehicle's state during operation, the motor M1 may experience uneven speed due to unstable power supply voltage, affecting its operation. The drive module may also experience short circuits or other unstable operating conditions due to fluctuating voltage. The speed control module can control the voltage fluctuations in the motor M1 and the drive module, stabilizing the operating voltage of the motor M1 and the speed control module, thereby ensuring accurate, stable, and effective window lifting control.
[0060] In addition, in some examples, the motor control circuit, in addition to the aforementioned drive module and speed control module, also has an external control module. Its function is to obtain the real-time operating parameters of the speed control module and the motor M1 through the connection with the speed control module, thereby enabling real-time monitoring of the operating status of the motor M1.
[0061] In some embodiments, the speed control module includes a negative feedback adjustment component and a first switching transistor. The first end of the negative feedback adjustment component is connected to the drive module, the second end of the negative feedback adjustment component is connected to the first end of the first switching transistor, the second end of the first switching transistor is grounded, and the third end of the first switching transistor is connected to the drive module.
[0062] Furthermore, in some embodiments, the negative feedback adjustment component includes a first operational amplifier branch and a second operational amplifier branch, a first end of the first operational amplifier branch is connected to the drive module, a second end of the first operational amplifier branch is connected to the first end of the second operational amplifier branch, and a second end of the second operational amplifier branch is connected to the first end of the first switching transistor.
[0063] In some implementations, the second terminal of the first operational amplifier branch is also used to connect to the first input terminal of the control module, for transmitting the first analog signal to the control module; and / or,
[0064] The third terminal of the second operational amplifier branch is also used to connect to the first output terminal of the control module to receive the pulse control modulation signal sent by the control module.
[0065] Specifically, in order to achieve the above-mentioned technical effects, in some examples, the speed control module includes a negative feedback adjustment component and a first switching transistor. The purpose of the negative feedback adjustment component is to consume the fluctuating voltage signal at the first switching transistor through negative feedback adjustment, so as to stabilize the operating voltage of each component within the target range without the need for the control module to intervene in adjusting the PWM signal, thereby ensuring the stable operation of the drive module and the motor M1.
[0066] Furthermore, in some examples, the negative feedback regulation component specifically includes two sets of branches: a first operational amplifier branch and a second operational amplifier branch. The first operational amplifier branch is connected between the drive module and the control module, and the second operational amplifier branch is connected between the first switching transistor and the control module. In addition, the first switching transistor is also connected to the drive module and ground. To ensure the functionality of the two operational amplifier branches, they also need to maintain communication. For details regarding the component composition of the two sets of operational amplifier branches and their operational relationship, please refer to the following embodiments.
[0067] Please see Figure 2 In some implementations, the first operational amplifier branch includes a first operational amplifier Ua, which is configured to be powered by a single power supply.
[0068] The positive input port of the first operational amplifier Ua is connected to the driver module, the inverting input port of the first operational amplifier Ua is used to connect to the power supply, the output port of the first operational amplifier Ua is connected to the first end of the second operational amplifier branch, and the output port of the first operational amplifier Ua is also used to connect to the first input end of the control module.
[0069] In some implementations, the first operational amplifier branch further includes at least one current-limiting resistor and / or at least one voltage-dividing resistor.
[0070] The current-limiting resistor is used to limit the voltage at each port of the first operational amplifier Ua;
[0071] The voltage divider resistor is used to control the voltage output from the first operational amplifier Ua to the control module.
[0072] In some embodiments, at least one current-limiting resistor includes one or more of a first current-limiting resistor R2, a second current-limiting resistor R3, a third current-limiting resistor R4, and a fourth current-limiting resistor R5, wherein:
[0073] The first end of the first current-limiting resistor R2 is connected to the driver module, and the second end of the first current-limiting resistor R2 is connected to the inverting input port of the first operational amplifier Ua.
[0074] The first end of the second current-limiting resistor R3 is connected to the power supply, and the second end of the second current-limiting resistor R3 is connected to the positive input port of the first operational amplifier Ua.
[0075] The first end of the third current-limiting resistor R4 is connected to the positive input port of the first operational amplifier Ua, and the second end of the third current-limiting resistor R4 is used for grounding.
[0076] The first end of the fourth current-limiting resistor R5 is connected to the inverting input port of the first operational amplifier Ua, and the second end of the fourth current-limiting resistor R5 is connected to the output port of the first operational amplifier Ua.
[0077] In some embodiments, at least one voltage divider resistor includes a first voltage divider resistor R6 and a second voltage divider resistor R7, wherein:
[0078] The first voltage divider resistor R6 and the second voltage divider resistor R7 are connected in series between the output port of the first operational amplifier Ua and ground. The connection point of the first voltage divider resistor R6 and the second voltage divider resistor R7 is also used to connect the first input terminal of the control module.
[0079] Specifically, please refer to Figure 2 , Figure 2 The schematic diagram illustrates the circuit structure of the control circuit in an embodiment of this application. The input voltage provided by the power supply is VBAT. The first operational amplifier branch in the speed control module includes a first operational amplifier Ua, four sets of current-limiting resistors R2-R5, a first voltage divider resistor R6, and a second voltage divider resistor R7. The positive input port of the first operational amplifier Ua is connected to the drive module via the first current-limiting resistor R2, the inverting input port is connected to the power supply via the second current-limiting resistor R3, and the output port is connected to the control module via the first voltage divider resistor R6 and the second voltage divider resistor R7. Further, a third current-limiting resistor R4 is connected between the inverting input port and the output port of the first operational amplifier Ua, and a fourth current-limiting resistor R5 is connected between the positive input port of the first operational amplifier Ua and ground. In addition, the first operational amplifier Ua is powered by a single power supply, meaning the positive power supply port is connected to the power supply with an input voltage of VBAT, while the negative power supply port is grounded. For ease of subsequent description, let the potential of the positive input port of the first operational amplifier Ua be U2, the potential of the inverting input port be U1, and the potential of the output port be U3.
[0080] In addition, to control the voltage signal strength input to the control module from the first operational amplifier branch, a first voltage divider resistor R6 and a second voltage divider resistor R7 are also provided in the first operational amplifier branch. R6 and R7 are connected in series between the output port of the first operational amplifier Ua and ground, and the first input terminal of the control module is connected to the junction of R6 and R7. In this way, the resistance values of R6 and R7 can be used to control the strength of the AD1 signal (first analog signal) input to the first input terminal of the control module within a preset range.
[0081] Please refer to further information. Figure 2In some implementations, the second operational amplifier branch includes a second operational amplifier Ub, which is configured to be powered by a single power supply.
[0082] The positive input port of the second operational amplifier Ub is connected to the second end of the first operational amplifier branch, the inverting input port of the second operational amplifier Ub is used to connect to the first output terminal of the control module, and the output port of the second operational amplifier Ub is connected to the first switching transistor.
[0083] In some implementations, the second operational amplifier branch further includes a relief resistor R8 and / or a filter sub-circuit;
[0084] The first end of the voltage relief resistor R8 is connected to the first switching transistor, and the second end of the voltage relief resistor R8 is used for grounding.
[0085] The first end of the filter sub-circuit is used to connect to the inverting input port of the second operational amplifier Ub, and the second end of the filter sub-circuit is used to connect to the first output terminal of the control module.
[0086] In some implementations, the first operational amplifier branch includes a first operational amplifier Ua, and the speed control module further includes a connecting resistor R9, with the first end of the connecting resistor R9 connected to the output port of the first operational amplifier Ua and the second end of the connecting resistor R9 connected to the positive input port of the second operational amplifier Ub.
[0087] In some implementations, the second operational amplifier branch further includes a balancing capacitor C1, with the first end of the balancing capacitor C1 connected to the positive input port of the second operational amplifier Ub and the second end of the balancing capacitor C1 connected to the output port of the second operational amplifier Ub.
[0088] In some embodiments, the first switching transistor includes a speed-regulating MOSFET Q5, the gate of which is connected to the second operational amplifier branch, the source of which is connected to the driving module, and the drain of which is grounded.
[0089] Specifically, the speed control module also includes a second operational amplifier branch, which includes a second operational amplifier Ub, a voltage relief resistor R8, and a filter sub-circuit. The filter sub-circuit is an RC filter circuit, specifically including a filter resistor R10 and a filter capacitor C2. The purpose of setting up the filter sub-circuit is to perform filtering processing on the PWM signal input from the first output terminal of the control module to the second operational amplifier branch. The filter resistor R10 is connected between the inverting input port of the second operational amplifier Ub and the control module, and the filter capacitor C2 is connected between the inverting input port of the second operational amplifier Ub and ground.
[0090] Furthermore, the positive input port of the second operational amplifier Ub is connected to the output port of the first operational amplifier Ua through a connecting resistor R9, thereby maintaining the electrical signal connection between the two operational amplifier branches. The inverting input port of the second operational amplifier Ub is connected to the control module through the aforementioned filter circuit, and its output port is connected to the aforementioned field-effect transistor assembly. In addition, the second operational amplifier Ub is powered by a single power supply according to the aforementioned power supply configuration; that is, its positive power supply port is connected to the power supply, its input voltage is VBAT, and its negative power supply port is grounded.
[0091] Furthermore, to eliminate self-oscillation in the second operational amplifier Ub, a balancing capacitor C1 is provided, for example, between the positive input port and the output port of the second operational amplifier Ub. Additionally, to control the voltage state when the first switching transistor switches between the on and off states, a voltage relief resistor R8 is provided, for example, between the output port of the second operational amplifier Ub and ground. The function of the voltage relief resistor R8 is to release the voltage stored at the first switching transistor when the state changes. For ease of subsequent description, let the potential of the positive input port of the second operational amplifier Ub be U4, the potential of the inverting input port be U5, and the potential of the output port be U6.
[0092] Specifically, the first switching transistor includes a set of speed-regulating MOSFETs Q5, whose gates are connected to the output port of the second operational amplifier Ub, their sources are connected to the driver module, and their drains are grounded. For ease of subsequent description, let the voltage at the source of the speed-regulating MOSFET Q5 be Uin and the voltage at the gate be Uout. Generally, the channel type of the speed-regulating MOSFET Q5 can be P-type.
[0093] Based on the above implementation method, the specific ways to achieve the corresponding technical objectives for the first operational amplifier branch, the second operational amplifier branch, and the first switching transistor are as follows:
[0094] When the input voltage VBAT supplied by the power supply suddenly increases, the voltage Uin remains unchanged, according to the following formula:
[0095]
[0096] It can be seen that U3 increases. Since U3 and U4 are equal under stable circuit operation, U4 will also increase. At this point, without the need for the control module to adjust the PWM signal, U5 remains unchanged at the inverting input port of the second operational amplifier Ub. This causes the voltage U6 at the output port of the second operational amplifier Ub to increase, thereby increasing the voltage Uout at the gate of the speed-regulating MOSFET, reducing its conduction level, and ultimately creating feedback to Uin, causing Uin to increase by the same amplitude as VBAT. Based on this, since the voltage of the drive module is the difference between VBAT and Uin, the voltage of the drive module remains constant. In this way, the operating voltage of the drive module can be stably controlled through the cooperation of the above operational amplifier branch and the first switching transistor.
[0097] Similarly, when the input voltage VBAT supplied by the power supply suddenly drops, the voltage Uin remains unchanged, according to the following formula:
[0098]
[0099] It can be seen that U3 decreases. Since U3 and U4 are equal under stable circuit operation, U4 will also decrease. At this point, without the need for the control module to adjust the PWM signal, U5 remains unchanged at the inverting input port of the second operational amplifier Ub. This causes the voltage U6 at the output port of the second operational amplifier Ub to decrease, thereby reducing the voltage Uout at the gate of the speed-regulating MOSFET, increasing its conduction level, and ultimately creating feedback to Uin, causing Uin to decrease by the same magnitude as VBAT. Based on this, since the voltage of the drive module is the difference between VBAT and Uin, the voltage of the drive module remains constant. In this way, the operating voltage of the drive module can be stably controlled through the cooperation of the above operational amplifier branch and the first switching transistor.
[0100] In other examples, different batches of MOSFETs may have different Vgs parameters due to slight differences in manufacturing processes or supplier products.
[0101] Therefore, when |Vgs| of the speed-regulating MOSFET Q5 is less than the preset standard reference value, the conduction degree of the speed-regulating MOSFET Q5 will be smaller, that is, Uin will be larger. Then, with VBAT unchanged, according to the following formula:
[0102]
[0103] It can be seen that U3 decreases. Since U3 and U4 are equal under stable circuit operation, U4 will also decrease. At this point, without the control module intervening to adjust the PWM signal, U5 remains unchanged at the inverting input port of the second operational amplifier Ub, thus decreasing the voltage U6 at the output port of the second operational amplifier Ub. This, in turn, reduces the voltage Uout at the gate of the speed-regulating MOSFET, increasing its conduction level and ultimately providing feedback to Uin, thereby appropriately lowering Uin. Furthermore, since the voltage of the drive module is the difference between VBAT and Uin, the voltage of the drive module remains constant. Therefore, when |Vgs| of the PMOS module is less than the standard reference value, the aforementioned control circuit can provide feedback to adjust the conduction level of the speed-regulating MOSFET, thereby maintaining the voltage of the drive circuit constant.
[0104] Similarly, when |Vgs| of the speed-regulating MOSFET Q5 is greater than the preset standard reference value, the conduction degree of the speed-regulating MOSFET Q5 will be larger, that is, Uin will be smaller. Then, with VBAT unchanged, according to the following formula:
[0105]
[0106] It can be seen that U3 increases. Since U3 and U4 are equal under stable circuit operation, U4 will also increase. At this point, without the control module intervening to adjust the PWM signal, U5 remains unchanged at the inverting input port of the second operational amplifier Ub. This causes the voltage U6 at the output port of the second operational amplifier Ub to increase, thereby increasing the voltage Uout at the gate of the speed-regulating MOSFET, thus reducing its conduction level. Ultimately, this provides feedback to Uin, appropriately increasing Uin. Furthermore, since the voltage of the drive module is the difference between VBAT and Uin, the voltage of the drive module remains constant. Therefore, when |Vgs| of the PMOS module is greater than the standard reference value, the control circuit described above can also provide feedback to adjust the conduction level of the speed-regulating MOSFET, thereby maintaining the voltage of the drive circuit constant.
[0107] Please refer to it again. Figure 2 The drive module includes a bridge drive circuit, which includes at least two bridge arms. The first end of the at least two bridge arms is used to connect to the power supply, and the second end of the at least two bridge arms is connected to the speed control module.
[0108] At least two bridge arms include a first bridge arm and a second bridge arm, the midpoint of the first bridge arm and the midpoint of the second bridge arm are used to connect the first end and the second end of the motor M1, respectively.
[0109] In some embodiments, the first bridge arm includes a first driving MOSFET Q1 and a second driving MOSFET Q2. The gate of the first driving MOSFET Q1 is connected to a driving chip, the drain of the first driving MOSFET Q1 is connected to a power supply, the source of the first driving MOSFET Q1 is connected to the drain of the second driving MOSFET Q2, the gate of the second driving MOSFET Q2 is connected to the driving chip, and the source of the second driving MOSFET Q2 is connected to a speed control module; and / or,
[0110] The second bridge arm includes a third driving MOSFET Q3 and a fourth driving MOSFET Q4. The gate of the third driving MOSFET Q3 is connected to the driving chip, the drain of the third driving MOSFET Q3 is connected to the power supply, the source of the third driving MOSFET Q3 is connected to the drain of the fourth driving MOSFET Q4, the gate of the fourth driving MOSFET Q4 is connected to the driving chip, and the source of the fourth driving MOSFET Q4 is connected to the speed control module.
[0111] In some embodiments, the driving module further includes the driving unit, which is a driving chip.
[0112] In some implementations, the circuit further includes a sampling module connected to the driving module, and the sampling module is also used to connect to the second input terminal of the control module;
[0113] The sampling module is used to collect the voltage division status of the motor M1 under the power supply and output the voltage division status to the control module in the form of an electrical signal.
[0114] In some implementations, the sampling module includes a sampling resistor R1 connected in series between the midpoint of the first bridge arm and the motor M1, or the sampling resistor R1 is connected in series between the midpoint of the second bridge arm and the motor M1.
[0115] At least one end of the sampling resistor R1 is also used to connect to the second input terminal of the control module.
[0116] In some embodiments, the sampling module further includes a third operational amplifier Uc, the positive input port of the third operational amplifier Uc is connected to the first terminal of the sampling resistor R1, the inverting input port of the third operational amplifier Uc is connected to the second terminal of the sampling resistor R1, the output port of the third operational amplifier Uc is connected to the second input terminal of the control module, and the third operational amplifier Uc is configured to be powered by a single power supply.
[0117] In some implementations, the circuit further includes a ripple detection module, with a first end for connecting to the third input terminal of the control module and a second end for connecting to the sampling module.
[0118] The ripple detection module is used to perform filtering and amplification processing on the electrical signal output by the sampling module, and then outputs the processed electrical signal to the control module.
[0119] In some embodiments, the motor control circuit further includes a control module connected to the speed control module, which is used to monitor the operating status of the motor M1 based on the received electrical signal and to control the operating status of the motor M1 based on the pulse control modulation signal.
[0120] In some implementations, the control module is a microcontroller.
[0121] For details, please continue reading Figure 2 The drive module in the control circuit consists of two parts: a drive MOS transistor array and a drive chip. The drive MOS transistor array is driven by the drive chip, which has four external output ports. Each port is connected to a corresponding drive NMOS transistor, and every two drive NMOS transistors form a bridge arm. The first bridge arm houses a first drive NMOS transistor Q1 and a second drive NMOS transistor Q2. The gate of the first drive NMOS transistor Q1 is connected to the drive chip, its drain is connected to the power supply for receiving power, and its source is connected to the drain of the second drive NMOS transistor Q2. Conversely, the gate of the second drive NMOS transistor Q2 is connected to the drive chip, and its source is connected to the speed control module. The potential at the external port connected to the gate of the first drive NMOS transistor Q1 is GH1, and the potential at the external port connected to the gate of the second drive NMOS transistor Q2 is GL1. Similarly, the second bridge arm is equipped with a third driving NMOS transistor Q3 and a fourth driving NMOS transistor Q4. The gate of the third driving NMOS transistor Q3 is connected to the driving chip, the drain is connected to the power supply for receiving power, and the source is connected to the drain of the fourth driving NMOS transistor Q4. Simultaneously, the gate of the fourth driving NMOS transistor Q4 is connected to the driving chip, and the source is connected to the speed control module. The potential at the external port connected to the gate of the third driving NMOS transistor Q3 is GH2, and the potential at the external port connected to the gate of the fourth driving NMOS transistor Q4 is GL2. The number of bridge arms in the above driving module can be configured as three-arm, four-arm, six-arm, etc., according to the phase requirements of the motor M1, and can be adjusted according to specific circumstances. It should also be noted that the driving chip can be separately arranged in the motor control circuit or pre-arranged outside the circuit; the specific situation can be adjusted according to the actual application scenario, and this application does not impose specific limitations.
[0122] In addition, the motor control circuit is further provided with a sampling module for sampling data on the operating state of the motor M1. Therefore, to achieve the above object, exemplarily, the sampling module includes a sampling resistor R1 and a third operational amplifier Uc. The sampling resistor R1 is connected in series with the motor M1. One end of the branch formed by M and R1 is connected between Q1 and Q2, and the other end is connected between Q3 and Q4. In this way, the connection relationship between the motor M1 and the power supply can be changed by switching the operating states of Q1, Q2, Q3, and Q4, so as to achieve the switching control of the operating state of the motor M1. On this basis, the sampling resistor R1 is connected between the positive input port and the negative input port of the third operational amplifier Uc, and the output port of the third operational amplifier Uc is directly connected to the control module. For the convenience of subsequent description, let the potential at the negative input port of the third operational amplifier Uc be U7, the potential at the positive input port be U8, and the potential at the output port be AD2 (the second analog signal). In addition, the third operational amplifier Uc is configured to be powered by a single power supply, that is, its positive power supply port is connected to the power supply, the input voltage is VBAT, and its negative power supply port is grounded.
[0123] Based on the above embodiments, the working modes of the driving module and the sampling module are as follows:
[0124] When the motor rotates in reverse and the window descends, the potentials at the output ports of the driving chip are as follows: GH1 and GL2 are at low levels, and GH2 and GL1 are at high levels, so that Q2 and Q3 are turned on, and Q1 and Q4 are turned off. Then, U8 > U7 on both sides of the sampling resistor R1. At this time, the value of the potential AD2 at the output end of the third operational amplifier Uc is set as V2.
[0125] When the motor rotates forward and the window ascends, the potentials at the output ports of the driving chip are as follows: GH1 and GLN2 are at high levels, and GH2 and GL1 are at low levels, so that Q2 and Q3 are turned off, and Q1 and Q4 are turned on. Then, U8 < U7 on both sides of the sampling resistor R1. At this time, the value of the potential AD2 at the output end of the third operational amplifier Uc is set as V1.
[0126] Further, please refer to Figure 3 , Figure 3The diagram shows the analog signal (AD) output of the drive module. Dashed line B represents the analog signal voltage (AD value) at the output port of the third operational amplifier Uc when the sampling resistor R1 is placed at the ground terminal of the lower half-bridge of the drive chip in current related technologies. Solid line A represents the analog signal voltage at the output port of the third operational amplifier Uc in the aforementioned control circuit. During the stationary phase, in the schemes corresponding to solid line A and dashed line B, the analog signal voltage at the output port of the third operational amplifier Uc is half the bias voltage of the drive module. Then, as the motor starts to rotate forward and the window begins to rise from the initial point, the analog signal voltage at the output port of the third operational amplifier Uc in both the schemes corresponding to solid line A and dashed line B is V2. After the rising process ends, when the motor starts to reverse and the window begins to fall, the analog signal voltage at the output port of the third operational amplifier Uc in the scheme corresponding to solid line A drops to V1, while the analog signal voltage at the output port of the third operational amplifier Uc in the scheme corresponding to dashed line B remains at V2. In other words, the control circuit described above can distinguish whether the window is currently in an up or down state by judging the analog signal voltage value at the output port of the third operational amplifier Uc.
[0127] In addition, this application also includes a ripple detection module. One end of the ripple detection module is connected to the output port of the third operational amplifier Uc, and the other end is directly connected to the control module. The potential at the end of the ripple detection module connected to the control module is AD3 (the third analog signal). The control module is a computer module such as a microcontroller capable of executing pre-edited programs. The aforementioned AD3 is obtained by filtering and amplifying the ripple detection module, and is generally represented as a square wave signal. When AD3 is input to the control module, the control module can calculate the speed and travel distance of motor M1 based on the duty cycle and quantity of AD3. In most cases, the car window will emit noise when it starts to rise / fall and when it stops rising / falling at the end of its travel. To avoid this, the control module can output a PWM signal with an intensity exceeding a preset threshold when motor M1 starts and stops, controlling the drive module to change its operating state to control motor M1 to start or stop slowly.
[0128] Thus, the control circuit in this embodiment controls the motor rotation via the drive module to raise and lower the window, and adjusts the drive voltage in a timely manner via the speed control module when the drive voltage is unstable, thereby maintaining the stability of the drive voltage and ensuring the stability of the window raising and lowering control.
[0129] The window control system in this application includes the aforementioned motor control circuit, and the window control system also includes a power supply and a motor.
[0130] The vehicle in this application embodiment includes the motor control circuit described above; or the vehicle includes the window control system described above.
[0131] In the description of this specification, the references to terms such as "some embodiments," "in one example," "exemplarily," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0132] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.
[0133] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A motor control circuit, characterized in that, The motor control circuit is used to control the raising and lowering of the vehicle window. The motor control circuit includes a drive module and a speed control module, which are connected. The drive module is also used to connect the power supply and the motor (M1). The drive module is used to drive the motor (M1) to move based on the drive voltage; The speed control module is used to receive drive feedback parameters from the drive module and adjust the drive voltage based on the drive feedback parameters so that the drive voltage reaches the target voltage.
2. The circuit according to claim 1, characterized in that, The speed control module includes a negative feedback adjustment component and a first switching transistor. The first end of the negative feedback adjustment component is connected to the drive module, the second end of the negative feedback adjustment component is connected to the first end of the first switching transistor, the second end of the first switching transistor is grounded, and the third end of the first switching transistor is connected to the drive module.
3. The circuit according to claim 2, characterized in that, The negative feedback adjustment component includes a first operational amplifier branch and a second operational amplifier branch. The first end of the first operational amplifier branch is connected to the driving module, the second end of the first operational amplifier branch is connected to the first end of the second operational amplifier branch, and the second end of the second operational amplifier branch is connected to the first end of the first switching transistor.
4. The circuit according to claim 3, characterized in that, The second terminal of the first operational amplifier branch is also used to connect to the first input terminal of the control module, for transmitting the first analog signal to the control module; and / or, The third terminal of the second operational amplifier branch is also used to connect to the first output terminal of the control module, and to receive the pulse control modulation signal sent by the control module.
5. The circuit according to claim 4, characterized in that, The first operational amplifier branch includes a first operational amplifier (Ua), which is configured to be powered by a single power supply; The positive input port of the first operational amplifier (Ua) is connected to the driving module, the negative input port of the first operational amplifier (Ua) is used to connect to the power supply, the output port of the first operational amplifier (Ua) is connected to the first end of the second operational amplifier branch, and the output port of the first operational amplifier (Ua) is also used to connect to the first input terminal of the control module.
6. The circuit according to claim 5, characterized in that, The first operational amplifier branch also includes at least one current-limiting resistor and / or at least one voltage-dividing resistor. The current-limiting resistor is used to limit the voltage at each port of the first operational amplifier (Ua); The voltage divider resistor is used to control the voltage output from the first operational amplifier (Ua) to the control module.
7. The circuit according to claim 6, characterized in that, The at least one current-limiting resistor includes one or more of a first current-limiting resistor (R2), a second current-limiting resistor (R3), a third current-limiting resistor (R4), and a fourth current-limiting resistor (R5), wherein: The first end of the first current-limiting resistor (R2) is connected to the driving module, and the second end of the first current-limiting resistor (R2) is connected to the inverting input port of the first operational amplifier (Ua). The first end of the second current-limiting resistor (R3) is connected to the power supply, and the second end of the second current-limiting resistor (R3) is connected to the positive input port of the first operational amplifier (Ua). The first end of the third current-limiting resistor (R4) is connected to the positive input port of the first operational amplifier, and the second end of the third current-limiting resistor (R4) is used for grounding; The first end of the fourth current-limiting resistor (R5) is connected to the inverting input port of the first operational amplifier (Ua), and the second end of the fourth current-limiting resistor (R5) is connected to the output port of the first operational amplifier (Ua).
8. The circuit according to claim 6, characterized in that, The at least one voltage divider resistor includes a first voltage divider resistor (R6) and a second voltage divider resistor (R7), wherein: The first voltage divider resistor (R6) and the second voltage divider resistor (R7) are connected in series between the output port of the first operational amplifier (Ua) and ground. The connection point of the first voltage divider resistor (R6) and the second voltage divider resistor (R7) is also used to connect the first input terminal of the control module.
9. The circuit according to any one of claims 4-8, characterized in that, The second operational amplifier branch includes a second operational amplifier (Ub), which is configured to be powered by a single power supply; The positive input port of the second operational amplifier (Ub) is connected to the second end of the first operational amplifier branch, the inverting input port of the second operational amplifier (Ub) is used to connect to the first output terminal of the control module, and the output port of the second operational amplifier (Ub) is connected to the first switching transistor.
10. The circuit according to claim 9, characterized in that, The second operational amplifier branch also includes a voltage relief resistor (R8) and / or a filter sub-circuit; The first end of the pressure relief resistor (R8) is connected to the first switching transistor, and the second end of the pressure relief resistor (R8) is used for grounding; The first end of the filter sub-circuit is connected to the inverting input port of the second operational amplifier, and the second end of the filter sub-circuit is used to connect to the first output port of the control module.
11. The circuit according to claim 9, characterized in that, The first operational amplifier branch includes a first operational amplifier (Ua), and the speed control module further includes a connecting resistor (R9). The first end of the connecting resistor (R9) is connected to the output port of the first operational amplifier (Ua), and the second end of the connecting resistor (R9) is connected to the positive input port of the second operational amplifier (Ub).
12. The circuit according to claim 9, characterized in that, The second operational amplifier branch also includes a balancing capacitor (C1), the first end of which is connected to the positive input port of the second operational amplifier (Ub), and the second end of which is connected to the output port of the second operational amplifier (Ub).
13. The circuit according to claim 3, characterized in that, The first switching transistor includes a speed-regulating MOSFET (Q5), the gate of which is connected to the second operational amplifier branch, the source of which is connected to the driving module, and the drain of which is grounded.
14. The circuit according to claim 1, characterized in that, The drive module includes a bridge drive circuit, which includes at least two bridge arms. The first end of the at least two bridge arms is used to connect to a power supply, and the second end of the at least two bridge arms is connected to the speed control module. The at least two bridge arms include a first bridge arm and a second bridge arm, wherein the midpoint of the first bridge arm and the midpoint of the second bridge arm are respectively used to connect the first end and the second end of the motor.
15. The circuit according to claim 14, characterized in that, The first bridge arm includes a first driving MOSFET (Q1) and a second driving MOSFET (Q2). The gate of the first driving MOSFET (Q1) is connected to the driving unit, the drain of the first driving MOSFET (Q1) is connected to the power supply, the source of the first driving MOSFET (Q1) is connected to the drain of the second driving MOSFET (Q2) and the first terminal of the motor (M1), the gate of the second driving MOSFET (Q2) is connected to the driving unit, and the source of the second driving MOSFET (Q2) is connected to the speed control module; and / or, The second bridge arm includes a third driving MOSFET (Q3) and a fourth driving MOSFET (Q4). The gate of the third driving MOSFET (Q3) is used to connect to the driving unit, the drain of the third driving MOSFET (Q3) is connected to the power supply, the source of the third driving MOSFET (Q3) is connected to the drain of the fourth driving MOSFET (Q4) and the second terminal of the motor (M1), the gate of the fourth driving MOSFET (Q4) is used to connect to the driving unit, and the source of the fourth driving MOSFET (Q4) is connected to the speed control module.
16. The circuit according to claim 15, characterized in that, The driving module further includes the driving unit, which is a driving chip.
17. The circuit according to claim 14, characterized in that, The circuit also includes a sampling module, which is connected to the driving module and is also used to connect to the second input terminal of the control module. The sampling module is used to collect the voltage division status of the motor (M1) under the power supply and output the voltage division status to the control module in the form of an electrical signal.
18. The circuit according to claim 17, characterized in that, The sampling module includes a sampling resistor (R1), which is connected in series between the midpoint of the first bridge arm and the motor (M1), or the sampling resistor (R1) is connected in series between the midpoint of the second bridge arm and the motor (M1). At least one end of the sampling resistor (R1) is also used to connect to the second input terminal of the control module.
19. The circuit according to claim 18, characterized in that, The sampling module further includes a third operational amplifier (Uc), the positive input port of which is connected to the first end of the sampling resistor (R1), the inverting input port of which is connected to the second end of the sampling resistor (R1), and the output port of which is connected to the second input of the control module. The third operational amplifier (Uc) is configured to be powered by a single power supply.
20. The circuit according to claim 17, characterized in that, The circuit also includes a ripple detection module, the first end of which is connected to the third input terminal of the control module, and the second end of which is connected to the sampling module. The ripple detection module is used to perform filtering and amplification processing on the electrical signal output by the sampling module, and output the processed electrical signal to the control module.
21. The circuit according to claim 1, characterized in that, The circuit also includes a control module connected to the speed control module, which is used to monitor the operating status of the motor (M1) based on the received electrical signal, and to control the operating status of the motor (M1) based on the pulse control modulation signal.
22. The circuit according to claim 21, characterized in that, The control module is a microcontroller.
23. A vehicle window control system, characterized in that, The window control system includes the motor control circuit as described in any one of claims 1-22, and further includes the power supply and the motor (M1).
24. A vehicle, characterized in that, The vehicle includes the control circuitry as described in any one of claims 1-22; or the vehicle includes the window control system as described in claim 23.