Electric flap angle control circuit and control method
By designing the electric flap angle control circuit and utilizing the cooperation of the mode switching module and the main control module, intelligent control of the electric flap is achieved, which solves the problem of poor user experience caused by manual operation and improves the accuracy and convenience of the opening and closing angles.
Patent Information
- Application Number
- CN202211182149.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-27
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2042-09-27
AI Technical Summary
Existing electric charging port covers or fuel filler caps need to be opened or closed by manual pressing, resulting in a poor user experience and a lack of intelligent control.
An electric flap angle control circuit was designed, which included a mode switching module, a main control module and a flap motor module. When the mode switching module received the target mode trigger signal, the circuit was turned on and a high-level signal was output to the main control module. The main control module adjusted the opening and closing angle of the flap motor module according to the signal.
It realizes intelligent control of the electric flap, improves user experience, and ensures the accuracy and convenience of opening and closing angles.
Smart Images

Figure CN115596317B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to an electric hatch angle control circuit and a control method. Background Art
[0002] With the rapid development of science and technology, people's demand for new energy vehicles is also increasing. Therefore, the demand for intelligent control of electric charging and fuel filler caps is also increasing. Currently, existing electric charging and fuel filler caps are all equipped with traditional electronic locks, which require manual pressing to open or close. This is becoming less and less intelligent, resulting in a poor user experience.
[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of the present invention is to provide a method, device, equipment and storage medium for writing stream data, aiming to solve the technical problem that the existing electric charging port cover or fuel filler cover is a traditional electronic lock that needs to be manually pressed to open or close the charging and fuel filler cover, which is becoming less and less intelligent and leads to a poor user experience.
[0005] To achieve the above object, the present invention provides an electric flap angle control circuit, which includes: a mode switching module, a main control module and a flap motor module;
[0006] The main control module is connected to the mode switching module and the cover motor module respectively;
[0007] The mode switching module is configured to connect the circuit with the main control module and output a preset high-level signal to the main control module upon receiving a target mode trigger signal;
[0008] The main control module is configured to output an angle control signal corresponding to a target mode to the flap motor module according to the received preset high-level signal when the loop is turned on;
[0009] The flap motor module is used to adjust the opening and closing angle of the electric flap according to the angle control signal.
[0010] Optionally, the mode switching module includes: an on mode switch, an off mode switch, and a hold mode switch;
[0011] A first end of the open mode switch is connected to the main control module, and a second end of the open mode switch is grounded;
[0012] A first end of the off-mode switch is connected to the main control module, and a second end of the off-mode switch is grounded;
[0013] A first end of the hold mode switch is connected to the main control module, and a second end of the hold mode switch is grounded.
[0014] Optionally, the electric flap angle control circuit further comprises: a communication module;
[0015] The communication module is connected to the main control module and the cover motor module respectively;
[0016] The main control module is used to output an angle trigger signal corresponding to the target mode to the communication module according to the received preset high-level signal when the loop is turned on;
[0017] The communication module is used to output an angle control signal to the flap motor module based on the angle trigger signal.
[0018] Optionally, the main control module includes: a main control chip, a first resistor, a second resistor, first to third capacitors, and a first crystal oscillator;
[0019] The working positive voltage pin of the main control chip is connected to the first power supply;
[0020] The working negative voltage pin of the main control chip is grounded;
[0021] The battery working mode pin of the main control chip is connected to the first end of the first resistor, the second end of the first resistor is connected to the first power supply and the first end of the first capacitor respectively, and the second end of the first capacitor is grounded;
[0022] The external crystal oscillator input pin of the main control chip is connected to the first end of the first crystal oscillator, and the second end of the first crystal oscillator is grounded;
[0023] The external crystal oscillator output pin of the main control chip is connected to the third end of the first crystal oscillator;
[0024] The reference negative voltage pin of the main control chip is grounded;
[0025] The analog working positive voltage pin of the main control chip is respectively connected to the first end of the second capacitor, the first end of the third capacitor and the first end of the second resistor, the second end of the second capacitor and the second end of the third capacitor are grounded, and the second end of the second resistor is connected to the first power supply;
[0026] The analog working negative voltage pin of the main control chip is grounded;
[0027] The open mode pin of the main control chip is connected to the first end of the open mode switch;
[0028] The shutdown mode pin of the main control chip is connected to the first end of the shutdown mode switch;
[0029] The hold mode pin of the main control chip is connected to the first end of the hold mode switch;
[0030] The first data sending pin of the main control chip is connected to the communication module;
[0031] The second data sending pin of the main control chip is connected to the communication module;
[0032] The first data receiving pin of the main control chip is connected to the communication module.
[0033] Optionally, the communication module includes: a transceiver chip, third to seventh resistors, a fourth capacitor, a first diode and a first switch button;
[0034] The data receiving pin of the transceiver chip is respectively connected to the first end of the third resistor and the first end of the fourth resistor, the second end of the third resistor is connected to the first data sending pin of the main control chip, and the second end of the fourth resistor is connected to the second data sending pin of the main control chip;
[0035] The sleep control pin of the transceiver chip is connected to the second power supply;
[0036] The local wake-up input pin of the transceiver chip is connected to the first end of the fifth resistor, the second end of the fifth resistor is connected to the first end of the sixth resistor and the first end of the first switch button respectively, the second end of the sixth resistor is connected to the third power supply, and the second end of the first switch button is grounded;
[0037] The first data sending pin of the transceiver chip is connected to the first data receiving pin of the main control chip;
[0038] The voltage adjustment pin of the transceiver chip is connected to the anode of the first diode, the cathode of the first diode is connected to the first end of the seventh resistor, and the second end of the seventh resistor is connected to the serial communication pin of the transceiver chip;
[0039] The power pins of the transceiver chip are respectively connected to the third power supply and the power pins of the cover motor module;
[0040] The serial communication pin of the transceiver chip is respectively connected to the first end of the fourth capacitor and the serial communication pin of the flap motor module, and the second end of the fourth capacitor is grounded;
[0041] The ground pin of the transceiver chip is grounded.
[0042] Optionally, the mode switching module is further configured to connect a preset open mode loop with the main control module and output a preset high level signal to the main control module when receiving a target mode trigger signal that is an open mode trigger signal;
[0043] The main control module is further configured to output a preset opening and closing angle trigger signal corresponding to the target mode to the communication module according to the received preset high-level signal when the preset opening mode circuit is turned on;
[0044] The communication module is configured to output a preset opening and closing angle control signal to the flap motor module based on the preset opening and closing angle trigger signal;
[0045] The flap motor module is further configured to adjust the opening and closing angle of the electric flap to a preset opening and closing angle through the preset opening and closing angle control signal.
[0046] Optionally, the mode switching module is further configured to connect a preset off-mode loop with the main control module and output a preset high-level signal to the main control module when the target mode trigger signal received is an off-mode trigger signal;
[0047] The main control module is further configured to output a closing angle trigger signal corresponding to the target mode to the communication module according to the received preset high-level signal when the preset closing mode loop is turned on;
[0048] The communication module is configured to output a closing angle control signal to the flap motor module based on the closing angle trigger signal;
[0049] The flap motor module is further configured to adjust the opening and closing angle of the electric flap to a closing angle through the closing angle control signal.
[0050] Optionally, the mode switching module is further configured to connect a preset hold mode loop with the main control module and output a preset high level signal to the main control module when receiving a hold mode trigger signal as the target mode trigger signal;
[0051] The main control module is further configured to output a preset holding angle trigger signal corresponding to the target mode to the communication module according to the received preset high-level signal when the preset holding mode loop is turned on;
[0052] The communication module is configured to output a preset holding angle control signal to the flap motor module based on the preset holding angle trigger signal;
[0053] The flap motor module is further configured to maintain the opening and closing angle of the electric flap at a preset holding angle through the preset holding angle control signal.
[0054] Optionally, the electric flap angle control circuit further comprises: a display module;
[0055] The display module is connected to the main control module;
[0056] The flap motor module is further configured to trigger an angle change signal based on a change in the opening and closing angle, and output the angle change signal to the communication module;
[0057] The communication module is further configured to output an angle display trigger signal to the main control module based on the received angle change signal;
[0058] The main control module is further configured to output an angle display signal to the display module via the angle display trigger signal;
[0059] The display module is used to display the opening and closing angle in the changing process through the angle display signal;
[0060] The display module is further used to display the number of times the opening and closing angle changes from a preset opening and closing angle to a closed angle.
[0061] In addition, to achieve the above-mentioned purpose, the present invention also proposes an electric flap angle control method based on the electric flap angle control circuit as described above, and the electric flap angle control method comprises the following steps:
[0062] When receiving the target mode trigger signal, trigger the preset high level signal;
[0063] Outputting an angle control signal corresponding to the target mode according to the preset high-level signal;
[0064] The opening and closing angle of the electric flap is adjusted by the angle control signal.
[0065] In the present invention, upon receiving a target mode trigger signal, the mode switching module connects the circuit with the main control module and outputs a preset high-level signal to the main control module. When the circuit is connected, the main control module outputs an angle control signal corresponding to the target mode to the flap motor module based on the received preset high-level signal. The flap motor module then adjusts the opening and closing angle of the electric flap based on the angle control signal. Because the present invention outputs an angle control signal corresponding to the target mode based on the received target mode trigger signal and adjusts the opening and closing angle of the electric flap based on the angle control signal, compared to the prior art method of manually pressing to open or close the charging and fuel filler flap, the electric flap angle control circuit of the present invention achieves intelligent control, improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1Schematic diagram of the structure of the first embodiment of the electric flap angle control circuit of the present invention;
[0067] Figure 2 This is a circuit schematic diagram of a mode switching module in the first embodiment of the electric flap angle control circuit of the present invention;
[0068] Figure 3 This is a circuit schematic diagram of each angle switch in the opening mode switch of the first embodiment of the electric hatch angle control circuit of the present invention;
[0069] Figure 4 Schematic diagram of the structure of the second embodiment of the electric flap angle control circuit of the present invention;
[0070] Figure 5 This is a circuit schematic diagram of a main control module in the second embodiment of the electric hatch angle control circuit of the present invention;
[0071] Figure 6 This is a circuit schematic diagram of a communication module in the second embodiment of the electric flap angle control circuit of the present invention;
[0072] Figure 7 This is a circuit diagram of a third embodiment of the electric flap angle control circuit of the present invention;
[0073] Figure 8 2 is a flow chart of a first embodiment of a method for controlling an angle of an electric flap according to the present invention.
[0074] Description of Figure Numbers:
[0075]
[0076]
[0077] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0078] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0079] The technical solution of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of the present invention.
[0080] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present invention are only for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly naming the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0081] Reference Figure 1 , Figure 1 Schematic diagram of the structure of the first embodiment of the electric flap angle control circuit of the present invention.
[0082] like Figure 1 As shown, the electric flap angle control circuit of this embodiment includes: a mode switching module 100 , a main control module 200 and a flap motor module 300 .
[0083] The main control module 200 is connected to the mode switching module 100 and the cover motor module 300 respectively.
[0084] The mode switching module 100 is configured to connect the circuit with the main control module 200 and output a preset high-level signal to the main control module 200 upon receiving a target mode trigger signal.
[0085] It should be noted that the target mode trigger signal can be a signal used to trigger the corresponding mode. For example, if each mode has a corresponding switch control, pressing the switch can trigger the mode corresponding to the switch. Correspondingly, if each mode has a corresponding knob control, rotating the knob to the target value can trigger the mode corresponding to the target value. This embodiment does not limit this.
[0086] It can be understood that the target mode can be an opening mode for controlling the electric lid to open to a certain angle, a closing mode for controlling the electric lid to close, and a holding mode for controlling the electric lid to maintain any angle. The opening and closing angles of the electric lid can be controlled to be in each mode through trigger signals of different modes.
[0087] It should be noted that the preset high-level signal can be a trigger signal for the above-mentioned main control module 200 to output an angle control signal. The preset high-level signal can be a level signal corresponding to the internal working voltage when the chip is working, or it can be a level signal input from the outside of the chip.
[0088] In a specific implementation, the above-mentioned mode switching module 100 can connect the loop corresponding to the corresponding mode between the above-mentioned main control module 200 when receiving the above-mentioned target mode trigger signal, so that the above-mentioned main control module 200 outputs a preset high-level signal of the angle control signal to the above-mentioned main control module 200.
[0089] For easier understanding, please refer to Figure 2 This is for illustration only, but does not limit this solution. Figure 2 This is a circuit schematic diagram of the mode switching module in the first embodiment of the electric flap angle control circuit of the present invention. In the figure, the mode switching module 100 includes: an open mode switch K1, a close mode switch K2 and a hold mode switch K3.
[0090] Among them, the first end of the open mode switch K1 is connected to the main control module 200, and the second end of the open mode switch K1 is grounded GND. The first end of the close mode switch K2 is connected to the main control module 200, and the second end of the close mode switch K2 is grounded GND. The first end of the hold mode switch K3 is connected to the main control module 200, and the second end of the hold mode switch K3 is grounded GND.
[0091] like Figure 2 As shown, when the open mode switch K1 is pressed, it indicates that the target mode trigger signal is the open mode trigger signal. Accordingly, when the close mode switch K2 is pressed, it indicates that the target mode trigger signal is the close mode trigger signal. Accordingly, when the hold mode switch K3 is pressed, it indicates that the target mode trigger signal is the hold mode trigger signal.
[0092] In a specific implementation, in order to facilitate users to precisely control the opening and closing angles of the electric switch, the opening mode switch can be used to trigger different angles of the electric cover, such as 30°, 45°, 60°, and 90°, to further improve the user experience.
[0093] For easier understanding, please refer to Figure 3 This is for illustration only, but does not limit this solution. Figure 3 This is a circuit schematic diagram of the angle switches in the opening mode switch of the first embodiment of the electric flap angle control circuit of the present invention. In the figure, the opening mode switch K1 can be replaced by a 30° switch K11, a 45° switch K12, a 60° switch K13 and a 90° switch K14. The first ends of the 30° switch K11, the 45° switch, the 60° switch and the 90° switch are all grounded, and the second ends of the 30° switch K11, the 45° switch, the 60° switch and the 90° switch are all connected to the main control module 200 to realize control of different opening and closing angles of the electric flap.
[0094] In a specific implementation, switch K11 is set as a 30° switch to control the opening and closing angle of the electric cover at 30°. Accordingly, switch K12 is set as a 45° switch to control the opening and closing angle of the electric cover at 45°. Accordingly, switch K13 is set as a 60° switch to control the opening and closing angle of the electric cover at 60°. Accordingly, switch K11 is set as a 90° switch to control the opening and closing angle of the electric cover at 90°.
[0095] It should be understood that in addition to the aforementioned 30°, 45°, 60°, and 90° switches, switches at any other angle may be provided to control the opening and closing angle of the electric flap at any desired angle. Furthermore, a knob switch may be provided to activate a switch at any desired angle by rotating the knob, thereby controlling the angle of the electric flap.
[0096] It should be noted that the holding mode switch can also be set to different angle switches to keep the opening and closing angle of the electric cover at any set angle. The specific circuit principle diagram can be as described above, and this embodiment will not be repeated.
[0097] It is understandable that the off mode switch can be set to a 0° switch, that is, the opening and closing angle of the electric flap is controlled to be 0°, so that the electric flap is in a closed state.
[0098] The main control module 200 is used to output an angle control signal corresponding to the target mode to the flap motor module 300 according to the received preset high-level signal when the loop is turned on.
[0099] It should be noted that the angle control signal may be a control signal for controlling the opening and closing angle of the electric flap.
[0100] In a specific implementation, when the circuit corresponding to the target mode is turned on, the main control module 200 triggers the angle control signal corresponding to the target mode according to the received preset high-level signal, and outputs the angle control signal to the flap motor module 300. For example, if the target mode is the open mode, the angle control signal corresponding to the open mode can be output to control the electric flap to be in the open mode.
[0101] The flap motor module 300 is used to adjust the opening and closing angle of the electric flap according to the angle control signal.
[0102] In a specific implementation, the flap motor module 300 can adjust the opening and closing angle of the electric flap to the angle corresponding to the target mode through the above-mentioned angle control signal. For example, if the target mode is the open mode, the opening and closing angle of the electric flap can be adjusted to the angle corresponding to the open mode through the above-mentioned angle control signal.
[0103] In this embodiment, upon receiving a target mode trigger signal, the mode switching module connects the circuit with the main control module and outputs a preset high-level signal to the main control module. When the circuit is connected, the main control module outputs an angle control signal corresponding to the target mode to the flap motor module based on the received preset high-level signal. The flap motor module then adjusts the opening and closing angle of the electric flap based on the angle control signal. Because this embodiment outputs an angle control signal corresponding to the target mode based on the received target mode trigger signal and adjusts the opening and closing angle of the electric flap based on this angle control signal, compared to the prior art method of manually pressing to open or close the charging and fuel filler flap, this embodiment's electric flap angle control circuit achieves intelligent control, improving the user experience.
[0104] refer to Figure 4 , Figure 4 Schematic diagram of the structure of the second embodiment of the electric flap angle control circuit of the present invention.
[0105] Based on the above first embodiment, in this embodiment, the electric flap angle control circuit further includes: a communication module 400, wherein the communication module 400 is connected to the main control module 200 and the flap motor module 300 respectively.
[0106] The main control module 200 is used to output an angle trigger signal corresponding to the target mode to the communication module 200 according to the received preset high-level signal when the loop is turned on.
[0107] It should be noted that, in order to prevent the angle control signal from being unable to be accurately output to the flap motor module 300 , this embodiment is proposed to improve the accuracy of the electric flap opening and closing angle control.
[0108] It is understandable that the angle trigger signal may be a trigger signal that triggers the angle control signal in the communication module 400 .
[0109] In a specific implementation, the main control module 200 can output the angle trigger signal corresponding to each mode to the above-mentioned communication module 200 based on different modes according to the above-mentioned circuit. Since the angle trigger signal can be accurately output to the above-mentioned communication module 400, the accuracy of the subsequent angle control signal output to the flap motor module 300 can be improved.
[0110] The communication module 400 is configured to output an angle control signal to the flap motor module 300 based on the angle trigger signal.
[0111] In a specific implementation, the communication module 400 can be connected to the above-mentioned flap motor module 300 via the LIN bus, thereby accurately transmitting the angle control signal triggered by the angle trigger signal to the above-mentioned flap motor module 300, thereby improving the accuracy of the electric flap opening and closing angle control.
[0112] For easier understanding, please refer to Figure 5 This is for illustration only, but does not limit this solution. Figure 5 This is a circuit schematic diagram of the main control module in the second embodiment of the electric flap angle control circuit of the present invention. In the figure, the main control module 200 includes: a main control chip U1, a first resistor R1, a second resistor R2, first to third capacitors C1-C3, and a first crystal oscillator Y1.
[0113] Among them, the working positive voltage pin VDD of the main control chip U1 is connected to the first power supply VCC1, the working negative voltage pin VSS of the main control chip U1 is grounded GND, the battery working mode pin VBAT of the main control chip U1 is connected to the first end of the first resistor R1, the second end of the first resistor R1 is respectively connected to the first power supply VCC1 and the first end of the first capacitor C1, the second end of the first capacitor C1 is grounded GND, the external crystal oscillator input pin OSC_IN of the main control chip U1 is connected to the first end 1 of the first crystal oscillator Y1, the second end 2 of the first crystal oscillator Y1 is grounded GND, the external crystal oscillator output pin OSC_OUT of the main control chip U1 is connected to the third end 3 of the first crystal oscillator Y1, the reference negative voltage pin Vref- of the main control chip U1 is grounded GND, and the analog working positive voltage pin VDDA of the main control chip U1 is respectively connected to the first end of the second capacitor C2 and the third end of the second capacitor C2. A first end of the capacitor C3 is connected to a first end of the second resistor R2, a second end of the second capacitor C2 and a second end of the third capacitor C3 are grounded GND, a second end of the second resistor R2 is connected to the first power supply VCC1, an analog working negative voltage pin VSSA of the main control chip U1 is grounded GND, an open mode pin P1 of the main control chip U1 is connected to a first end of the open mode switch K1, a close mode pin P2 of the main control chip U1 is connected to a first end of the close mode switch K2, a hold mode pin P3 of the main control chip is connected to a first end of the hold mode switch K3, a first data sending pin of the main control chip U1 is connected to USART1-TX of the communication module 400, a second data sending pin USART2-TX of the main control chip U1 is connected to the communication module 400, and a first data receiving pin USART1-RX of the main control chip U1 is connected to the communication module 400.
[0114] It is understandable that the main control chip U1 may be a chip for generating an angle control signal or an angle trigger signal, such as STM32F103ZET6.
[0115] like Figure 4As shown, when any of the mode switches, namely the open mode switch K1, the close mode switch K2 and the hold mode switch K3, is closed, the closed switch can conduct the loop between the pins of the chip U1 connected to it, so that the preset high-level signal (such as 3.3V) is input to the main control chip U1. At this time, the main control chip U1 can output the corresponding angle trigger signal to the above-mentioned communication module 400 through the loop between the above-mentioned closed switches. The communication module 400 can be connected to the USART1-TX, USART2-TX and USART1-RX corresponding to the main control chip U1 through its internal data receiving pin RXD and data sending pin TXD, thereby realizing communication, and can accurately receive the angle trigger signal transmitted by the main control chip.
[0116] For easier understanding, please refer to Figure 6 This is for illustration only, but does not limit this solution. Figure 6 This is a circuit schematic diagram of the communication module in the second embodiment of the electric flap angle control circuit of the present invention. In the figure, the communication module 400 includes: a transceiver chip U2, third to seventh resistors R3 to R7, a fourth capacitor C4, a first diode D1 and a first switch button K0.
[0117] Among them, the data receiving pin RXD of the transceiver chip U2 is respectively connected to the first end of the third resistor R3 and the first end of the fourth resistor R4, the second end of the third resistor R3 is connected to the first data sending pin USART1-TX of the main control chip U1, the second end of the fourth resistor R4 is connected to the second data sending pin USART2-TX of the main control chip U1, the sleep control pin NSLP of the transceiver chip U2 is connected to the second power supply VCC2, the local wake-up input pin NWAKE of the transceiver chip U2 is connected to the first end of the fifth resistor R5, the second end of the fifth resistor R5 is respectively connected to the first end of the sixth resistor R6 and the first end of the first switch button K0, the second end of the sixth resistor R6 is connected to the third power supply VCC3, and the second end of the first switch button K0 is grounded GN D, the first data sending pin TXD of the transceiver chip U2 is connected to the first data receiving pin USART1-RX of the main control chip U1, the voltage adjustment pin INH of the transceiver chip U2 is connected to the anode of the first diode D1, the cathode of the first diode D1 is connected to the first end of the seventh resistor R7, the second end of the seventh resistor R7 is connected to the serial communication pin LIN of the transceiver chip U2, the power pin BAT of the transceiver chip U2 is respectively connected to the third power supply VCC3 and the power pin VCC of the cover motor module 300, the serial communication pin LIN of the transceiver chip U2 is respectively connected to the first end of the fourth capacitor C4 and the serial communication pin LIN of the cover motor module 300, the second end of the fourth capacitor C4 is grounded GND, and the ground pin GND of the transceiver chip U2 is grounded.
[0118] It is understandable that the transceiver chip U2 may be a transceiver chip for receiving signals and communicating with the outside, such as TJA1020.
[0119] like Figure 6 As shown, the communication module 400 can receive the angle trigger signal output by the main control module 200 through the RTX pin of the transceiver chip U2, and the transceiver chip triggers the angle control signal corresponding to the target mode based on the above angle trigger signal, wherein the power pin BAT and serial communication pin LIN of the transceiver chip U2 are respectively connected to the power pin VCC and serial communication pin LIN of the flap motor module 300, thereby realizing the connection with the flap motor module 300 and outputting the above angle control signal to the above flap motor module 300.
[0120] It should be noted that the power input module of the electric flap angle control circuit of this embodiment is externally connected to a DC9-16V voltage to power the mode switching module 100 , the main control module 200 and the communication module 300 .
[0121] In a specific implementation, the external DC9-16V voltage, that is, the voltage corresponding to the third power supply, can be 12V. The power input module can adopt a step-down BUCK topology circuit based on a step-down chip, such as MP2359DJ, to output a low ripple voltage, such as 5V. The low ripple voltage can be the voltage of the above-mentioned second power supply, and can power the transceiver chip U2 in the above-mentioned communication module 400. At the same time, an LDO low-voltage linear voltage regulator circuit can be formed based on a voltage regulator chip, such as AMS1117, to output the voltage of the above-mentioned first power supply, such as 3.3V. The voltage of the first power supply can power the main control chip U1 in the above-mentioned main control module 200.
[0122] Furthermore, in order to improve the accuracy of the opening and closing angle control of the electric lid, in this embodiment, the mode switching module 100 is also used to connect the preset open mode loop between the main control module 200 and output a preset high-level signal to the main control module 200 when the target mode trigger signal received is an open mode trigger signal.
[0123] It should be noted that the preset opening mode circuit may be a circuit for outputting an output to control the opening and closing angle of the electric cover to be at a set opening angle, such as the circuit corresponding to the opening mode pin P1 inside the main control chip U1 mentioned above.
[0124] It is understandable that the above-mentioned preset high-level signal may be the internal operating voltage of the main control chip U1 when it is working normally, such as 3.3V.
[0125] The main control module 200 is further configured to output a preset opening and closing angle trigger signal corresponding to the target mode to the communication module 400 according to the received preset high-level signal when the preset opening mode circuit is turned on.
[0126] It should be noted that the preset opening and closing angle trigger signal can be a trigger signal corresponding to the preset opening and closing angle in the open mode, wherein the preset opening and closing angle can be several opening and closing angles set in the open mode, such as the above-mentioned 30°, 45° and 90°.
[0127] In a specific implementation, the main control module 200 can also flash the corresponding indicator light when detecting the above-mentioned preset open mode loop, or when detecting that the above-mentioned target mode trigger signal is an open mode trigger signal, to indicate to the user that the open mode has been triggered successfully, thereby further improving the user experience.
[0128] The communication module 400 is used to output a preset opening and closing angle control signal to the flap motor module 300 based on the preset opening and closing angle trigger signal.
[0129] It should be noted that the preset opening and closing angle control signal may be a control signal for controlling the electric flap to be at the above-mentioned preset opening and closing angle, and the preset opening and closing angle control signal may be triggered by the above-mentioned preset opening and closing angle trigger signal.
[0130] In a specific implementation, the communication module 400 can receive the preset opening and closing angle trigger signal output by the above-mentioned main control module 200 through the transceiver chip U2, and the above-mentioned transceiver chip U2 triggers the above-mentioned preset opening and closing angle control signal based on the above-mentioned preset opening and closing angle trigger signal, and outputs the above-mentioned preset opening and closing angle control signal to the above-mentioned cover motor module 300 through the serial communication pin LIN of the above-mentioned transceiver chip U2.
[0131] The flap motor module 300 is further configured to adjust the opening and closing angle of the electric flap to a preset opening and closing angle through the preset opening and closing angle control signal.
[0132] In a specific implementation, the flap motor module 300 can receive the preset opening and closing angle control signal output by the above-mentioned communication module 400 through the serial communication pin LIN, and adjust the opening and closing angle of the electric flap to the preset opening and closing angle, such as 30°, 45° and 90°, through the preset opening and closing angle control signal, so that the electric flap is in an open mode, thereby achieving the accuracy of opening the electric flap to a certain angle.
[0133] In this embodiment, the mode switching module 100 is further configured to connect a preset shutdown mode loop with the main control module 200 and output a preset high-level signal to the main control module 200 when the target mode trigger signal received is a shutdown mode trigger signal.
[0134] It should be noted that the preset closing mode circuit can be a circuit for outputting the control of the opening and closing angle of the electric lid to be 0°, that is, the electric lid is in a closed state, such as the circuit corresponding to the open mode pin P2 inside the main control chip U1 mentioned above.
[0135] The main control module 200 is further configured to output a closing angle trigger signal corresponding to the target mode to the communication module 400 according to the received preset high-level signal when the preset closing mode loop is turned on.
[0136] It should be noted that the closing angle trigger signal may be a trigger signal for completely closing the electric flap.
[0137] In a specific implementation, the main control module 200 can also flash the corresponding indicator light when it detects the above-mentioned preset shutdown mode loop, or when it detects that the above-mentioned target mode trigger signal is a shutdown mode trigger signal, to indicate to the user that the shutdown mode has been triggered successfully, thereby further improving the user experience.
[0138] The communication module 400 is configured to output a closing angle control signal to the flap motor module 300 based on the closing angle trigger signal.
[0139] It should be noted that the closing angle control signal may be a control signal for controlling the electric flap to be in a fully closed state, and the closing angle control signal may be triggered by the above-mentioned closing angle trigger signal.
[0140] In a specific implementation, the communication module 400 can receive the closing angle trigger signal output by the main control module 200 through the transceiver chip U2, and the transceiver chip U2 triggers the closing angle control signal based on the closing angle trigger signal, and outputs the closing angle control signal to the cover motor module 300 through the serial communication pin LIN of the transceiver chip U2.
[0141] The flap motor module 300 is further configured to adjust the opening and closing angle of the electric flap to a closing angle through the closing angle control signal.
[0142] In a specific implementation, the flap motor module 300 can receive the closing angle control signal output by the above-mentioned communication module 400 through the serial communication pin LIN, and adjust the opening and closing angle of the electric flap to 0° through the closing angle control signal, so that the electric flap is in a fully closed opening mode, thereby achieving the accuracy of controlling the electric flap to be fully closed.
[0143] In this embodiment, the mode switching module 100 is further configured to connect a preset hold mode loop with the main control module 200 and output a preset high level signal to the main control module 200 when the target mode trigger signal received is a hold mode trigger signal.
[0144] It should be noted that the preset holding mode circuit can be a circuit for outputting control of the opening and closing angle of the electric cover to maintain the above-mentioned preset opening and closing angle, such as the circuit corresponding to the open mode pin P3 inside the above-mentioned main control chip U1.
[0145] The main control module 200 is further configured to output a preset holding angle trigger signal corresponding to the target mode to the communication module 400 according to the received preset high-level signal when the preset holding mode loop is turned on.
[0146] It should be noted that the preset holding angle trigger signal can be a trigger signal corresponding to the preset opening and closing angle in the holding mode, wherein the preset opening and closing angle can be several opening and closing angles set in the above-mentioned opening mode, such as the above-mentioned 30°, 45° and 90°.
[0147] In a specific implementation, the main control module 200 can also flash the corresponding indicator light when detecting the above-mentioned preset hold mode loop, or when detecting that the above-mentioned target mode trigger signal is a hold mode trigger signal, to indicate to the user that the hold mode has been triggered successfully, thereby further improving the user experience.
[0148] The communication module 400 is used to output a preset holding angle control signal to the flap motor module 300 based on the preset holding angle trigger signal.
[0149] It should be noted that the preset holding angle control signal may be a control signal for controlling the electric flap to maintain the above-mentioned preset opening and closing angle, and the preset holding angle control signal may be triggered by the above-mentioned preset holding angle trigger signal.
[0150] In a specific implementation, the communication module 400 can receive the preset holding angle trigger signal output by the above-mentioned main control module 200 through the transceiver chip U2, and the above-mentioned transceiver chip U2 triggers the above-mentioned preset holding angle control signal based on the above-mentioned preset holding angle trigger signal, and outputs the above-mentioned preset holding angle control signal to the above-mentioned cover motor module 300 through the serial communication pin LIN of the above-mentioned transceiver chip U2.
[0151] The flap motor module 300 is further configured to maintain the opening and closing angle of the electric flap at a preset holding angle through the preset holding angle control signal.
[0152] In a specific implementation, the flap motor module 300 can receive the preset holding angle control signal output by the above-mentioned communication module 400 through the serial communication pin LIN, and maintain the opening and closing angle of the electric flap at the above-mentioned preset opening and closing angle, such as 30°, 45° and 90°, through the preset holding angle control signal, so that the electric flap is in a holding mode, thereby achieving the accuracy of maintaining a certain angle of the opening and closing angle of the electric flap.
[0153] refer to Figure 7 , Figure 7 2 is a schematic structural diagram of a third embodiment of the electric flap angle control circuit of the present invention.
[0154] Based on the above second embodiment, in this embodiment, the electric flap angle control circuit further includes: a display module 500 , wherein the display module 500 is connected to the main control module 200 .
[0155] The flap motor module 300 is further configured to trigger an angle change signal based on the change in the opening and closing angle, and output the angle change signal to the communication module 400 .
[0156] It should be noted that, in order to avoid the inability to accurately obtain the changes in the opening and closing angles of the electric flap, this embodiment is proposed to achieve real-time display of the changes in the opening and closing angles of the electric flap, thereby improving the user experience.
[0157] It is understandable that the angle change signal may be a signal corresponding to a change in the opening and closing angle of the electric flap.
[0158] In a specific implementation, after the flap motor module 300 adjusts the opening and closing angle based on the above-mentioned angle control signal, it can trigger a corresponding angle change signal based on the change of the above-mentioned opening and closing angle, such as from 0° in the closed mode to 90° in the open mode, and output the angle change signal to the above-mentioned communication module 400 through the serial communication pin LIN.
[0159] The communication module 400 is further configured to output an angle display trigger signal to the main control module 200 based on the received angle change signal.
[0160] It should be noted that the angle display trigger signal may be a trigger signal for triggering the display of the angle display signal.
[0161] In a specific implementation, the communication module 400 can generate an angle display trigger signal based on the angle change signal of the transceiver chip U2, and output the angle display trigger signal to the main control module 200 through the first data sending pin TXD of the transceiver chip U2.
[0162] The main control module 200 is further configured to output an angle display signal to the display module 500 via the angle display trigger signal.
[0163] It should be noted that the angle display signal may be a signal for displaying the opening and closing angle of the electric flap.
[0164] In a specific implementation, the main control module 200 can receive the angle display trigger signal transmitted by the above-mentioned communication module 400 based on the first data receiving pin USART1-RX of the main control chip U1, and trigger the above-mentioned angle display signal based on the angle display trigger signal, and output the angle display signal to the display module 500.
[0165] The display module 500 is configured to display the opening and closing angle in a changing process through the angle display signal.
[0166] In a specific implementation, the display module 500 can drive the LCD digital tube based on the above-mentioned angle display signal by the LCD digital tube driving chip to display the changing opening and closing angle value. For example, when the electric cover changes from 0° in the closed mode to the fully opened angle of 90° in the open mode, the entire process from 0° to 90° can be displayed in real time. Correspondingly, when the electric cover changes from 90° in the open mode to 0° in the closed mode, the entire process from 90° to 0° can also be displayed in real time, thereby realizing real-time monitoring of the opening and closing angle changes and improving the user experience.
[0167] The display module 500 is further configured to display the number of times the opening and closing angle changes from a preset opening and closing angle to a closed angle.
[0168] It should be noted that a cyclic mode switch can also be provided in the mode switching module 100. The cyclic mode switch can control the electric cover to be in a continuous opening and closing cycle based on the above-mentioned control method, that is, from the above-mentioned preset opening and closing angles in the opening modes such as 30°, 45° and 90° to 0°.
[0169] In a specific implementation, the display module 500 can display the number of cycles in which the opening and closing angle of the electric flap changes from a preset opening and closing angle to a closed one, thereby displaying the number of cycles, facilitating testing of the electric flap, and improving the user experience.
[0170] Based on the above embodiments of the electric flap angle control circuit, a first embodiment of an electric flap angle control method of the present invention is proposed.
[0171] Reference Figure 8 , Figure 8 Flowchart of the first embodiment of the electric flap angle control method of the present invention.
[0172] In this embodiment, the electric flap angle control method based on the electric flap angle control circuit includes the following steps:
[0173] Step S10: upon receiving the target mode trigger signal, triggering a preset high level signal.
[0174] It should be noted that the execution subject of the method of this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a single-chip microcomputer or controller, or other electronic devices that implement the same or similar functions as the electric flap angle control device. The following describes this embodiment and the following embodiments using the electric flap angle control device (hereinafter referred to as the control device).
[0175] It is understandable that the target mode trigger signal can be a signal used to trigger the corresponding mode. For example, if each mode has a corresponding switch control, pressing the switch can trigger the mode corresponding to the switch. Correspondingly, if each mode has a corresponding knob control, rotating the knob to the target value can trigger the mode corresponding to the target value. This embodiment does not limit this.
[0176] It should be noted that the target mode can be an opening mode for controlling the electric lid to open to a certain angle, a closing mode for controlling the electric lid to close, and a holding mode for controlling the electric lid to maintain any angle. The opening and closing angles of the electric lid can be controlled to be at the opening and closing angles in each mode through trigger signals of different modes.
[0177] It is understandable that the preset high-level signal can be a trigger signal for generating an angle control signal. The preset high-level signal can be a level signal corresponding to the internal working voltage of the control device when it is working, or a level signal input from the outside of the control device.
[0178] In a specific implementation, when the control device receives the target mode trigger signal, it connects the loop between the device that triggers the target mode trigger signal, such as a switch, thereby triggering a preset high level signal.
[0179] Step S20: outputting an angle control signal corresponding to the target mode according to the preset high-level signal.
[0180] It should be noted that the angle control signal may be a control signal for controlling the opening and closing angle of the electric flap.
[0181] In a specific implementation, when the above-mentioned circuit is turned on, the control device triggers the angle control signal corresponding to the target mode according to the above-mentioned preset high-level signal received. For example, if the target mode is the open mode, the angle control signal corresponding to the open mode can be output to control the electric cover to be in the open mode.
[0182] Step S30: adjusting the opening and closing angle of the electric flap according to the angle control signal.
[0183] In a specific implementation, the control device can adjust the opening and closing angle of the electric cover to the angle corresponding to the target mode through the above-mentioned angle control signal. For example, if the target mode is the open mode, the opening and closing angle of the electric cover can be adjusted to the angle corresponding to the open mode through the above-mentioned angle control signal.
[0184] This embodiment triggers a preset high-level signal upon receiving a target mode trigger signal, outputs an angle control signal corresponding to the target mode based on the preset high-level signal, and adjusts the opening and closing angle of the power flap based on the angle control signal. Because this embodiment outputs an angle control signal corresponding to the target mode based on the received target mode trigger signal and adjusts the opening and closing angle of the power flap based on the angle control signal, compared to the prior art method of manually pressing to open or close the charging and fuel filler flap, this embodiment's power flap angle control method achieves intelligent control and improves the user experience.
[0185] Other embodiments or specific implementations of the electric flap angle control method of the present invention can refer to the above-mentioned method embodiments and will not be described in detail here.
[0186] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0187] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0188] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0189] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An electric flap angle control circuit, characterized in that: The electric flap angle control circuit includes: a mode switching module, a main control module and a flap motor module; The main control module is connected to the mode switching module and the cover motor module respectively; The mode switching module is configured to connect the circuit with the main control module and output a preset high-level signal to the main control module upon receiving a target mode trigger signal; The main control module is configured to output an angle control signal corresponding to a target mode to the flap motor module according to the received preset high-level signal when the loop is turned on; The flap motor module is used to adjust the opening and closing angle of the electric flap according to the angle control signal; The mode switching module includes: an open mode switch, a close mode switch and a hold mode switch; A first end of the open mode switch is connected to the main control module, and a second end of the open mode switch is grounded; A first end of the off-mode switch is connected to the main control module, and a second end of the off-mode switch is grounded; A first end of the holding mode switch is connected to the main control module, and a second end of the holding mode switch is grounded; The electric flap angle control circuit further includes: a communication module; The communication module is connected to the main control module and the cover motor module respectively; The main control module is further configured to output an angle trigger signal corresponding to the target mode to the communication module according to the received preset high-level signal when the loop is turned on; The communication module is configured to output an angle control signal to the flap motor module based on the angle trigger signal; The main control module includes: a main control chip, a first resistor, a second resistor, a first capacitor, a second capacitor, a third capacitor, and a first crystal oscillator; The working positive voltage pin of the main control chip is connected to the first power supply; The working negative voltage pin of the main control chip is grounded; The battery working mode pin of the main control chip is connected to the first end of the first resistor, the second end of the first resistor is connected to the first power supply and the first end of the first capacitor respectively, and the second end of the first capacitor is grounded; The external crystal oscillator input pin of the main control chip is connected to the first end of the first crystal oscillator, and the second end of the first crystal oscillator is grounded; The external crystal oscillator output pin of the main control chip is connected to the third end of the first crystal oscillator; The reference negative voltage pin of the main control chip is grounded; The analog working positive voltage pin of the main control chip is respectively connected to the first end of the second capacitor, the first end of the third capacitor and the first end of the second resistor, the second end of the second capacitor and the second end of the third capacitor are grounded, and the second end of the second resistor is connected to the first power supply; The analog working negative voltage pin of the main control chip is grounded; The open mode pin of the main control chip is connected to the first end of the open mode switch; The shutdown mode pin of the main control chip is connected to the first end of the shutdown mode switch; The hold mode pin of the main control chip is connected to the first end of the hold mode switch; The first data sending pin of the main control chip is connected to the communication module; The second data sending pin of the main control chip is connected to the communication module; The first data receiving pin of the main control chip is connected to the communication module.
2. The electric flap angle control circuit according to claim 1, characterized in that: The communication module includes: a transceiver chip, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a fourth capacitor, a first diode and a first switch button; The data receiving pin of the transceiver chip is respectively connected to the first end of the third resistor and the first end of the fourth resistor, the second end of the third resistor is connected to the first data sending pin of the main control chip, and the second end of the fourth resistor is connected to the second data sending pin of the main control chip; The sleep control pin of the transceiver chip is connected to the second power supply; The local wake-up input pin of the transceiver chip is connected to the first end of the fifth resistor, the second end of the fifth resistor is connected to the first end of the sixth resistor and the first end of the first switch button respectively, the second end of the sixth resistor is connected to the third power supply, and the second end of the first switch button is grounded; The first data sending pin of the transceiver chip is connected to the first data receiving pin of the main control chip; The voltage adjustment pin of the transceiver chip is connected to the anode of the first diode, the cathode of the first diode is connected to the first end of the seventh resistor, and the second end of the seventh resistor is connected to the serial communication pin of the transceiver chip; The power pins of the transceiver chip are respectively connected to the third power supply and the power pins of the cover motor module; The serial communication pin of the transceiver chip is respectively connected to the first end of the fourth capacitor and the serial communication pin of the flap motor module, and the second end of the fourth capacitor is grounded; The ground pin of the transceiver chip is grounded.
3. The electric flap angle control circuit according to claim 1, wherein: The mode switching module is further configured to connect a preset open mode loop with the main control module and output a preset high level signal to the main control module when receiving a target mode trigger signal that is an open mode trigger signal; The main control module is further configured to output a preset opening and closing angle trigger signal corresponding to the target mode to the communication module according to the received preset high-level signal when the preset opening mode circuit is turned on; The communication module is configured to output a preset opening and closing angle control signal to the flap motor module based on the preset opening and closing angle trigger signal; The flap motor module is further configured to adjust the opening and closing angle of the electric flap to a preset opening and closing angle through the preset opening and closing angle control signal.
4. The electric flap angle control circuit according to claim 1, wherein: The mode switching module is further configured to connect a preset off-mode loop with the main control module and output a preset high-level signal to the main control module when receiving a target mode trigger signal that is an off-mode trigger signal; The main control module is further configured to output a closing angle trigger signal corresponding to the target mode to the communication module according to the received preset high-level signal when the preset closing mode loop is turned on; The communication module is configured to output a closing angle control signal to the flap motor module based on the closing angle trigger signal; The flap motor module is further configured to adjust the opening and closing angle of the electric flap to a closing angle through the closing angle control signal.
5. The electric flap angle control circuit according to claim 1, characterized in that: The mode switching module is further configured to connect a preset hold mode loop with the main control module and output a preset high level signal to the main control module when receiving a hold mode trigger signal as the target mode trigger signal; The main control module is further configured to output a preset holding angle trigger signal corresponding to the target mode to the communication module according to the received preset high-level signal when the preset holding mode loop is turned on; The communication module is configured to output a preset holding angle control signal to the flap motor module based on the preset holding angle trigger signal; The flap motor module is further configured to maintain the opening and closing angle of the electric flap at a preset holding angle through the preset holding angle control signal.
6. The electric flap angle control circuit according to claim 1 or 2, characterized in that: The electric flap angle control circuit further includes: a display module; The display module is connected to the main control module; The flap motor module is further configured to trigger an angle change signal based on a change in the opening and closing angle, and output the angle change signal to the communication module; The communication module is further configured to output an angle display trigger signal to the main control module based on the received angle change signal; The main control module is further configured to output an angle display signal to the display module via the angle display trigger signal; The display module is used to display the opening and closing angle in the changing process through the angle display signal; The display module is further used to display the number of times the opening and closing angle changes from a preset opening and closing angle to a closed angle.
7. A method for controlling an electric flap angle based on the electric flap angle control circuit according to any one of claims 1 to 6, characterized in that: The electric flap angle control method comprises the following steps: When receiving the target mode trigger signal, trigger the preset high level signal; An angle control signal corresponding to the target mode is output according to the preset high-level signal; and the opening and closing angle of the electric flap is adjusted by the angle control signal.
Citation Information
Patent Citations
Charging cover control method of electric vehicle,equipment and electric vehicle
CN113086025A