Control method and device of covering cap motor, vehicle, computer medium and product
By introducing two working state control methods of command drive into the cover motor, the problems of insulating layer aging and shortening of service life caused by excessive temperature of the cover motor are solved, and effective thermal protection of the counter cover motor is achieved.
Patent Information
- Application Number
- CN202411745123.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-11-28
AI Technical Summary
When the cover motor is overloaded or operated for a long time, the temperature is too high, causing the insulating layer material to age, reduce the insulation performance, affect the service life, and even lead to ablation.
By controlling the cover motor under command drive, it is avoided in the operating state under unnecessary circumstances, thereby reducing unnecessary heat generation. The specific method includes entering the first working state in response to the first instruction and entering the second working state in response to the second instruction, and the second working state is a sleep, standby or stop state.
It effectively avoids unnecessary heat generated by the cover motor when it is not necessary, extends the service life, prevents ablation, and improves the thermal protection effect of the system.
Smart Images

Figure CN119813892A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of thermal protection technology, and more specifically, to a control method for a flap motor, an electronic device, a vehicle, a computer-readable storage medium, and a computer program product. Background Art
[0002] The flap motor can be used to drive the components to move to achieve the corresponding functions. When the flap motor is overloaded or works for a long time, it will cause the temperature to be too high, accelerate the aging of the flap motor coil insulation material, reduce the insulation performance, affect the flap motor service life, and in severe cases, cause the flap motor to burn.
[0003] In the related art, how to perform thermal protection on the flap motor to avoid overheating is an urgent problem to be solved. Summary of the invention
[0004] The present application provides a control method for a flap motor, an electronic device, a vehicle, a computer-readable storage medium, and a computer program product.
[0005] The present application provides a method for controlling a flap motor, the method comprising:
[0006] In response to a first instruction, controlling the flap motor to be in a first working state;
[0007] In response to the second instruction, the flap motor is controlled to be in a second working state, wherein, when in the first working state, the flap motor is in a running state, and the second working state is different from the first working state.
[0008] In this way, in the control method, electronic device, vehicle, computer-readable storage medium and computer program product of the embodiments of the present application, the flap motor can be controlled to be in two working states under instruction drive to avoid the flap motor being in operation when not necessary and to avoid the flap motor generating unnecessary heat, thereby achieving thermal protection of the flap motor.
[0009] In some embodiments, in response to the first instruction, controlling the flap motor to be in the first working state includes:
[0010] receiving the first instruction, responding to the first instruction, and controlling the flap motor to perform a working task;
[0011] The step of responding to the second instruction and controlling the flap motor to be in the second working state comprises:
[0012] The second instruction is received, and in response to the second instruction, the flap motor is controlled to stop executing a working task.
[0013] In this way, the locking motor is controlled to work only when it is needed to work to perform the work task. After the locking motor completes the work task, it stops working under the control of the second instruction to avoid the locking motor being in a driving state when it is not necessary and avoid the locking motor generating unnecessary heat, thereby achieving thermal protection for the locking motor.
[0014] In some embodiments, the control method further comprises:
[0015] When the first instruction and the second instruction are received simultaneously, or when the flap motor is performing a work task and receives the second instruction, the flap motor is controlled to perform the work task.
[0016] In this way, when the first instruction is received and the second instruction is received, or when the flap motor is performing a work task and the second instruction is received, the second instruction is not executed to ensure that the flap motor performs the work task first.
[0017] In some embodiments, the control method further comprises:
[0018] When the flap motor that performs a work task completes the work task, a second instruction is received; in response to the second instruction, the flap motor is controlled to be in a stopped state.
[0019] In this way, when the flap motor has completed its working task, the second instruction can be executed to control the flap motor to stop working to achieve thermal protection.
[0020] In some embodiments, the interval between the reception time of the second instruction and the reception time of the first instruction is greater than the work task time, and the work task time is the time for the flap motor to complete the work task corresponding to the first instruction.
[0021] In this way, by ensuring that the reception time of the first instruction and the reception time of the second instruction are greater than or equal to the work task time, it can be ensured that the flap motor has completed its work when the second instruction is received, thereby controlling the flap motor to stop working during the unnecessary working time after each completion of the work task.
[0022] In some embodiments, controlling the flap motor to stop performing a working task includes:
[0023] The preset power source is controlled to stop supplying power to the flap motor, so as to control the flap motor to stop performing a working task.
[0024] In some embodiments, controlling the flap motor to perform a work task includes:
[0025] The preset power source is controlled to supply power to the flap motor, so as to control the flap motor to perform a working task.
[0026] In this way, by controlling whether the preset power supply is supplied, the driving of the flap motor is controlled, thereby controlling the flap motor to stop working, and the implementation method is simple.
[0027] In some embodiments, the control method further comprises:
[0028] In response to the third instruction, the secondary control cover motor is in the second working state, and the interval between the receiving time of the third instruction and the receiving time of the second instruction is a preset time.
[0029] In this way, by issuing the third sub-instruction after the second instruction is issued for a preset time, and controlling the flap motor to stop working for a second time according to the third instruction, it can be further ensured that the flap motor does not work during non-working hours.
[0030] In some embodiments, when the flap motor is in the first working state, the flap motor is configured to move the locking member to a preset position to lock the flap.
[0031] In this way, by controlling the cover motor to move the locking member to a preset position to perform primary locking of the cover, the cover can be prevented from being accidentally opened at unnecessary times to protect the charging port or the fuel filler port.
[0032] An embodiment of the present application provides an electronic device, which includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method in any of the above embodiments are implemented.
[0033] An embodiment of the present application provides a vehicle, which includes the electronic device as described in the above embodiment.
[0034] In certain embodiments, the vehicle further comprises a flap and a flap motor, and when the vehicle is locked, the flap motor is configured to move a locking member to a preset position to lock the flap.
[0035] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the steps of the method of any of the above embodiments are implemented.
[0036] An embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of any of the above embodiments are implemented.
[0037] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0039] Figure 1 It is one of the flow charts of the control method of certain embodiments of the present application;
[0040] Figure 2 This is the second flow chart of the control method of certain embodiments of the present application;
[0041] Figure 3 This is the third flow chart of the control method of certain embodiments of the present application;
[0042] Figure 4 This is the fourth flow chart of the control method of certain embodiments of the present application;
[0043] Figure 5 This is the fifth flow chart of the control method of certain embodiments of the present application;
[0044] Figure 6 This is the sixth flow chart of the control method of certain embodiments of the present application. DETAILED DESCRIPTION
[0045] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0046] In the flap system, the flap motor can be used to drive the lock tongue to move to achieve the locking function. When the flap motor is overloaded or works for a long time, it will cause the temperature to be too high, accelerate the aging of the flap motor coil insulation material, reduce the insulation performance, affect the flap motor service life, and in severe cases, cause the flap motor to burn.
[0047] In the related art, how to perform thermal protection on the flap motor to avoid overheating is an urgent problem to be solved.
[0048] Based on the above unresolved issues, please refer to Figure 1 The present application provides a method for controlling a flap motor, the method comprising:
[0049] 01: respond to the first instruction and control the cover motor to be in the first working state;
[0050] 02: In response to the second instruction, the flap motor is controlled to be in a second working state, wherein, when in the first working state, the flap motor is in a running state, and the second working state is different from the first working state.
[0051] The embodiment of the present application provides an electronic device, the electronic device includes one or more processors and a memory, the memory stores a computer program, and the computer program can be executed by the processor. The processor can be used to control the locking motor to work according to a first instruction to perform a work task; and to control the locking motor to stop working according to a second instruction.
[0052] The embodiment of the present application provides a control device, which includes a first control module and a second control module. The first control module can be used to respond to a first instruction to control the flap motor to be in a first working state; the second control module can be used to respond to a second instruction to control the flap motor to be in a second working state.
[0053] Specifically, the vehicle includes a flap system, which includes a flap, a mechanical opening and closing assembly, a controller, and an actuator. The actuator includes a flap motor. The flap assembly includes a charging port cover, a fuel filler cap, etc., which are used to cover the charging port or the fuel filler cap. The mechanical opening and closing assembly is used to control the opening and closing of the flap. For example, the mechanical opening and closing assembly can be mechanically unlocked by pressing to open and close the flap.
[0054] In some embodiments, when the flap motor is in the first working state, the flap motor is configured to move the locking member to a preset position to lock the flap. When the flap motor drives the locking member to move to the preset position, the locking member can fix the flap to electrically lock the flap (primary locking). When the flap is in the primary locking state, the user cannot open the flap through the mechanical opening and closing assembly. By controlling the flap motor to perform the primary locking of the flap, the flap can be prevented from being accidentally opened during unnecessary time to protect the charging port or the fuel port.
[0055] The flap motor includes a DC permanent magnet brushed motor belonging to a micro motor. The preset position is a position pre-set in the flap system, which may include a slot, a groove, etc. After the locking member reaches the preset position, the flap is in a first-level locking state.
[0056] In the related art, a thermal protection scheme for the flap motor can avoid damage caused by excessive temperature of the flap motor. The thermal protection scheme includes controlling the operation of the flap motor through temperature changes. For example, after the temperature of the flap motor exceeds the upper threshold, the flap motor is controlled to stop working, and when the temperature of the flap motor drops to the lower threshold, the flap motor is controlled to resume working. However, before the flap motor temperature is too high and enters the thermal protection state, there may have been local overheating, which affects the life of the flap motor. In addition, after the flap motor enters the thermal protection state, the flap motor is in a stopped state until it exits the thermal protection state and cannot perform work tasks. For example, when the flap motor temporarily fails, the flap cannot be opened or closed by pressing, that is, the user's expected function cannot be achieved, affecting the user experience.
[0057] After receiving the first instruction, the embodiment of the present application controls the flap motor to be in the first working state, and after receiving the second instruction, controls the flap motor to be in the second working state, thereby controlling whether the flap motor is running or not. Moreover, when in the first working state, the flap motor is controlled to run to perform the work task. When the flap motor is in the second working state, it does not work, so that the flap motor does not work during non-working hours to avoid unnecessary heat generation, thereby achieving thermal protection of the flap motor from the heat generation level. There is no need to wait for the temperature of the flap motor to rise to the upper temperature threshold before controlling the flap motor to stop working, thereby avoiding local overheating of the flap motor that affects the life of the flap motor.
[0058] The first working state refers to the flap motor being in a running working state, and the second working state includes a sleeping state, a standby state or a stopped working state. The heat generated when the flap motor is in the second working state is less than the heat generated when it is in the first working state.
[0059] The implementation method of the present application does not require the addition or modification of the actuator hardware. Thermal protection of the flap motor is achieved by modifying the domain control logic. The implementation method is simple, the development time is short and the cost is low. It can be directly switched based on the original flap system, which is more convenient and efficient.
[0060] In this way, in the control method, electronic device, vehicle, computer-readable storage medium and computer program product of the embodiments of the present application, the flap motor can be controlled to be in two working states under instruction drive to avoid the flap motor being in operation when not necessary and to avoid the flap motor generating unnecessary heat, thereby achieving thermal protection of the flap motor.
[0061] See also Figure 2 In some embodiments, step 01, in response to a first instruction, controlling the cover motor to be in a first working state includes:
[0062] 011: receiving the first instruction, responding to the first instruction, and controlling the cover motor to perform a working task;
[0063] Step 02, in response to the second instruction, controlling the cover motor to be in the second working state, including:
[0064] 021: Receive the second instruction, respond to the second instruction, and control the cover motor to stop executing the working task.
[0065] In some embodiments, the processor can be used to receive a first instruction, and in response to the first instruction, control the flap motor to perform a work task; and to receive a second instruction, and in response to the second instruction, control the flap motor to stop performing the work task.
[0066] In some embodiments, the first control module includes a first control submodule, and the second control module includes a second control submodule. The first control submodule can be used to receive a first instruction, and in response to the first instruction, control the flap motor to perform a work task. The second control submodule can be used to receive a second instruction, and in response to the second instruction, control the flap motor to stop performing a work task.
[0067] Specifically, the working tasks of the flap motor include an unlocking task and a locking task, which are collectively referred to as an unlocking task in the following text. The controller is used to control the flap motor to perform related working tasks.
[0068] When receiving the first instruction, the controller controls the locking motor to work to perform the work task and realize the unlocking function. For example, when the first instruction indicates that unlocking is required, the controller controls the locking motor to work to perform the unlocking function. Alternatively, when the first instruction indicates that locking is required, the controller controls the locking motor to work to perform the locking function.
[0069] After the locking motor completes the unlocking task, the controller sends a second command to control the locking motor to stop working, thereby preventing the locking motor from idling during abnormal working hours, resulting in unnecessary heat generation for a long time, and eventually causing the locking motor to rise in temperature and cause damage, and in severe cases, may cause motor ablation.
[0070] In this way, the locking motor is controlled to work only when it is needed to work to perform the work task. After the locking motor completes the work task, it stops working under the control of the second instruction to avoid the locking motor being in a driving state when it is not necessary and avoid the locking motor generating unnecessary heat, thereby achieving thermal protection for the locking motor.
[0071] See also Figure 3 In some embodiments, the control method further comprises:
[0072] 03: When the first instruction and the second instruction are received simultaneously, or when the flap motor is performing a working task and the second instruction is received, the flap motor is controlled to perform the working task.
[0073] In some embodiments, the processor may be configured to control the flap motor to perform a work task when the first instruction and the second instruction are received simultaneously, or when the flap motor is performing a work task and the second instruction is received.
[0074] In some embodiments, the control device further comprises a third control module. The third control module can be used to control the flap motor to perform the work task when the first instruction and the second instruction are received simultaneously, or when the flap motor is performing the work task and the second instruction is received.
[0075] Specifically, when the second instruction is received, it is necessary to determine whether the first instruction is received at the same time. In other words, the execution of the second instruction is determined based on the reception of the first instruction. It should be noted that the second instruction received at this time is associated with the previous first instruction, while the first instruction here is a new first instruction and has no connection with the second instruction received at this time.
[0076] The first instruction refers to an instruction for instructing the flap motor to perform another work task, and the first instruction and the previous first instruction are two instructions issued at different times.
[0077] When the second instruction and the first instruction are received at the same time, the second instruction is not executed, and the first instruction is executed to control the flap motor to operate so as to perform the work task corresponding to the new first instruction.
[0078] That is to say, the priority of the first instruction is higher than the priority of the second instruction, so that the flap motor can perform the work task first to meet the requirements of unlocking or locking.
[0079] When the flap motor is performing a working task, in order to prevent the flap motor from suddenly stopping working and causing the working task to be unfinished, even if the second instruction is received at this time, the second instruction is not executed, and the flap motor is still controlled to continue to perform the working task.
[0080] In this way, when the first instruction is received and the second instruction is received, or when the flap motor is performing a work task and the second instruction is received, the second instruction is not executed to ensure that the flap motor performs the work task first.
[0081] See also Figure 4 In some embodiments, the control method further comprises:
[0082] 04: When the flap motor that performs the work task completes the work task, a second instruction is received, and in response to the second instruction, the flap motor is controlled to be in a stopped state.
[0083] In some embodiments, the processor may be configured to receive a second instruction when the flap motor that performs a work task completes the work task; and in response to the second instruction, control the flap motor to be in a stopped state.
[0084] In some embodiments, the control device further includes a fourth control module. The fourth control module can be used to receive a second instruction when the flap motor performing the work task completes the work task; in response to the second instruction, control the flap motor to be in a stopped state.
[0085] Specifically, when the second instruction is received but the first instruction is not received, there is no indication of work required at this time, and the flap motor has completed the work task indicated by the previous first instruction, then the controller executes the second instruction to control the flap motor to stop working, so as to avoid the flap motor continuing to work during non-working hours and causing heat generation, thereby achieving thermal protection of the flap motor.
[0086] In the case where the second instruction is received but the first instruction is not received, it can be understood that no new first instruction is received within a period of time before and after the second instruction is received.
[0087] It should be noted that, when the flap motor completes its work task, the flap motor may still be in operation. Therefore, it is necessary to control the flap motor to stop running under the drive of the second instruction to achieve thermal protection.
[0088] In this way, when the flap motor has completed its working task, the second instruction can be executed to control the flap motor to stop working to achieve thermal protection.
[0089] In some embodiments, the interval between the time of receiving the second instruction and the time of receiving the first instruction is greater than the work task time, and the work task time is the time for the flap motor to complete the work task corresponding to the first instruction.
[0090] Specifically, since the interval between the receiving time of the second instruction and the receiving time of the first instruction is greater than or equal to the task time, that is, greater than or equal to the time required to complete the task, when the second instruction is issued, it can be considered that the flap motor has completed the task. When the second instruction is received, the flap motor has completed the task, and the flap motor can be controlled to stop working and be in a stopped state.
[0091] Furthermore, the second instruction is sent by the application layer of the controller and received by the bottom layer of the controller.
[0092] In some embodiments, the time interval between the issuance time of the second instruction and the issuance time of the first instruction is a first preset time length. That is, the second instruction is issued after the first instruction is issued for the first preset time length. The time interval between the issuance time of the second instruction and the issuance time of the first instruction is the first preset time length, which can make the difference between the reception time of the second instruction and the first instruction also be the first preset time length.
[0093] The first preset duration is a preset time value, which is determined according to the duration of the flap motor to normally complete the working task. The first preset duration can be 500ms, 530ms, 550ms, 580ms, 600ms, etc., which can be set according to actual needs and is not limited here.
[0094] In one embodiment, the time required to complete the work task ranges from 300ms to 500ms, and the interval between the receiving time of the second instruction and the receiving time of the first instruction is set to 500ms, so that after the flap motor completes the work task, the flap motor is controlled to stop working.
[0095] In another embodiment, the controller receives the first instruction, controls the flap motor to be in a running state, and performs an unlocking task, that is, controls the flap motor to move the locking member away from the preset position to unlock the flap. 500ms after receiving the first instruction, the controller receives the second instruction and the new first instruction at the same time, and the new first instruction instructs the flap motor to perform a locking task, that is, controls the flap motor to move the locking member to the preset position to lock the flap. The controller does not respond to the second instruction, but responds to the new first instruction, controls the flap motor to continue to be in a running state, and performs the locking task.
[0096] By limiting the first preset time, the controller does not need to detect the execution status of the second instruction, that is, it does not need to detect whether the flap motor does not execute the second instruction because it receives the first instruction and the second instruction at the same time. The controller only needs to issue the second instruction after the first preset time each time the first instruction is issued, so that the flap motor can be controlled to stop working after each time the flap motor completes the work task, so that the flap motor is only in the working state during the normal working hours, avoiding unnecessary heat generation and realizing thermal protection of the flap motor.
[0097] In this way, by ensuring that the reception time of the first instruction and the reception time of the second instruction are greater than or equal to the work task time, it can be ensured that the flap motor has completed its work when the second instruction is received, thereby controlling the flap motor to stop working during the unnecessary working time after each completion of the work task.
[0098] See also Figure 5In some embodiments, step 011, controlling the flap motor to perform a work task, includes:
[0099] 0111: Control the preset power supply to supply power to the cover motor to control the cover motor to perform work tasks.
[0100] In some embodiments, the processor can be used to control a preset power source to supply power to the flap motor to control the flap motor to perform a working task.
[0101] In some embodiments, the first control submodule includes a first control unit, which can be used to control a preset power source to supply power to the flap motor so as to control the flap motor to perform a working task.
[0102] In some embodiments, step 021, controlling the flap motor to stop performing a working task, includes:
[0103] 0211: Control the preset power supply to stop supplying power to the cover motor, so as to control the cover motor to stop performing the working task.
[0104] In some embodiments, the processor can be used to control a preset power source to stop supplying power to the flap motor, so as to control the flap motor to stop performing a working task.
[0105] In some embodiments, the second control submodule includes a second control unit, and the second control unit can be used to control a preset power source to stop supplying power to the flap motor, so as to control the flap motor to stop performing a working task.
[0106] Specifically, when the first instruction is received, in response to the first instruction, the flap motor can be controlled to operate by controlling a preset power supply to power the flap motor, so that the flap motor is in a first working state, that is, in an operating state, to perform a working task.
[0107] When the second instruction is received, in response to the second instruction, the preset power supply can be controlled to stop supplying power to the flap motor, and the flap motor can be controlled to stop working, thereby achieving control of the working state of the flap motor, so that the flap motor is in the second working state.
[0108] In the related art, a working instruction is sent to a preset power source to control the preset power source to supply power to the mouth cover motor, thereby controlling the mouth cover motor to work. The working instruction includes a preset working time, and the preset working time is used to control the preset power source to supply power within the preset working time. However, according to actual experiments, it is found that the preset power source cannot stop supplying power when the preset working time is reached, resulting in the preset power source continuously supplying power to the mouth cover motor, causing the mouth cover motor to continue to idle.
[0109] In the embodiment of the present application, the preset power supply is controlled by setting the second instruction to stop supplying power to the mouth cover motor, and the preset power supply is controlled to stop supplying power, thereby stopping the driving of the mouth cover motor. The operation of the mouth cover motor is fundamentally stopped, and unnecessary heat generation of the mouth cover motor is avoided, thereby achieving thermal protection of the mouth cover motor from the source of heat generation.
[0110] In this way, by controlling whether the preset power supply is supplied, the driving of the flap motor is controlled, thereby controlling the flap motor to stop working, and the implementation method is simple.
[0111] See also Figure 6 In some embodiments, the control method further comprises:
[0112] 05: In response to the third instruction, the secondary control cover motor is in the second working state, and the interval between the receiving time of the third instruction and the receiving time of the second instruction is the preset time.
[0113] In some embodiments, the processor may be configured to respond to a third instruction and secondarily control the cover motor to be in a second working state.
[0114] In some embodiments, the control device further comprises a fifth control module. The fifth control module can be used to respond to the third instruction and secondarily control the cover motor to be in the second working state.
[0115] Specifically, the third instruction is used to control the flap motor to stop working. The third instruction is issued after a preset time from the issuance time of the second instruction to ensure that the flap motor is controlled to stop working for the second time, thereby further ensuring that the flap motor is not in a working state during non-working hours. It should be noted that there may be a situation where the flap motor is still in a working state after receiving the second instruction, so the third instruction is set to perform secondary control on the flap motor to ensure that the flap motor is in a stopped state and does not work during non-working hours.
[0116] The preset duration is a preset duration value, which is set according to actual needs. For example, the preset duration includes 800ms, 900ms, 1s, 1.1s, etc.
[0117] In some implementations, after the second instruction is issued, if a new first instruction is issued, the third instruction is no longer issued.
[0118] In some embodiments, when the controller receives the first instruction and the third instruction at the same time, or receives the third instruction when the flap motor is performing a work task, the controller does not respond to the third instruction and controls the flap motor to perform the work task. In other words, the priority of the first instruction is higher than the priority of the third instruction.
[0119] In some embodiments, the second instruction and the third instruction are sent to the application layer of the controller, and the receiving object is the bottom layer of the controller. In addition, the second instruction and the third instruction can also be sent by the vehicle system or other control system, which is not limited here.
[0120] In one embodiment, the controller receives a first instruction and controls the preset power supply to supply power to the flap motor, so that the flap motor is in operation, thereby controlling the flap motor to perform the locking task. 500ms after issuing the first instruction, the controller receives a second instruction, and responds to the second instruction to control the preset power supply to stop supplying power to the flap motor, so that the flap motor stops working. 1s after receiving the second instruction, the controller receives a third instruction and controls the preset power supply to stop supplying power to the flap motor for a second time, so that the flap motor stops working for a second time.
[0121] In this way, by issuing the third sub-instruction after the second instruction is issued for a preset time, and controlling the flap motor to stop working for a second time according to the third instruction, it can be further ensured that the flap motor does not work during non-working hours.
[0122] An embodiment of the present application provides a vehicle, and the vehicle includes the electronic device as described in the above embodiment.
[0123] In certain embodiments, the vehicle further comprises a flap and a flap motor, and when the vehicle is locked, the flap motor is configured to move the locking member to a preset position to lock the flap.
[0124] The explanation of the control method of the above-mentioned implementation mode of the present application is also applicable to the vehicle of the implementation mode of the present application and will not be repeated here.
[0125] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the method of any of the above embodiments are implemented.
[0126] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of any of the above embodiments when the computer program is executed by a processor.
[0127] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.
[0128] In addition, the term "connection" should be understood in a broad sense, for example, it can include fixed connection, detachable connection, or integral connection; it can include direct connection, indirect connection through an intermediate medium, and internal communication between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0129] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0130] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0131] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for controlling a flap motor, characterized in that: The control method comprises: In response to a first instruction, controlling the flap motor to be in a first working state; In response to the second instruction, the flap motor is controlled to be in a second working state, wherein, when in the first working state, the flap motor is in a running state, and the second working state is different from the first working state.
2. The control method according to claim 1, characterized in that: The step of responding to the first instruction and controlling the flap motor to be in the first working state comprises: receiving the first instruction, responding to the first instruction, and controlling the flap motor to perform a working task; The step of responding to the second instruction and controlling the flap motor to be in the second working state comprises: The second instruction is received, and in response to the second instruction, the flap motor is controlled to stop executing the working task.
3. The control method according to claim 2, characterized in that: The control method further comprises: When the first instruction and the second instruction are received simultaneously, or when the flap motor is performing a work task and receives the second instruction, the flap motor is controlled to perform the work task.
4. The control method according to claim 2, characterized in that: The control method further comprises: When the flap motor that performs a work task completes the work task, a second instruction is received; in response to the second instruction, the flap motor is controlled to be in a stopped state.
5. The control method according to claim 4, characterized in that: The interval between the receiving time of the second instruction and the receiving time of the first instruction is greater than the work task time, and the work task time is the time for the flap motor to complete the work task corresponding to the first instruction.
6. The control method according to claim 2, characterized in that: The controlling the cover motor to stop performing the working task comprises: The preset power source is controlled to stop supplying power to the flap motor, so as to control the flap motor to stop performing a working task.
7. The control method according to claim 2, characterized in that: The controlling the cover motor to perform a working task comprises: The preset power source is controlled to supply power to the flap motor, so as to control the flap motor to perform a working task.
8. The control method according to claim 1, characterized in that: The control method further comprises: In response to the third instruction, the secondary control cover motor is in the second working state, and the interval between the receiving time of the third instruction and the receiving time of the second instruction is a preset time.
9. The control method according to any one of claims 1 to 8, characterized in that: The control method further comprises: When the flap motor is in the first working state, the flap motor is configured to move the locking member to a preset position to lock the flap.
10. An electronic device, characterized in that: The electronic device includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 9 are implemented.
11. A vehicle, characterized in that: The vehicle includes the electronic device as claimed in claim 10.
12. The vehicle according to claim 11, characterized in that The vehicle further comprises a flap and a flap motor. When the vehicle is locked, the flap motor is configured to move a locking member to a preset position to lock the flap.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Automobile charging port cover control method, device and system and electric automobile
CN112373582A
Control system and method of charging cover plate
CN117227853A
Electric charging port cover and control system thereof
CN208993787U