Automobile glass lifting switch circuit, control method and storage medium thereof
By replacing transistors with data processing modules and light modules in automotive window lift switches, and using the cross-judgment of ROW and COL lines, the problem of transistor damage is solved, maintenance costs are reduced, and the accuracy and efficiency of judgment are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WENZHOU KAIRUI ELECTRONIC TECH CO LTD
- Filing Date
- 2025-04-30
- Publication Date
- 2026-06-23
Smart Images

Figure CN120454702B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive systems, and in particular to an automotive window lift switch circuit, control method, and storage medium thereof. Background Technology
[0002] With the increasing maturity of automotive technology, people not only pay attention to the transportation performance of cars, but also to their comfort. Car windows have evolved from manual to electric operation for greater comfort. However, the transistors in the power window switches of Hummer cars are prone to overload damage during use, and repairs after damage are particularly troublesome and costly. Summary of the Invention
[0003] To address the issue of transistors in the power window switch of Hummer vehicles burning out easily, this application provides a power window switch circuit, control method, and storage medium thereof.
[0004] This application provides an automotive window lift switch circuit, which adopts the following technical solution:
[0005] An automotive window lift switch circuit includes:
[0006] The button module is used by the user to press buttons, generate corresponding button signals, and output them.
[0007] The data processing module receives the button signals, processes the data, and outputs corresponding control signals to control the car windows.
[0008] By adopting the above technical solution, the transistor is eliminated, and the signal processing of the data processing module is used to determine whether the button is pressed, which greatly reduces the probability of transistor damage and reduces maintenance costs.
[0009] Optionally, the button module includes multiple ROW lines, multiple COL lines, and multiple button SWs. The multiple ROW lines and multiple COL lines receive power from the same 3V terminal. The button signals include ROW signals and COL signals. Each button SW is powered on and connected to at least one ROW line and at least one COL line. Different ROW lines output different ROW signals, and different COL lines output different COL signals.
[0010] By adopting the above technical solution, cross-judgment is achieved through multiple ROW lines and multiple COL lines, which enables the determination of whether more buttons are pressed with fewer circuits and fewer chip ports, thereby improving the utilization rate of circuits and chips and reducing the cost of circuits and chips.
[0011] Optionally, the data processing module includes a chip U1, the control signals include RXD signals and TXD signals, the fifth, sixth, thirteenth and fourteenth pins of the chip U1 receive different ROW signals, the sixteenth, seventeenth, eighteenth, nineteenth and twentieth pins of the chip U1 receive different COL signals, and the tenth and twelfth pins of the chip U1 transmit the TXD signals and the RXD signals for control.
[0012] By adopting the above technical solution, the determination of whether a button is pressed can be realized through the arrangement and combination of high and low levels of different pins. This is convenient, fast and efficient, and also makes expansion more convenient. If it is to adapt to different numbers of buttons on different car models, it can be expanded directly in a certain way without redesigning the circuit.
[0013] Optionally, it also includes a lamp module, which includes a power strip J1, transistors Q1, Q2, Q3, LEDs D1, D5, and D6. The third and fourth pins of the power strip J1 transmit the RXD and TXD signals, the tenth pin of the power strip J1 outputs the J6_10 signal, the eleventh pin of the power strip J1 outputs the J6_11 signal, and the twelfth pin of the power strip J1 outputs the J6_12 signal. The collector of transistor Q1 is connected to the LED... Transistor D1 receives power from the LED+ terminal. The base of transistor Q1 receives the J6_10 signal. The collector of transistor Q2 receives power from the LED+ terminal through the LED-emitting diode D5. The base of transistor Q2 receives the J6_11 signal. The collector of transistor Q3 receives power from the LED+ terminal through the LED-emitting diode D6. The base of transistor Q3 receives the J6_12 signal. The emitters of transistors Q1, Q2, and Q3 are grounded.
[0014] By adopting the above technical solution, the light module can be used to indicate to the user whether the chip has processed the button correctly after it is pressed. For example, pressing button SW1 should cause the driver's side window to rise and the light on button SW1 to light up. However, if chip U1 misjudges the situation, it will not output the control signal corresponding to button SW1, and the light on button SW1 will not light up.
[0015] This application provides a control method for an automotive window lift switch, which adopts the following technical solution:
[0016] A control method for an automotive window regulator switch includes:
[0017] Obtain the ROW signal and the COL signal;
[0018] The trigger button data is determined by the ROW signal and the COL signal;
[0019] The control signal is determined and output by comparing the trigger button data with a preset control threshold.
[0020] By adopting the above technical solution, software control can replace the original hardware circuit, reducing the probability of transistor burnout and lowering maintenance costs and probability.
[0021] Optional, including:
[0022] Acquire timing data, and determine a judgment signal using the timing data, a preset misjudgment time threshold, multiple ROW signals, and multiple COL signals;
[0023] The test waveform data is determined and output by comparing the judgment signal with the preset test threshold;
[0024] Repeatedly acquire the ROW signal and the COL signal;
[0025] The horizontal and vertical variable data are determined using the test waveform data, the timing data, the multiple ROW signals, and the multiple COL signals.
[0026] Group data is determined using the timing data, the horizontal row variable data, and the vertical column variable data;
[0027] Multiple trigger button data are determined using the group data, multiple ROW signals, and multiple COL signals.
[0028] By adopting the above technical solutions, the automatic judgment becomes more accurate and the probability of misjudgment is reduced.
[0029] Optional, including:
[0030] The current glass state data is determined by all of the aforementioned control signals;
[0031] The trigger for all possible data is determined by multiple ROW signals and multiple COL signals;
[0032] The priority data for changing the state is determined by comparing the current glass state data with the trigger all-possible data.
[0033] Priority test data is determined by combining the change state priority data with the test threshold.
[0034] The test waveform data is determined and output by replacing the test threshold with the priority test data and the judgment signal;
[0035] After calculating and determining the trigger button data, the investigation data is determined by the trigger all-possible data and the change state priority data, and the priority of the investigation data is lower than that of the judgment signal and the trigger button data;
[0036] The investigation test data is determined by comparing the investigation data with the test threshold.
[0037] The test waveform data is determined and output by replacing the test threshold with the judgment signal using the investigation test data, thereby obtaining the remaining trigger button data.
[0038] By adopting the above technical solutions, automatic judgment can be made faster.
[0039] This application provides a computer-readable storage medium, which adopts the following technical solution:
[0040] A computer-readable storage medium storing a computer program that can be loaded by a processor and executed to control a method for a car window lift switch.
[0041] By adopting the above technical solution, computer programs are stored using a computer-readable storage medium.
[0042] In summary, this application includes at least one of the following beneficial technical effects:
[0043] 1. Eliminating transistors greatly reduces the probability of transistor failure and reduces maintenance costs.
[0044] 2. Automatically and more accurately determine the buttons pressed by the user in the button module. Attached Figure Description
[0045] Figure 1 This is a schematic diagram of a car window lift switch circuit according to Embodiment 1 of this application.
[0046] Figure 2 This is a circuit diagram highlighting the button module.
[0047] Figure 3 This is a circuit diagram highlighting the data processing module.
[0048] Figure 4 This is a circuit diagram of the highlighting lamp module.
[0049] Figure 5 This is a flowchart illustrating a control method for an automotive window lift switch circuit according to Embodiment 1 of this application.
[0050] Figure 6 This is a flowchart illustrating a control method for an automotive window lift switch circuit according to Embodiment 2 of this application.
[0051] Figure 7 This is a flowchart of steps S3-S37.
[0052] Explanation of reference numerals in the attached diagram: 1. Button module; 2. Data processing module; 3. Light module. Detailed Implementation
[0053] The following is in conjunction with the appendix Figure 1-7 This application will be described in further detail.
[0054] Embodiment 1 of this application discloses a circuit for a car window lift switch. (Refer to...) Figure 1 The automotive window lift switch circuit includes a button module 1, a data processing module 2, and a light module 3. The button module 1 is used by the user to press the button, generating a corresponding button signal and outputting it to the data processing module 2. The data processing module 2 is used to process and calculate the received button signal, output the corresponding control signal, and control different automotive window drives to control the corresponding automotive window to perform the corresponding actions.
[0055] Reference Figure 2 The button module 1 includes multiple ROW lines, multiple COL lines, and multiple button SWs. The button signals include ROW signals and COL signals. In this embodiment, the ROW signals include ROW0, ROW1, ROW2, and ROW3 signals, and the COL signals include COL0, COL1, COL2, COL3, and COL4 signals. There are four ROW lines, namely ROW0, ROW1, ROW2, and ROW3, each corresponding to output ROW0, ROW1, ROW2, and ROW3 signals. There are five COL lines, namely COL0, COL1, COL2, COL3, and COL4, each corresponding to output COL0, COL1, COL2, COL3, and COL4 signals. All ROW lines are connected in parallel to the same 3V terminal to receive power. Each button SW is connected to at least one ROW line and at least one COL line when powered on.
[0056] Reference Figure 2The buttons SW include buttons SW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, and SW19, nine diodes D1, and eight diodes D2. All buttons SW use the KEY_2 model specification, and diodes D1 and D2 use the SS14 model. Buttons SW13 and SW12... One end of buttons SW18, SW19, and SW6 is electrically connected to the negative terminal of a diode D1, and the positive terminals of all five diodes D1 are connected in parallel to the ROW0 line. The other end of button SW13 is connected in parallel to the CLO0 line, the other end of button SW12 is connected in parallel to the CLO1 line, the other end of button SW18 is connected in parallel to the CLO2 line, the other end of button SW19 is connected in parallel to the CLO3 line, and the other end of button SW6 is connected in parallel to the CLO4 line. One end of buttons SW11, SW10, SW7, and SW3 is electrically connected to a diode. The negative terminal of D1, and the positive terminals of all four diodes D1 are connected in parallel to the ROW1 line. The other end of button SW11 is connected in parallel to the CLO0 line, the other end of button SW10 is connected in parallel to the CLO1 line, the other end of button SW7 is connected in parallel to the CLO2 line, and the other end of button SW3 is connected in parallel to the CLO3 line. One end of buttons SW9, SW8, SW16, and SW5 is each electrically connected to the negative terminal of a diode D2, and the positive terminals of all four diodes D2 are connected in parallel to the ROW2 line. The other end of button SW9 is connected in parallel to the CLO0 line, and the other end of button SW8... The other end is connected in parallel to the CLO1 line; the other end of button SW16 is connected in parallel to the CLO2 line; the other end of button SW5 is connected in parallel to the CLO3 line; one end of buttons SW15, SW17, SW14 and SW4 are each electrically connected to the negative terminal of a diode D2, and the positive terminals of these four diodes D2 are all connected in parallel to the ROW3 line; the other end of button SW15 is connected in parallel to the CLO0 line; the other end of button SW17 is connected in parallel to the CLO1 line; the other end of button SW14 is connected in parallel to the CLO2 line; and the other end of button SW4 is connected in parallel to the CLO3 line.
[0057] Data processing module 2 includes chip U1, which can be model HK32F030MF4P6. Compared to the currently used TCA8418RTWR model, it is cheaper and has lower cost. The control signals include RXD and TXD signals. Pin 5 of chip U1 receives ROW0 signal, pin 6 receives ROW1 signal, pin 13 receives ROW2 signal, pin 14 receives ROW3 signal, pin 16 receives COL4 signal, pin 17 receives COL1 signal, pin 18 receives COL2 signal, pin 19 receives COL3 signal, pin 20 receives COL0 signal, and pins 10 and 12 of chip U1 transmit TXD and RXD signals for control.
[0058] Data processing module 2 also includes a power strip J10, resistors R4, R20, R19, R6, capacitors C1, C2, C3, C4, C5, and C6. The first pin of chip U1 receives the INT signal. One end of resistor R4 is connected in parallel to the first pin of chip U1, and the other end is electrically connected to a 3V terminal. One end of button SW2 is electrically connected to the third pin of chip U1, and the other end is grounded. One end of resistor R20 is connected in parallel between button SW2 and the third pin of chip U1, and the other end is electrically connected to a 3V terminal. One end of button SW1 is electrically connected to the fifteenth pin of chip U1, and the other end is grounded. One end of resistor R19 is connected in parallel between button SW1 and the fifteenth pin of chip U1, and the other end is electrically connected to a 3V terminal. Connected to the 3V terminal; the ninth pin of chip U1 is electrically connected to the 3V terminal; resistor R6 is connected in parallel between the ninth and fourth pins of chip U1; capacitor C1 is connected in parallel between the fourth and seventh pins of chip U1; capacitor C2 is connected in parallel between the seventh and eighth pins of chip U1; the seventh pin of chip U1 is grounded; the first pin of socket J10 is electrically connected to the 3.3V terminal; the second pin of socket J10 transmits the SWDIO signal with the second pin of chip U1; the third pin of socket J10 transmits the SSWLCK signal with the eleventh pin of chip U1; the fourth pin of socket J10 is grounded; one end of capacitor C3, one end of capacitor C4, one end of capacitor C5, and one end of capacitor C6 are connected in parallel to the 3V terminal; the other ends of capacitor C3, the other ends of capacitor C4, the other ends of capacitor C5, and the other ends of capacitor C6 are connected in parallel to ground.
[0059] Lamp module 3 includes resistors R1, R14, R8, R9, R10, R11, R2, R15, R12, R3, R16, and R13; diodes D9, D10, D8, and D7; LEDs D2, D3, and D4; connector J1; transistors Q1, Q2, and Q3; LEDs D1, D5, and D6; diodes D8, D7, D9, and D10 can be SS14FL type; transistors Q1, Q2, and Q3 can be SMMBT2222ALT1G type; and connector J1 uses HEADER type. The 6X2 model specifications: Pins 3 and 4 of the power strip J1 transmit RXD and TXD signals, respectively, for communication with chip U1. Power strip J1 can be connected to an external CPU, MCU, or microcontroller with processing capabilities. Pin 1 of power strip J1 is electrically connected to a 12V terminal, pin 2 is electrically connected to a 3V terminal, pin 5 receives the REST signal, pin 6 receives the INT signal, pin 10 outputs the J6_10 signal, and pin 11 outputs the J6_11 signal. Pin 12 outputs the J6_12 signal; one end of resistor R1 receives the J6_10 signal, and the other end of resistor R1 is electrically connected to the base of transistor Q1. The emitter of transistor Q1 is grounded. The two ends of resistor R14 are connected in parallel between the base and emitter of transistor Q1. The anode of diode D8 is connected in parallel to the emitter of transistor Q1, and the cathode of diode D8 is connected in parallel to the collector of transistor Q1. One end of resistor R8, one end of resistor R9, one end of resistor R10, and one end of resistor R11 are connected in parallel to the collector of transistor Q1. The other end of R8 is electrically connected to the negative terminal of LED D1, the other end of R9 is electrically connected to the negative terminal of LED D2, the other end of R10 is electrically connected to the negative terminal of LED D3, the other end of R11 is electrically connected to the negative terminal of LED D4, the positive terminals of LED D1, LED D2, LED D3 and LED D4 are connected in parallel to the LED+ terminal, the negative terminal of diode D7 is connected in parallel to the LED+ terminal, and the positive terminal of diode D7 is electrically connected to the +12V terminal. One end of resistor R2 receives the J6_11 signal, and the other end of resistor R2 is electrically connected to the base of transistor Q2. The emitter of transistor Q2 is grounded. The two ends of resistor R15 are connected in parallel between the base and emitter of transistor Q2. The anode of diode D9 is connected in parallel to the emitter of transistor Q2, and the cathode of diode D9 is connected in parallel to the collector of transistor Q2. One end of resistor R12 is electrically connected to the collector of transistor Q2, and the other end of resistor R12 is electrically connected to the cathode of diode D5. The anode of diode D5 is electrically connected to the LED+ terminal.One end of resistor R3 receives the J6_10 signal, and the other end of resistor R3 is electrically connected to the base of transistor Q3. The emitter of transistor Q3 is grounded. The two ends of resistor R16 are connected in parallel between the base and emitter of transistor Q3. The anode of diode D10 is connected in parallel to the emitter of transistor Q3, and the cathode of diode D10 is connected in parallel to the collector of transistor Q3. One end of resistor R13 is electrically connected to the collector of transistor Q3, and the other end of resistor R13 is electrically connected to the cathode of diode D66. The anode of diode D66 is electrically connected to the LED+ terminal.
[0060] The implementation principle of an automotive window lift switch circuit according to an embodiment of this application is as follows: When the user presses the button SW, one of the ROW lines and one of the COL lines will be connected. Under the power supply of 3V, a high-level ROW signal and COL signal are output to the chip U1. The chip U1 calculates and determines which button SW is pressed, and then executes the corresponding action. The corresponding waveform signal is output through the RXD signal and TXD signal to control the lifting and lowering action of the automotive window.
[0061] Embodiment 1 of this application discloses a control method for an automotive window lift switch. (Refer to...) Figure 5 The control method for automotive window lift switches includes the following steps:
[0062] S1. Obtain the ROW and COL signals;
[0063] S11. Determine the trigger button data through the ROW and COL signals;
[0064] S12. Determine and output the control signal by triggering the button data and the preset control threshold.
[0065] In detail: Chip U1 determines which ROW signal and COL signal are conducting and receiving by checking the high and low levels of the corresponding pins. Let ROW0 be high, ROW1 be low, COL0 be high, and COL1 be low. This indicates that ROW0 and COL0 are conducting at high levels, and the trigger button data is (ROW0 signal, COL0 signal). Let the control thresholds be (ROW0 signal, COL0 signal, A) and (ROW0 signal, COL1 signal, B). This means that when ROW0 and COL0 are conducting at high levels, action A is executed; when ROW0 and COL1 are conducting at high levels, action B is executed. The trigger button data is (ROW0 signal, COL0 signal), thus outputting the control signal for action A. In this embodiment, the trigger button data is obtained by looking up the control signal within the control thresholds. In other embodiments, the control signal can also be obtained in other ways, such as through a relational expression.
[0066] Embodiment 1 of this application discloses a computer-readable storage medium. (Refer to...) Figure 1 The computer-readable storage medium stores a computer program that can be loaded by a processor and executed to control the power window switch of an automobile.
[0067] Computer-readable storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, and other media capable of storing program code.
[0068] Example 2:
[0069] Unlike Embodiment 1, Embodiment 2 of this application discloses a control method for an automotive window lift switch. (Refer to...) Figure 2 and Figure 6 The control method for automotive window lift switches also includes the following steps:
[0070] S2. Acquire timing data, and determine the judgment signal based on the timing data, the preset misjudgment time threshold, multiple ROW signals and multiple COL signals;
[0071] S21. Determine and output the test waveform data by judging the signal and the preset test threshold;
[0072] S22. Repeatedly acquire the ROW and COL signals;
[0073] S23. Determine the horizontal and vertical variable data by testing waveform data, timing data, multiple ROW signals and multiple COL signals;
[0074] S24. Determine group data using timing data, horizontal variable data, and vertical variable data;
[0075] S25. Multiple trigger button data are determined by group data, multiple ROW signals and multiple COL signals.
[0076] In detail: Assume a false alarm time threshold of 0.01s. The reception time of each received ROW or COL signal is recorded. For example, if the ROW1 signal is high and the timing data is 1min0.1s, it means that a high-level ROW1 signal was received at 0.1 seconds of the first minute. If the difference between the timing data of multiple adjacent ROW signals and COL signals is less than the false alarm time threshold (e.g., timing data of 1min0.1s and 1min0.1s), the false alarm time threshold is not recorded.If, within an 11-second timeframe, all four ROW0, ROW1, COL0, and COL1 signals are received at a high level, it indicates that multiple ROW or COL signals were received simultaneously. This raises a problem. To illustrate, if buttons SW13 and SW10 are pressed simultaneously, all four signals will be high. Similarly, if buttons SW11 and SW12 are pressed simultaneously, these signals will also be high, or even simultaneously. Pressing the button will also cause the ROW0, ROW1, COL0, and COL1 signals to be at a high level. If there is a sequence, it is easy to determine. However, the false alarm time threshold is used to determine if the signals are received simultaneously. At this time, due to the calculation frequency limitation of chip U1, it is impossible to calculate and determine which button SW was pressed. Therefore, the process proceeds to step S21. The test threshold is a sequential combination test. Let the judgment signal be that the ROW0, ROW1, COL0, and COL1 signals are at a high level. According to the test threshold, it is necessary to first actively lower the chip U1 pins corresponding to the ROW0 and COL0 signals to a low level, then restore them, and then raise the ROW0 and COL1 signals... The corresponding chip U1 pin is actively lowered to a low level and then restored. This process is repeated for the ROW1 and COL0 signals. This process generates the test waveform data, where the waveform refers to the high and low level changes of the chip U1 pins. During this process, the ROW and COL signals from other pins are repeatedly acquired. Since only one high level is retained in each of the acquired ROW and COL signals, accurate trigger button data can be obtained. For example, when the chip U1 pin corresponding to the ROW0 and COL0 signals is actively lowered... If both ROW1 and COL1 signals remain high, the group data is (ROW1 signal, COL1 signal), indicating that button SW10 is pressed. The change in the ROW1 signal represents the horizontal variable data, and the change in the COL1 signal represents the vertical variable data. However, if the ROW1 signal remains high while the COL0 signal goes low, it means that SW12 is pressed, not SW10. Since the ROW0 signal is forced low, the COL1 signal is pulled low, and the group data is (ROW0 signal and COL1 signal). This sequential change ensures accurate button trigger data and eliminates interference from simultaneous triggers.
[0077] Reference Figure 2 and Figure 7It also includes the following steps:
[0078] S3. Determine the current glass status data through all control signals;
[0079] S31. Trigger all possible data by using multiple ROW signals and multiple COL signals;
[0080] S32. Determine the priority data for changing the state by combining the current glass state data and the trigger all-possible data;
[0081] S33. Determine priority test data by changing the state priority data and the test threshold;
[0082] S34. Use priority test data instead of test threshold to determine test waveform data with judgment signal and output it;
[0083] S35. After calculating and determining the trigger button data, the investigation data is determined by trigger all possible data and change state priority data. The priority of the investigation data is lower than that of the judgment signal and the trigger button data.
[0084] S36. Determine the investigation test data by checking the investigation data and the test threshold;
[0085] S37. By checking the test data instead of the test threshold, the test waveform data is determined and output with the judgment signal to obtain the remaining trigger button data.
[0086] In detail: Each control signal output is recorded, thus obtaining the current state of the car window, such as closed, fully open, or partially open. This is the window state data. Before proceeding to step S21, step S31 is entered first. At this point, the probability of triggering all possible buttons SW is calculated by simultaneously triggering all ROW and COL signals. For example, if ROW0, ROW1, COL0, and COL1 signals are at a high level, then all possibilities, including buttons SW13, SW12, SW11, and SW10, are triggered. This is the trigger all-possible data. Combined with the current state of the car window, for example, button SW13 raises the driver's side window, button SW12 raises the passenger side window, button SW11 lowers the driver's side window, and button SW10 lowers the passenger side window. If the current window state data shows the driver's side window closed and the passenger side window fully open, then the driver's side window will lower. The rising of the passenger side window will change the current state of the driver's side window, and the rising of the passenger side window will also change the current state of the passenger side window. That is, buttons SW12 and SW11 will change the current state of the window. This is the priority data for changing the state. Then, combined with the test threshold, the priority is to test whether buttons SW12 and SW11 are pressed. That is, the original sequential test will now first turn the ROW1 and COL0 signals low to test button SW12, and turn the ROW0 and COL1 signals low to test button SW11. This is the test waveform data. If buttons SW12 and SW11 are indeed pressed and triggered, the corresponding trigger button data is obtained for output control, and troubleshooting data is obtained. The remaining untested buttons are tested again in sequence using the troubleshooting data and the test threshold. If a new button signal is received while the troubleshooting data is being calculated, the new button signal is processed first, and then the troubleshooting data calculation continues. If the chip U1 used can process in parallel, it will be processed simultaneously.
[0087] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
Claims
1. A circuit for switching power windows in automobiles, characterized in that, include: The button module (1) is used for users to press, generate corresponding button signals and output them; The data processing module (2) receives the key signal, processes the data, and outputs a corresponding control signal to control the car glass. The button module (1) includes multiple ROW lines, multiple COL lines and multiple button SWs. The multiple ROW lines and multiple COL lines receive power from the same 3V terminal. The button signal includes ROW signal and COL signal. The button SW is connected to at least one ROW line and at least one COL line when powered on. Different ROW lines output different ROW signals and different COL lines output different COL signals. The data processing module (2) includes a chip U1. The control signals include RXD signals and TXD signals. The fifth, sixth, thirteenth and fourteenth pins of the chip U1 receive different ROW signals. The sixteenth, seventeenth, eighteenth, nineteenth and twentieth pins of the chip U1 receive different COL signals. The tenth and twelfth pins of the chip U1 transmit the TXD signals and the RXD signals for control. Wherein, the chip U1 is used for: Obtain the ROW signal and the COL signal; The trigger button data is determined by the ROW signal and the COL signal; The control signal is determined and output by combining the trigger button data with a preset control threshold. The chip U1 is also used for: Acquire timing data, and determine a judgment signal using the timing data, a preset misjudgment time threshold, multiple ROW signals, and multiple COL signals; The test waveform data is determined and output by the judgment signal and the preset test threshold; the test waveform data is used to change the pin level of chip U1 corresponding to multiple ROW signals and COL signals; Repeatedly acquire the ROW signal and the COL signal; The horizontal and vertical variable data are determined using the test waveform data, the timing data, the multiple ROW signals, and the multiple COL signals. Group data is determined using the timing data, the horizontal row variable data, and the vertical column variable data; Multiple trigger button data are determined using the group data, multiple ROW signals, and multiple COL signals; The chip U1 is also used for: The current glass status data is determined by all control signals; The trigger for all possible data is determined by multiple ROW signals and multiple COL signals; Determine the priority data for changing the state by comparing the current glass state data with the trigger all-possible data; Priority test data is determined by changing the state priority data and the test threshold; The test waveform data is determined and output by replacing the test threshold with priority test data and judgment signal; After calculating and determining the trigger button data, the investigation data is determined by triggering all possible data and changing state priority data. The priority of the investigation data is lower than that of the judgment signal and the trigger button data. The screening test data is determined by comparing the screening data with the test thresholds; The remaining trigger button data is obtained by checking the test data instead of the test threshold and determining the test waveform data with the judgment signal.
2. The automotive window lift switch circuit according to claim 1, characterized in that: It also includes the lamp module (3), The lamp module (3) includes a power strip J1, transistors Q1, Q2, Q3, LEDs D1, D5, and D6. The third and fourth pins of the power strip J1 transmit the RXD and TXD signals, the tenth pin of the power strip J1 outputs the J6_10 signal, the eleventh pin of the power strip J1 outputs the J6_11 signal, and the twelfth pin of the power strip J1 outputs the J6_12 signal. The collector of transistor Q1 is connected to LED D6. The transistor receives power from the LED+ terminal. The base of transistor Q1 receives the J6_10 signal. The collector of transistor Q2 receives power from the LED+ terminal through the LED-emitting diode D5. The base of transistor Q2 receives the J6_11 signal. The collector of transistor Q3 receives power from the LED+ terminal through the LED-emitting diode D6. The base of transistor Q3 receives the J6_12 signal. The emitters of transistors Q1, Q2, and Q3 are grounded.
3. A control method for an automotive window lift switch, using the automotive window lift switch circuit described in claim 1, characterized in that, include: Obtain the ROW signal and the COL signal; The trigger button data is determined by the ROW signal and the COL signal; The control signal is determined and output by comparing the trigger button data with a preset control threshold.
4. The control method for an automotive window lift switch according to claim 3, characterized in that, include: Acquire timing data, and determine a judgment signal using the timing data, a preset misjudgment time threshold, multiple ROW signals, and multiple COL signals; The test waveform data is determined and output by comparing the judgment signal with the preset test threshold; Repeatedly acquire the ROW signal and the COL signal; The horizontal and vertical variable data are determined using the test waveform data, the timing data, the multiple ROW signals, and the multiple COL signals. Group data is determined using the timing data, the horizontal row variable data, and the vertical column variable data; Multiple trigger button data are determined using the group data, multiple ROW signals, and multiple COL signals.
5. The control method for an automotive window lift switch according to claim 4, characterized in that, include: The current glass state data is determined by all of the aforementioned control signals; The trigger for all possible data is determined by multiple ROW signals and multiple COL signals; The priority data for changing the state is determined by comparing the current glass state data with the trigger all-possible data. Priority test data is determined by combining the change state priority data with the test threshold. The test waveform data is determined and output by replacing the test threshold with the priority test data and the judgment signal; After calculating and determining the trigger button data, the investigation data is determined by the trigger all-possible data and the change state priority data, and the priority of the investigation data is lower than that of the judgment signal and the trigger button data; The investigation test data is determined by comparing the investigation data with the test threshold. The test waveform data is determined and output by replacing the test threshold with the judgment signal using the investigation test data, thereby obtaining the remaining trigger button data.
6. A computer-readable storage medium, characterized in that, The computer program stores a method for controlling an automotive window lift switch as described in any one of claims 3 to 5, which can be loaded by a processor and executed.