Control method and device of electric door handle, vehicle and storage medium
By repeatedly obtaining Hall travel update reference values, the control accuracy problem of Hall motor-type electric door handles on different vehicles was solved, achieving higher control precision and compatibility, and avoiding damage to the electric door handles.
Patent Information
- Application Number
- CN202510183953.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2045-02-18
AI Technical Summary
When Hall effect motor-type electric door handles are installed on different vehicles, the maximum Hall effect travel may vary, resulting in insufficient control accuracy and affecting the normal opening and retraction of the electric door handle.
By repeatedly obtaining the maximum Hall effect travel of the electric door handle, the reference Hall effect travel is updated to ensure the accuracy of controlling the opening of the electric door handle. The reference Hall effect travel is determined using an average value or weighted method, and an abnormal prompt message is output when necessary.
It improves the control accuracy of electric door handles, avoids damage caused by errors, and enhances compatibility and reliability.
Smart Images

Figure CN119981554B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, and more particularly, to a control method and device of an electric door handle, a vehicle and a storage medium. BACKGROUND
[0002] The electric door handle of an automobile is different from the traditional door handle, the surface of which is consistent with the waist line of the automobile, visually making the lines of the automobile body more simple and smooth, and to some extent, also playing a role in reducing wind resistance. The electric door handle can be automatically unfolded and retracted under the control of the electric control system of the automobile body, which is very scientific and also convenient for users to use.
[0003] There are mainly two types of electric door handles on the market, one is a micro switch type, and the other is a Hall motor type. The micro switch type is to embed a micro switch in the door handle mechanism, and to determine whether the door handle is unfolded or retracted to the position through the triggering of the switch signal. The Hall motor type is to identify the number of turns of the motor through a Hall sensor, so as to know the position of the electric door handle, and then compare it with the designed position of the electric door handle, so as to know whether the electric door handle is unfolded or retracted to the position. Since the Hall motor type door handle does not need to arrange a switch on the handle mechanism, it reduces the cost and also reduces the requirement for the arrangement of the internal mechanism of the electric door handle, so the Hall motor type door handle has gradually replaced the micro switch type hidden door handle.
[0004] Since the Hall motor type door handle needs to know the maximum Hall stroke of the motor of the electric door handle to make a position comparison when being controlled, and the unfolding Hall stroke of the electric door handle is determined according to the maximum Hall stroke, in the related technology, the maximum Hall stroke is set to control the unfolding of the electric door handle. However, even if the same type of electric door handle is installed on different vehicles, the maximum Hall stroke may be different, so there is a problem of insufficient accuracy when the maximum Hall stroke is set to control the electric door handle. SUMMARY
[0005] In view of the above problems, the present application provides a control method and device of an electric door handle, a vehicle and a storage medium.
[0006] In a first aspect, an embodiment of the present application provides a control method of an electric door handle, the method comprising: acquiring an unfolding instruction for an electric door handle of a vehicle; in response to the unfolding instruction, controlling the electric door handle to unfold based on a currently recorded reference Hall stroke corresponding to the electric door handle, the reference Hall stroke being recorded after being updated according to an acquired maximum Hall stroke of the electric door handle, the maximum Hall stroke being a Hall stroke of the electric door handle detected when the position of the electric door handle does not change during the process of driving the electric door handle to unfold.
[0007] In an alternative embodiment, before the step of obtaining the deployment instruction for the electric door handle of the vehicle, the method further comprises: updating the recorded reference Hall stroke according to the maximum Hall strokes recorded for the plurality of electric door handles of the vehicle, and recording the updated reference Hall stroke.
[0008] In an alternative embodiment, before the step of updating the recorded reference Hall stroke according to the maximum Hall strokes recorded for the plurality of electric door handles of the vehicle, and recording the updated reference Hall stroke, the method further comprises: detecting the maximum Hall strokes for the plurality of electric door handles; obtaining an average value of the maximum Hall strokes of the plurality of electric door handles as a current average value; obtaining a difference between the maximum Hall stroke of each electric door handle and the current average value as a first difference value corresponding to each electric door handle; if the first difference value corresponding to each electric door handle is less than or equal to a first preset difference value, recording the maximum Hall strokes of the plurality of electric door handles obtained at this time; if the first difference value corresponding to any electric door handle is greater than the first preset difference value, discarding the maximum Hall strokes of the plurality of electric door handles obtained at this time; returning to the step of obtaining the maximum Hall strokes of the plurality of electric door handles until the maximum Hall strokes of the plurality of electric door handles obtained at multiple times are recorded.
[0009] In an alternative embodiment, the step of updating the recorded reference Hall stroke according to the maximum Hall strokes recorded for the plurality of electric door handles of the vehicle, and recording the updated reference Hall stroke, comprises: updating the recorded reference Hall stroke according to the maximum Hall strokes of the plurality of electric door handles of the vehicle recorded at multiple times, and recording the updated reference Hall stroke.
[0010] In an alternative embodiment, the step of updating the recorded reference Hall stroke according to the maximum Hall strokes recorded for the plurality of electric door handles of the vehicle, and recording the updated reference Hall stroke, comprises: determining an average value of the maximum Hall strokes of the plurality of electric door handles according to the maximum Hall strokes of the plurality of electric door handles of the vehicle recorded at multiple times; updating the recorded reference Hall stroke according to the average value, and recording the updated reference Hall stroke.
[0011] In an optional embodiment, the number of the electric door handles is multiple, and after the electric door handle is controlled to be unfolded based on the reference hall stroke corresponding to the electric door handle recorded currently in response to the unfolding instruction, the method further comprises: obtaining the hall stroke corresponding to each electric door handle after the electric door handle is unfolded as a target hall stroke; obtaining the difference between the target hall stroke and the reference hall stroke corresponding to each electric door handle as a second difference value corresponding to each electric door handle; determining the number of the electric door handles whose second difference value is greater than a second preset difference value based on the second difference value corresponding to each electric door handle; if the number of the electric door handles is greater than a preset number, obtaining the maximum hall stroke of the electric door handle, and determining the latest reference hall stroke according to the obtained maximum hall stroke of the electric door handle, and updating the reference hall stroke recorded currently to the latest reference hall stroke.
[0012] In an optional embodiment, after the number of the electric door handles whose second difference value is greater than a second preset difference value is determined based on the second difference value corresponding to each electric door handle, the method further comprises: updating the number of abnormalities corresponding to each electric door handle recorded currently based on the electric door handle whose second difference value is greater than a second preset difference value; and if the number of abnormalities corresponding to a target electric door handle in the multiple electric door handles reaches a preset number of abnormalities, outputting a prompt information, and the prompt information is used to prompt that the target electric door handle has an abnormality.
[0013] In a second aspect, the embodiments of the present application provide a control device of an electric door handle, the device comprising: an unfolding instruction obtaining module configured to obtain an unfolding instruction for an electric door handle of a vehicle; and a control module configured to control the electric door handle to be unfolded based on a reference hall stroke corresponding to the electric door handle recorded currently in response to the unfolding instruction, the reference hall stroke being recorded after the reference hall stroke is updated according to a maximum hall stroke of the electric door handle obtained multiple times, and the maximum hall stroke being a hall stroke of the electric door handle detected when the position of the electric door handle does not change during the process of driving the electric door handle to be unfolded.
[0014] In a third aspect, the embodiments of the present application provide a vehicle, comprising: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the control method of the electric door handle provided in the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores program codes, and the program codes can be invoked by a processor to execute the control method of the electric door handle provided in the first aspect.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes program codes, and the program codes can be invoked by a processor to execute the control method of the electric door handle provided in the first aspect
[0017] The scheme provided in the present application, after obtaining the unfolding instruction for the electric door handle of the vehicle, the electric door handle is unfolded according to the reference Hall stroke. Since the reference Hall stroke is recorded after being updated according to the maximum Hall stroke of the electric door handle obtained multiple times, the reference Hall stroke is closer to the maximum Hall stroke of the electric door handle, so that the electric door handle is controlled to unfold based on the reference Hall stroke is more accurate, thereby avoiding damage to the electric door handle. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0019] Figure 1 A flowchart of the control method of the electric door handle provided by an embodiment of the present application is shown.
[0020] Figure 2 A flowchart of the control method of the electric door handle provided by another embodiment of the present application is shown.
[0021] Figure 3 A flowchart of the control method of the electric door handle provided by another embodiment of the present application is shown.
[0022] Figure 4 A flowchart of the acquisition process of the reference Hall stroke in an embodiment of the present application is shown.
[0023] Figure 5 A structure block diagram of the control device of the electric door handle provided by an embodiment of the present application is shown.
[0024] Figure 6 A structure block diagram of a vehicle for executing the control method of the electric door handle according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0025] In order for those skilled in the art to better understand the scheme of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application.
[0026] In the related art, the calibrated maximum Hall stroke is written into software to reduce the workload of matching modification. However, the maximum Hall stroke will change as the use time of the electric door handle increases and the use wear increases. If the calibrated maximum Hall stroke is used for expansion, the drive control of the electric door handle will be limited.
[0027] To solve the technical problems in the background art, the inventors propose a control method and device of an electric door handle, a vehicle and a storage medium. After obtaining an expansion instruction for the electric door handle of the vehicle, the electric door handle is controlled to expand according to a reference Hall stroke. Since the reference Hall stroke is recorded after being updated according to the maximum Hall stroke of the electric door handle obtained multiple times, the reference Hall stroke is closer to the actual maximum Hall stroke of the electric door handle, so that the control of the electric door handle to expand based on the reference Hall stroke is more accurate, thereby avoiding damage to the electric door handle. Moreover, the reference Hall stroke is determined according to the maximum Hall stroke of the electric door handle, which improves the compatibility between the electric door handle and the reference Hall stroke.
[0028] Please refer to Figure 1 , Figure 1 A flowchart of a control method of an electric door handle provided by an embodiment of the present application is shown. In specific embodiments, the control method of the electric door handle is applied to an electric door handle control device 200 as shown in Figure 5 and a vehicle provided with the electric door handle control device 200.
[0029] The control method of the electric door handle will be described in detail below in combination with the flowchart shown in Figure 1 . The control method of the electric door handle can specifically include the following steps:
[0030] Step S110: Obtain an expansion instruction for the electric door handle of the vehicle.
[0031] The expansion instruction can be obtained by an electrical signal or a wireless signal, and the obtaining method of the expansion instruction is not limited herein.
[0032] For example, the unfolding of the electric door handle can also be in response to the control sensor on the electric door handle detecting a human body within a preset distance, triggering an unfolding instruction, and sending the unfolding instruction to the drive motor of the electric door handle through an electrical signal, and the drive motor receiving the electrical signal controls the electric door handle to unfold. The unfolding of the electric door handle can also be in response to the triggering of the control button of the remote controller to trigger an unfolding instruction, and sending the unfolding instruction to the drive motor of the electric door handle through a wireless signal, and the drive motor receiving the wireless signal controls the electric door handle to unfold.
[0033] Step S120: in response to the unfolding instruction, controlling the electric door handle to unfold based on the reference hall stroke currently recorded corresponding to the electric door handle, the reference hall stroke being recorded after being updated according to the maximum hall stroke of the electric door handle obtained, the maximum hall stroke being the hall stroke of the electric door handle detected until the position of the electric door handle does not change during the process of driving the electric door handle to unfold.
[0034] Wherein, the hall stroke refers to the position of the handle recognized by the controller through the hall signal, so as to obtain the unfolding angle of the electric door handle. The hall signal refers to the potential difference generated by the interaction of magnetic field and conductor through the principle of Hall effect.
[0035] The reference hall stroke can be determined according to the average value corresponding to the maximum hall stroke of the electric door handle obtained multiple times, or can be determined according to the weight of the maximum hall stroke of the electric door handle obtained each time and the maximum hall stroke of the electric door handle obtained each time. The determination method of the reference hall stroke is not limited here. In the embodiment of the application, the reference maximum hall stroke is preferably obtained by updating the maximum hall stroke of the electric door handle obtained multiple times.
[0036] In the embodiment of the application, when the electric door handle obtains the unfolding instruction, the electric door handle is controlled to unfold based on the reference hall stroke currently recorded, so as to determine whether the electric door handle unfolds normally according to the reference hall stroke currently recorded. The electric door handle can be controlled to unfold at the reference hall stroke, or can be controlled to unfold at a preset multiple of the reference hall stroke, wherein the preset multiple is a value less than 1. The size of the hall stroke after the electric door handle unfolds is not limited here.
[0037] The control method of the electric door handle provided in the embodiment of the present application comprises the following steps: obtaining an unfolding instruction for the electric door handle of the vehicle; and controlling the electric door handle to unfold according to a reference Hall stroke. Since the reference Hall stroke is obtained according to the maximum Hall stroke of the electric door handle obtained multiple times, the reference Hall stroke is closer to the maximum Hall stroke of the electric door handle, so that the control of the electric door handle to unfold based on the reference Hall stroke is more accurate, thereby avoiding damage to the electric door handle. Moreover, the reference Hall stroke is determined according to the maximum Hall stroke of the electric door handle, so that the compatibility between the electric door handle and the reference Hall stroke is improved.
[0038] Please refer to Figure 2 , Figure 2 The flowchart of the control method of the electric door handle provided in another embodiment of the present application is shown. The control method of the electric door handle will be described in detail below with reference to the flowchart shown in Figure 2 The control method of the electric door handle can specifically comprise the following steps:
[0039] Step S210: obtaining the maximum Hall strokes respectively detected by multiple electric door handles.
[0040] In the embodiment of the present application, the maximum Hall stroke of the electric door handle can be obtained by reading the Hall stroke corresponding to the position of the electric door handle when the electric door handle is unfolded to the position of the electric door handle not changing, or the maximum Hall stroke of the electric door handle can be obtained by reading the Hall stroke corresponding to the current electric door handle by a Hall stroke monitoring device when the electric door handle is unfolded to the position of the electric door handle not changing. It should be noted that multiple times refer to at least twice. In the embodiment of the present application, the maximum Hall stroke of the electric door handle is obtained multiple times to ensure the accuracy of the maximum Hall stroke of the electric door handle.
[0041] Further, since at least two door handles are arranged on the vehicle, the maximum Hall stroke of the electric door handle can be obtained by obtaining the maximum Hall strokes of a specified number of electric door handles, or the maximum Hall strokes of all electric door handles. The number of electric door handles for obtaining the maximum Hall stroke is not specifically limited herein.
[0042] Step S220: obtaining the average value of the maximum Hall strokes of the multiple electric door handles as the current average value.
[0043] In the embodiments of the present application, the determination manner of the reference Hall stroke according to the obtained maximum Hall strokes can be determined according to the average value of the maximum Hall strokes of the plurality of electric door handles, or can be determined according to the maximum Hall stroke of a single electric door handle and the maximum Hall stroke obtained each time, or can be determined according to the average value of the maximum Hall strokes of the plurality of electric door handles obtained multiple times, and the determination manner of the reference Hall stroke is not specifically limited here. Preferably, the average value of the maximum Hall strokes obtained multiple times is obtained as the reference Hall stroke.
[0044] Step S230: obtaining the difference between the maximum Hall stroke of each electric door handle and the average value as the first difference value corresponding to each electric door handle.
[0045] Step S240: if the first difference value corresponding to each electric door handle is less than or equal to a first preset difference value, recording the maximum Hall strokes of the plurality of electric door handles obtained this time.
[0046] Step S250: if the first difference value corresponding to any electric door handle is greater than the first preset difference value, discarding the maximum Hall strokes of the plurality of electric door handles obtained this time.
[0047] Step S260: returning to the step of obtaining the maximum Hall strokes detected for the plurality of electric door handles respectively until the maximum Hall strokes of the plurality of electric door handles obtained multiple times are recorded.
[0048] In the embodiment of the present application, the maximum Hall strokes of the plurality of electric door handles are acquired, and the current average of the maximum Hall strokes of the plurality of electric door handles acquired at the current time is calculated. Whether the current maximum Hall stroke of each electric door handle is valid is determined by the error between the maximum Hall stroke of each electric door handle and the current average. If the first difference of each electric door handle is less than or equal to the first preset difference, it is determined that the maximum Hall strokes of all electric door handles acquired at the current time are valid, and the maximum Hall strokes of each electric door handle acquired at the current time are recorded. If the first difference of each electric door handle is greater than the first preset difference, it is determined that the maximum Hall strokes of all electric door handles acquired at the current time are invalid, and the maximum Hall strokes of each electric door handle acquired at the current time are discarded. The acquisition of the maximum Hall stroke of each electric door handle is repeated multiple times until the maximum Hall strokes of each electric door handle acquired multiple times are recorded. When recording the maximum Hall strokes of the electric door handles, whether the maximum Hall stroke of each electric door handle is valid is determined according to the error between each electric door handle and the average, which can make the reference Hall stroke closer to the actual maximum Hall stroke of the electric door handle, and thus ensure the driving control of the electric door handle. The first preset difference can be 10% of the current average, or 8% of the current average, and the first preset difference is not specifically limited herein.
[0049] It should be noted that before acquiring the maximum Hall stroke of the electric door handle each time, each electric door handle needs to be retracted, and a certain time length is maintained after the electric door handle is retracted to a position that does not move, so as to ensure that the electric door handle is retracted to the position, and thus ensure that the maximum Hall stroke of the electric door handle acquired each time is the real maximum Hall stroke, and the acquisition error of the maximum Hall stroke is reduced. The certain time length can be 300 ms, or 500 ms, and the time length is not specifically limited herein.
[0050] Step S270: The recorded reference Hall stroke is updated according to the maximum Hall strokes recorded for the plurality of electric door handles on the vehicle, and the updated reference Hall stroke is recorded.
[0051] In the embodiment of the present application, since the maximum Hall stroke of the electric door handle may have an error due to mechanical or other reasons during use, the maximum Hall stroke obtained each time can be different. Therefore, the reference Hall stroke needs to be updated according to the maximum Hall stroke recorded each time to adapt to the current electric door handle.
[0052] In some embodiments, the recorded reference Hall stroke is updated according to the maximum Hall strokes of the plurality of electric door handles of the vehicle recorded respectively, and the updated reference Hall stroke is recorded, including: updating the recorded reference Hall stroke according to the maximum Hall strokes of the plurality of electric door handles of the vehicle recorded multiple times, and recording the updated reference Hall stroke.
[0053] In embodiments, the maximum Hall strokes of the plurality of electric door handles of the vehicle are acquired multiple times, and the recorded reference Hall stroke is updated by using the maximum Hall strokes acquired multiple times, and the updating manner can be updating the reference Hall stroke by using the maximum Hall stroke acquired each time, or updating the reference Hall stroke by using the average of the maximum Hall strokes acquired multiple times, which is not limited herein.
[0054] Specifically, the recorded reference Hall stroke is updated according to the maximum Hall strokes of the plurality of electric door handles of the vehicle recorded multiple times, and the updated reference Hall stroke is recorded, including: determining the average of the maximum Hall strokes of the plurality of electric door handles according to the maximum Hall strokes of the plurality of electric door handles of the vehicle recorded multiple times. The recorded reference Hall stroke is updated according to the average, and the updated reference Hall stroke is recorded.
[0055] In the embodiments, the reference Hall stroke is updated by using the average of the maximum Hall strokes of the plurality of electric door handles of the vehicle acquired multiple times, which can avoid the error caused by the single maximum Hall stroke.
[0056] Step S280: An unfolding instruction for an electric door handle of the vehicle is acquired.
[0057] Step S2980: In response to the unfolding instruction, the electric door handle is controlled to unfold based on the reference Hall stroke corresponding to the electric door handle recorded currently, the reference Hall stroke is recorded after being updated according to the maximum Hall stroke of the electric door handle acquired, and the maximum Hall stroke is the Hall stroke of the electric door handle detected when the position of the electric door handle does not change during the process of driving the electric door handle to unfold.
[0058] The details of steps S280-S290 are described in steps S110-S120 in the foregoing embodiments, which are not repeated herein.
[0059] The control method of the electric door handle provided in the embodiment of the present application determines the reference Hall stroke by the maximum Hall stroke of the electric door handle obtained through multiple times of acquisition, which can avoid the error caused by the maximum Hall stroke obtained through single acquisition, and further makes the reference Hall stroke closer to the actual maximum Hall stroke of the electric door handle, thereby improving the compatibility between the reference Hall stroke and the electric door handle.
[0060] Please refer to Figure 3 , Figure 3 The flowchart of the control method of the electric door handle provided in another embodiment of the present application is shown. The control method of the electric door handle will be described in detail below with respect to the flowchart shown in Figure 3 The control method of the electric door handle can specifically include the following steps:
[0061] Step S310: An unfolding instruction for the electric door handle of the vehicle is obtained, and the number of the electric door handles is multiple.
[0062] Step S320: In response to the unfolding instruction, the electric door handle is controlled to unfold based on the reference Hall stroke of the electric door handle recorded at present, which is recorded after being updated according to the maximum Hall stroke of the electric door handle obtained, and the maximum Hall stroke is the Hall stroke of the electric door handle detected when the position of the electric door handle does not change during the process of driving the electric door handle to unfold.
[0063] The detailed description of steps S310-S320 can be found in steps S110-S120 in the foregoing embodiment, which will not be described herein.
[0064] Step S330: The Hall stroke corresponding to each electric door handle after unfolding is obtained as a target Hall stroke.
[0065] Step S340: The difference between the target Hall stroke and the reference Hall stroke corresponding to each electric door handle is obtained as a second difference value corresponding to each electric door handle.
[0066] Step S350: Based on the second difference value corresponding to each electric door handle, the number of the electric door handles with the second difference value greater than a second preset difference value is determined.
[0067] Step S360: If the number of the electric door handles is greater than a preset number, the maximum Hall stroke of the electric door handle is obtained, and the latest reference Hall stroke is determined according to the maximum Hall stroke of the electric door handle obtained, and the reference Hall stroke recorded at present is updated to the latest reference Hall stroke.
[0068] The target Hall stroke refers to the Hall stroke obtained after the driving motor of the electric door handle is driven to expand according to the reference Hall stroke and is kept for a preset time length. The preset time length can be 3s, or 2.5s, and is not limited herein.
[0069] In the embodiments of the present application, the target Hall stroke of each electric door handle is compared with the reference Hall stroke to determine whether each electric door handle is normally expanded. If the second difference is less than or equal to the second preset difference, it is determined that the electric door handle is normally expanded. If the second difference is greater than the second preset difference, it is determined that the electric door handle is not normally expanded. According to the number of door handles, it is determined that the multiple electric door handles on the vehicle cannot be expanded according to the reference Hall stroke due to use and wear. When the number of door handles is less than or equal to the preset number, it can be caused by the failure of the electric door handle itself. When the number of door handles is greater than the preset number, it can be determined that the error is caused by the use and wear of multiple electric door handles. At this time, in order to adapt to the Hall stroke of the electric door handle after use and wear, so that the electric door handle can be normally expanded, the new reference Hall stroke needs to be determined according to the current maximum Hall stroke of the electric door handle, so that the electric door handle can be expanded according to the latest reference Hall stroke in the future, thereby avoiding the abnormal expansion of the electric door handle caused by the use of the set reference Hall stroke to control the expansion of the electric door handle. The second preset difference can be 10% of the reference Hall stroke, or 8% of the reference Hall stroke, and is not limited herein. The preset number can be determined according to different vehicle models. For example, for a vehicle with four electric door handles, the preset number can be 3, and for a vehicle with two electric door handles, the preset number can be 1, and the preset number is not limited herein.
[0070] For example, refer to Figure 4 , Figure 4 The acquisition process of the reference Hall stroke in the embodiments of the present application is shown. Before acquiring the maximum Hall stroke of the handle, the handle is first driven to retract and kept for 500ms to ensure that the handle is retracted. Then the electric door handle is driven to expand until the expansion position of the electric door handle no longer changes, and the maximum Hall stroke of the electric door handle is acquired. When the difference between the maximum Hall strokes of multiple electric door handles and the average value at this time is within the second preset difference, the maximum Hall strokes of the multiple electric door handles are recorded, and the electric door handle is driven to retract again until the maximum Hall strokes of the multiple electric door handles are recorded. When the difference between the maximum Hall strokes of the multiple electric door handles and the average value at this time is greater than the second preset difference, the maximum Hall stroke is discarded, and the electric door handle is driven to retract again until the maximum Hall strokes of the multiple electric door handles are recorded. The reference Hall stroke is determined according to the recorded maximum Hall strokes of the multiple electric door handles.
[0071] In some embodiments, after determining the number of electric door handles whose second difference is greater than the second preset difference based on the second difference corresponding to each of the electric door handles, the method further comprises: updating the abnormality number corresponding to each of the electric door handles in the current record based on the electric door handles whose second difference is greater than the second preset difference. If the abnormality number corresponding to a target electric door handle in the plurality of electric door handles reaches a preset abnormality number, a prompt information is outputted, and the prompt information is used to prompt that the target electric door handle is abnormal.
[0072] In some embodiments, the abnormality number in the current record refers to that after each electric door handle is unfolded according to the unfolding instruction, if the difference between the target Hall stroke corresponding to a certain electric door handle and the reference Hall stroke recorded at this time is greater than the second preset difference, the electric door handle is recorded as an abnormal door handle, and the abnormality number of the electric door handle is recorded as 1. In the subsequent unfolding process of the electric door handle, if the difference between the target Hall stroke corresponding to the electric door handle and the reference Hall stroke recorded at this time is greater than the second preset difference, the abnormality number of the electric door handle is increased by 1.
[0073] In the embodiments of the present application, when the abnormality number of a certain electric door handle reaches a preset abnormality number, a prompt information is outputted to the user to prompt that the electric door handle is abnormal, so that the user takes corresponding abnormality processing measures on the electric door handle. The abnormality processing measures include but are not limited to replacing the electric door handle and repairing the electric door handle. The abnormality processing measures are not specifically limited herein.
[0074] For example, the electric door handle includes a handle A and a handle B, and the abnormality number corresponding to the handle A is 1, and the abnormality number corresponding to the handle B is 3. When the difference between the maximum Hall stroke of the handle A obtained at this time and the reference Hall stroke is greater than the second preset difference, and the difference between the maximum Hall stroke of the handle B and the reference Hall stroke is less than the second preset difference. At this time, the abnormality number of the handle A is increased by 1, and after the abnormality number is updated, the abnormality number of the handle A is 2, and the abnormality number of the handle B is 3.
[0075] The control method of the electric door handle provided by the embodiments of the present application can reacquire the maximum Hall stroke of the plurality of electric door handles for multiple times when the difference between the target Hall stroke of more than a preset number of electric door handles and the reference Hall stroke is greater than the second difference, obtain the latest reference Hall stroke, and update the reference Hall stroke to the latest reference Hall stroke, so as to reference the updated reference Hall stroke in the subsequent unfolding process of the electric door handle, realize the automatic correction of the reference Hall stroke, do not need to modify the calibration reference Hall stroke in the software, improve the compatibility between the reference Hall stroke and the electric door handle, and also ensure the driving control of the electric door handle.
[0076] Please refer to Figure 5 , which shows a structural block diagram of a control device 200 of an electric door handle provided by an embodiment of the present application. The control device 200 of the electric door handle is applied to a vehicle, and the control device 200 of the electric door handle comprises an unfolding instruction obtaining module 210, configured to obtain an unfolding instruction for an electric door handle of a vehicle; and a control module 220, configured to control the electric door handle to unfold in response to the unfolding instruction, based on a currently recorded reference hall stroke corresponding to the electric door handle, the reference hall stroke being recorded after being updated according to an obtained maximum hall stroke of the electric door handle, the maximum hall stroke being a hall stroke of the electric door handle detected when a position of the electric door handle does not change during a process of driving the electric door handle to unfold.
[0077] In some embodiments of the present application, the control device 200 of the electric door handle further comprises an updating recording module, configured to update the recorded reference hall stroke according to maximum hall strokes of multiple electric door handles of the vehicle recorded respectively, and record the updated reference hall stroke.
[0078] In some embodiments of the present application, the control device 200 of the electric door handle further comprises a maximum hall stroke obtaining module, configured to obtain maximum hall strokes of the multiple electric door handles detected respectively; an average value obtaining module, configured to obtain an average value of the maximum hall strokes of the multiple electric door handles as a current average value; a first difference value obtaining module, configured to obtain a difference value between the maximum hall stroke of each electric door handle and the current average value as a first difference value corresponding to each electric door handle; a recording module, configured to record the maximum hall strokes of the multiple electric door handles obtained this time if the first difference value corresponding to each electric door handle is less than or equal to a first preset difference value; a discarding module, configured to discard the maximum hall strokes of the multiple electric door handles obtained this time if the first difference value corresponding to any electric door handle is greater than the first preset difference value; and a cycle module, configured to return to the step of obtaining the maximum hall strokes of the multiple electric door handles until the maximum hall strokes of the multiple electric door handles obtained multiple times are recorded.
[0079] In some embodiments of the present application, the updating recording module comprises an updating recording sub-module, configured to update the recorded reference hall stroke according to maximum hall strokes of multiple door handles of the vehicle recorded multiple times, and record the updated reference hall stroke.
[0080] In some embodiments of the present application, the updating record submodule comprises: an average value determining unit configured to determine an average value of the maximum hall strokes of the plurality of electric door handles according to the maximum hall strokes of the plurality of electric door handles obtained through multiple records; and a record unit configured to update the recorded reference hall stroke according to the average value and record the updated reference hall stroke.
[0081] In some embodiments of the present application, the number of electric door handles is multiple, and the control device 200 of the electric door handle further comprises: a target hall stroke acquisition module configured to acquire the corresponding hall stroke of each electric door handle after unfolding as a target hall stroke; a second difference acquisition module configured to acquire the difference between the target hall stroke corresponding to each electric door handle and the reference hall stroke as a second difference corresponding to each electric door handle; a number determining module configured to determine the number of door handles of the electric door handle whose second difference is greater than a second preset difference based on the second difference corresponding to each electric door handle; and a latest reference hall stroke determining module configured to acquire the maximum hall stroke of the electric door handle if the number of door handles is greater than a preset number, and determine a latest reference hall stroke according to the acquired maximum hall stroke of the electric door handle, and update the currently recorded reference hall stroke to the latest reference hall stroke.
[0082] In some embodiments of the present application, the control device 200 of the electric door handle further comprises: an abnormality times updating module configured to update the abnormality times corresponding to each electric door handle recorded currently based on the electric door handle whose second difference is greater than a second preset difference; and a prompt information output module configured to output a prompt information if the abnormality times corresponding to a target electric door handle in the plurality of electric door handles reaches a preset abnormality times, and the prompt information is used to prompt that the target electric door handle has an abnormality.
[0083] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device and module can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0084] In several embodiments provided in the present application, the coupling between the modules can be electrical, mechanical or other forms of coupling.
[0085] In addition, each functional module in each embodiment of the present application can be integrated in one processing module, or each module can exist physically independently, or two or more modules can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of software functional module.
[0086] Referring now to the drawings Figure 6 which shows a structural block diagram of a vehicle provided by an embodiment of the present application. The vehicle 100 in the present application can include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein the one or more application programs can be stored in the memory 120 and configured to be executed by the one or more processors 110, and the one or more programs are configured to perform the method as described in the foregoing method embodiments.
[0087] The processor 110 can include one or more processing cores. The processor 110 connects various parts within the vehicle 100 by various interfaces and lines, performs various functions of the vehicle 100 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one of the hardware forms of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), Programmable Logic Array (PLA). The processor 110 can integrate one or several combinations of Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem, etc. Among them, the CPU mainly processes operating systems, user interfaces, and application programs, etc.; the GPU is responsible for rendering and drawing display content; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 110, but be realized by a separate communication chip.
[0088] The memory 120 can include Random Access Memory (RAM) and can also include Read-Only Memory (ROM). The memory 120 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as touch function, sound playing function, image playing function, etc.), instructions for implementing each of the following method embodiments, etc. The data storage area can also store data created by the vehicle 100 in use (such as phonebook, audio and video data, chat record data), etc.
[0089] The embodiment of the present application also provides a computer readable storage medium, and the computer readable storage medium stores program codes, and the program codes can be invoked by a processor to execute the method described in the method embodiment.
[0090] The computer readable storage medium can be an electronic storage such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk or a ROM. Alternatively, the computer readable storage medium comprises a non-transitory computer readable medium. The computer readable storage medium has a storage space for program codes for executing any method steps in the above method. The program codes can be read from or written into one or more computer program products. The program codes can be compressed in a suitable form, for example.
[0091] The embodiment of the present application also provides a computer program product, and the computer program product comprises program codes, and the program codes are executed by a processor to implement the method described in the method embodiment.
[0092] In summary, the scheme provided by the present application, after obtaining the unfolding instruction for the electric door handle, the electric door handle is unfolded according to the reference hall stroke. Since the reference hall stroke is determined according to the maximum hall stroke of the electric door handle obtained multiple times, the reference hall stroke is closer to the actual maximum hall stroke of the electric door handle, so that the electric door handle is controlled to unfold based on the reference hall stroke is more accurate, thereby avoiding the damage of the electric door handle. Moreover, the reference hall stroke is determined according to the maximum hall stroke of the electric door handle, which can improve the compatibility between the electric door handle and the reference hall stroke.
[0093] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A control method of an electric door handle, characterized by, The method comprises: obtaining the maximum hall stroke of each of the plurality of electric door handles of the vehicle, and obtaining a plurality of maximum hall strokes, wherein the maximum hall stroke is the hall stroke of the electric door handle detected when the electric door handle is driven to expand to a position where the position of the electric door handle does not change; obtaining the average value of the plurality of maximum hall strokes as a current average value; obtaining the difference between each of the plurality of maximum hall strokes and the current average value to obtain a plurality of first differences; if all the plurality of first differences are less than or equal to a first preset difference, recording the plurality of maximum hall strokes; if any of the plurality of first differences is greater than the first preset difference, discarding the plurality of maximum hall strokes; returning to the step of obtaining the maximum hall stroke of each of the plurality of electric door handles of the vehicle until the plurality of maximum hall strokes obtained multiple times are recorded; updating the reference hall stroke according to the average value of the plurality of maximum hall strokes recorded multiple times, and recording the updated reference hall stroke; in response to the expansion instruction of the electric door handle of the vehicle, controlling the plurality of electric door handles to expand based on the currently recorded reference hall stroke.
2. The method of claim 1, wherein, After the plurality of electric door handles are controlled to expand based on the currently recorded reference hall stroke in response to the expansion instruction of the electric door handle of the vehicle, the method further comprises: obtaining the hall stroke of each of the plurality of electric door handles after expansion as the target hall stroke of each of the plurality of electric door handles; obtaining the difference between the target hall stroke of each of the plurality of electric door handles and the currently recorded reference hall stroke as the second difference corresponding to each of the plurality of electric door handles; obtaining the number of electric door handles whose second difference is greater than a second preset difference; if the number of electric door handles is greater than a preset number, obtaining the current maximum hall stroke of the plurality of electric door handles, and determining the latest reference hall stroke according to the current maximum hall stroke of the plurality of electric door handles, and updating the currently recorded reference hall stroke to the latest reference hall stroke.
3. The method of claim 2, wherein, After obtaining the number of electric door handles whose second difference is greater than a second preset difference, the method further comprises: recording the electric door handle whose second difference is greater than a second preset difference as an abnormal electric door handle, and updating the abnormal times of the abnormal electric door handle; if there is a target electric door handle in the plurality of electric door handles whose abnormal times reach a preset abnormal times, outputting a prompt information, and the prompt information is used to prompt that the target electric door handle is abnormal.
4. A control device for an electric door handle, characterized in that It comprises: a maximum hall stroke acquisition module, configured to obtain the maximum hall stroke of each of the plurality of electric door handles of the vehicle, and obtain a plurality of maximum hall strokes, wherein the maximum hall stroke is the hall stroke of the electric door handle detected when the electric door handle is driven to expand to a position where the position of the electric door handle does not change; an average value acquisition module, configured to obtain the average value of the plurality of maximum hall strokes as a current average value; a first difference acquisition module, configured to obtain the difference between each of the plurality of maximum hall strokes and the current average value to obtain a plurality of first differences; a recording module, configured to record the maximum Hall strokes if the first differences are all less than or equal to a first preset difference; a discarding module, configured to discard the maximum Hall strokes if any of the first differences is greater than the first preset difference; a loop module, configured to return to the step of acquiring the maximum Hall strokes detected by the plurality of electric door handles of the vehicle until the plurality of maximum Hall strokes acquired multiple times are recorded; an updating recording module, configured to update the reference Hall stroke according to an average value of the plurality of maximum Hall strokes recorded multiple times, and record the updated reference Hall stroke; an unfolding instruction acquiring module, configured to acquire an unfolding instruction for the electric door handle of the vehicle; a control module, configured to control the plurality of electric door handles to unfold based on the currently recorded reference Hall stroke in response to the unfolding instruction.
5. A vehicle characterized by comprising: comprise: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to perform the method of any one of claims 1-3.
6. A computer readable storage medium, characterized in that, The computer-readable storage medium stores program code, and the program code can be called and executed by the processor to perform the method of any one of claims 1-3.
7. A computer program product, characterised in that, The computer program product comprises program code, and the program code can be called and executed by the processor to perform the method of any one of claims 1-3.
Citation Information
Patent Citations
Hidden vehicle door handle control method and system and vehicle
CN114075898A
Method for controlling a hall motor system and related device
CN116111912A