Electric tail gate control method and device, electronic equipment and storage medium
By calculating the number and time of the length of the strut of the unit angle of the rotation of the electric tailgate, controlling the number of the strut motor halls, and accurately adjusting the opening and closing speeds of the electric tailgate, the problem of difficulty in precise control of the electric tailgate is solved, and the user has been enhanced Experience and tailgate operation quality.
Patent Information
- Application Number
- CN202411022633.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-12
AI Technical Summary
The existing electric tailgate is difficult to accurately control the opening and closing speed, resulting in poor user experience, which may lead to problems such as shaking of the tailgate, incorrect clamping, or inability to lock.
By determining the number of change and time of the length of the strut of the unit angle of rotation of the electric tailgate, the number of the strut motor halls is calculated, the opening and closing process of the electric tailgate is accurately controlled, and the angular velocity of each position is adjusted.
It realizes precise control of the angular velocity of each position during the opening or closing of the electric tailgate, improves the user experience and avoids problems such as tailgate jitter and incorrect clamping.
Smart Images

Figure CN118933487A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to an electric tailgate control method, device, electronic equipment and storage medium. Background Art
[0002] With the advancement of technology, electric tailgates have become standard equipment for high-end cars. Electric tailgates have changed the current situation where the tailgate needs to be closed manually. The electric closing function can also stop at a fixed height position according to customer needs, which has brought great convenience to life and is deeply loved by consumers.
[0003] However, controlling the opening and closing speed of the electric tailgate through voltage cannot achieve the effect of precise control, and controlling the electric tailgate to open and close at a uniform speed can easily lead to a poor user experience. Specifically, due to the weight of the tailgate itself, closing it too quickly can easily cause a loud closing sound, affecting the user experience; closing it too slowly can easily cause the tailgate to trigger false anti-pinch or make it difficult to lock and complete the tailgate suction, resulting in a closing failure. Similarly, when the tailgate is opened too quickly, it can easily cause the tailgate to shake, affecting the opening quality; when the tailgate is opened too slowly, the initial speed will not be able to drive the electric support rod to support the entire tailgate, resulting in a failure to open. Therefore, it is crucial to accurately control the speed of the electric tailgate during opening and closing. Summary of the invention
[0004] The present invention provides an electric tailgate control method, device, equipment and storage medium, which solves the problem of difficulty in accurately controlling the opening and closing speed of the electric tailgate and realizes the control of the angular velocity of each position of the electric tailgate during the opening or closing process.
[0005] In a first aspect, an embodiment of the present invention provides a method for controlling an electric tailgate, the method comprising:
[0006] Determine the change in the length of the support rod and the time for the electric tailgate of the target vehicle to rotate per unit angle according to the electric tailgate parameters of the target vehicle, wherein the electric tailgate parameters include the coordinates of the tailgate hinge installation point, the body installation point coordinates, and the initial tailgate installation point coordinates;
[0007] Determine the Hall number of the prop motor when the electric tailgate rotates a unit angle according to the change in the prop length;
[0008] According to the time of the electric tailgate rotating a unit angle and the Hall number of the strut motor, the opening and closing of the electric tailgate of the target vehicle is controlled.
[0009] In a second aspect, an embodiment of the present invention further provides an electric tailgate control device, the device comprising:
[0010] A strut length change and time determination module, used to determine the strut length change and time of the electric tailgate of the target vehicle per unit rotation angle according to the electric tailgate parameters of the target vehicle, wherein the electric tailgate parameters include the coordinates of the tailgate hinge installation point, the body installation point coordinates and the initial tailgate installation point coordinates;
[0011] A support rod motor Hall number determination module, used to determine the support rod motor Hall number when the electric tailgate rotates a unit angle according to the change in the length of the support rod;
[0012] The electric tailgate control module is used to control the opening and closing of the electric tailgate of the target vehicle according to the time for the electric tailgate to rotate a unit angle and the Hall number of the strut motor.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, an electric tailgate control method as described in any one of the embodiments of the present invention is implemented.
[0014] In a fourth aspect, an embodiment of the present invention further provides a storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the electric tailgate control method as described in any one of the embodiments of the present invention.
[0015] The technical solution of the embodiment of the present invention adjusts the Hall number of the strut motor corresponding to each moment or angle during the opening or closing process of the electric tailgate of the target vehicle, controls the length of the strut of the electric tailgate to be extended and retracted according to the change in the length of the strut, thereby achieving precise control of the angular velocity of each position during the entire rotation process of the electric tailgate opening or closing. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 is a flow chart of an electric tailgate control method provided by Embodiment 1 of the present invention;
[0018] Figure 2 It is a schematic diagram of coordinate data of a group of electric tailgate parameters of a target vehicle provided in the first embodiment of the present invention;
[0019] Figure 3 is a curve diagram of angular velocity-opening angle of an electric tailgate provided in the first embodiment of the present invention;
[0020] Figure 4 is a schematic diagram of the entire rotation process of the electric tailgate provided in the first embodiment of the present invention;
[0021] Figure 5 is a structural schematic diagram of an electric tailgate control device provided in Embodiment 2 of the present invention;
[0022] Figure 6 It is a structural schematic diagram of an electronic device for implementing the electric tailgate control method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] Embodiment 1
[0026] Figure 1 A flowchart of an electric tailgate control method is provided for the first embodiment of the present invention. This embodiment is applicable to electric tailgate control situations. The method can be executed by an electric tailgate control device. The electric tailgate control device can be implemented in the form of hardware and / or software. The electric tailgate control device can be configured in any electronic device with network communication and computing.
[0027] like Figure 1 As shown, the electric tailgate control method includes:
[0028] S110. Determine a change in the length of a support rod and a time for a unit rotation angle of the electric tailgate of the target vehicle according to electric tailgate parameters of the target vehicle, wherein the electric tailgate parameters include coordinates of a tailgate hinge installation point, coordinates of a vehicle body installation point, and coordinates of an initial tailgate installation point.
[0029] In this embodiment, the target vehicle refers to a vehicle equipped with an electric tailgate. The unit angle is obtained by dividing the angle of the entire rotation process of the electric tailgate into several smaller angles, where the unit angle represents the minimum unit for adjusting and measuring the opening and closing speed of the electric tailgate, and the unit angle can be 1°. In different scenarios, the value of the unit angle is different, which is not limited in this embodiment and can be set flexibly. The change in the length of the support rod represents the change in the length of the support rod before and after the electric tailgate rotates a unit angle.
[0030] See also Figure 2 The figure shows a set of coordinate data schematic diagrams of electric tailgate parameters of a target vehicle, including the coordinates of the tailgate hinge installation point (x1, y1, z1), the body installation point coordinates (x2, y2, z2) and the tailgate installation point coordinates at a certain opening angle (x3, y3, z3).
[0031] Specifically, taking the unit angle as 1° as an example, the electric tailgate is rotated from closed to open (the electric tailgate is opened to the maximum angle by default), and the maximum opening angle θ of the electric tailgate can be obtained. max , determine the time and change in the length of the strut for each 1° rotation of the target vehicle's electric tailgate from closed to open.
[0032] The time required for the electric tailgate to rotate from 0° to 1° is t 1 , the change in the length of the strut is recorded as Δl 1 ; The time required for the electric tailgate to rotate from 1° to 2° is t 2 , the change in the length of the strut is recorded as Δl 2 ; By analogy, the electric tailgate rotates from 2° to 3°, ..., θ max -1 to θ max The time required and the amount of change in pole length.
[0033] In this embodiment, by determining the time required for the electric tailgate of the target vehicle to rotate each unit angle and the change in the length of the support rod during the entire rotation process, the electric tailgate can be more accurately adjusted when it reaches each position during the entire rotation process of opening or closing the electric tailgate.
[0034] As an optional but non-limiting implementation method, the two ends of the support rod are connected to the tailgate mounting point and the body mounting point, and the electric tailgate of the target vehicle rotates according to the rotation radius with the tailgate hinge mounting point as the center, wherein the coordinates of the tailgate hinge mounting point, the coordinates of the body mounting point and the rotation radius do not change with the rotation process of the electric tailgate, and the coordinates of the tailgate mounting point change with the rotation process of the electric tailgate.
[0035] In this embodiment, the support rod of the electric tailgate is a key component to realize the electric opening and closing function of the tailgate. Figure 2 The ends of the brace shown in FIG. connect the tailgate mounting point and the body mounting point.
[0036] During the entire rotation process of the target vehicle's electric tailgate opening and closing, the working principle of the electric tailgate's support rod is as follows: when receiving an instruction to open or close the tailgate, the support rod motor starts, and drives the support rod to extend or shorten through the transmission device, thereby pushing or pulling the tailgate to complete the corresponding action.
[0037] It can be understood that during the entire rotation process of opening and closing the electric tailgate, the electric tailgate rotates according to the rotation radius with the tailgate hinge installation point as the center, wherein the coordinates of the tailgate hinge installation point, the body installation point coordinates and the rotation radius do not change with the rotation process of the electric tailgate, while the coordinates of the tailgate installation point change with the rotation process of the electric tailgate.
[0038] It should be noted that the rotation radius of the electric tailgate is the distance between the tailgate hinge installation point and the tailgate installation point. The rotation radius of the electric tailgate is expressed by the following formula:
[0039]
[0040] Among them, r represents the rotation radius of the electric tailgate, x1 is the x-axis coordinate of the tailgate hinge installation point, z1 is the z-axis coordinate of the tailgate hinge installation point, x3 is the x-axis coordinate of the tailgate installation point, and z3 is the z-axis coordinate of the tailgate installation point.
[0041] As an optional but non-limiting implementation, determining the time for the electric tailgate of the target vehicle to rotate a unit angle according to the electric tailgate parameters of the target vehicle includes:
[0042] The time for the electric tailgate of the target vehicle to rotate a unit angle is determined according to the ratio of the unit angle of rotation of the electric tailgate of the target vehicle and the average angular velocity of the electric tailgate rotating a unit angle; wherein the average angular velocity is determined according to the angular velocity-opening angle curve of the electric tailgate, and the angular velocity-opening angle curve is used to describe the relationship between the angular velocity of the electric tailgate and the opening angle of the electric tailgate.
[0043] In this embodiment, when the opening and closing speed of the electric tailgate is controlled, the angular velocity of the electric tailgate during the entire rotation process is adjusted.
[0044] At the beginning of the design and development of the opening and closing speed of the electric tailgate, the angular velocity during the opening and closing process of the electric tailgate is determined, which is specifically described by the angular velocity-opening angle curve.
[0045] Among them, during the entire rotation process of closing the electric tailgate, as the opening angle of the electric tailgate decreases, the angular velocity of the electric tailgate can change into three stages: increasing, remaining unchanged, and decreasing. The angular velocity increasing stage can be in two states: uniform speed increase and variable speed increase, and the angular velocity decreasing stage can be in two states: uniform speed decrease or variable speed decrease.
[0046] In actual application, during the whole process of closing and rotating the electric tailgate, due to its own weight, if it is closed too quickly, it will easily make a loud closing sound, affecting the user experience; if it is closed too slowly, it will easily trigger the tailgate to prevent accidental clamping or it will be difficult to lock and complete the tailgate suction, resulting in a closing failure. Similarly, if the tailgate is opened too quickly, it will easily cause the tailgate to shake, thus affecting the opening quality; if the tailgate is opened too slowly, the initial speed will not be able to drive the electric support rod to support the entire tailgate, resulting in a failure to open.
[0047] Therefore, as the opening angle of the electric tailgate decreases, the angular velocity of the electric tailgate can be flexibly set. For different vehicles, the angular velocity-opening angle curve of the electric tailgate may be different.
[0048] See also Figure 3 The figure shows a curve diagram of the angular velocity-opening angle of an electric tailgate. It can be seen from the figure that as the opening angle of the electric tailgate gradually decreases, the angular velocity of the electric tailgate changes into three stages: gradually increasing, constant speed, and gradually decreasing.
[0049] Specifically, since the unit angle value is small, the angular velocity of the electric tailgate when rotating a unit angle can be approximated to uniform speed, and the average angular velocity when rotating a unit angle is calculated by the average of the angular velocity before rotating the unit angle and the angular velocity after rotating the unit angle.
[0050] According to the ratio of the unit angle of rotation and the average angular velocity within the unit angle of rotation, the time required for the electric tailgate of the target vehicle to rotate the unit angle can be determined.
[0051] As an optional but non-limiting implementation, determining the change in the length of the support rod of the electric tailgate of the target vehicle per unit rotation angle according to the electric tailgate parameters of the target vehicle includes steps A1-A2:
[0052] Step A1: According to the electric tailgate parameters of the target vehicle, determine the historical support rod length before the electric tailgate rotates by a unit angle and the current support rod length after the electric tailgate rotates by a unit angle.
[0053] Step A2: determining a change in the length of the strut per unit rotation angle of the electric tailgate of the target vehicle according to a difference between the current strut length and the historical strut length.
[0054] In this embodiment, the historical strut length indicates the strut length at the previous position each time the strut rotates by a unit angle, and the current strut length indicates the strut length at the current position each time the strut rotates by a unit angle.
[0055] It should be noted that, taking the closing process of the electric tailgate as an example, in the closing process of the electric tailgate in this embodiment, as the electric tailgate angle decreases, it needs to rotate several unit angles. The current support rod length after the previous rotation of the unit angle is recorded and used as the historical support rod length before the next rotation of the unit angle, and so on.
[0056] Specifically, by determining the difference between the historical strut length and the current strut length before and after each unit angle rotation of the target vehicle's electric tailgate, the change in the strut length per unit angle rotation can be determined, thereby determining the strut length at each opening angle during the entire rotation process of the electric tailgate, and accurately controlling the electric tailgate by adjusting the strut length during the entire rotation process of the electric tailgate.
[0057] As an optional but non-limiting implementation, according to the electric tailgate parameters of the target vehicle, determining the current support rod length after the electric tailgate rotates by a unit angle includes steps B1-B2:
[0058] Step B1, using trigonometric functions, according to the tailgate hinge installation point coordinates, the vehicle body installation point coordinates, the initial tailgate installation point coordinates and the unit angle of rotation, determine the current tailgate installation point coordinates after each rotation of the unit angle.
[0059] Step B2: determining the current length of the support rod after the electric tailgate is rotated by a unit angle according to the current tailgate installation point coordinates and the vehicle body installation point coordinates.
[0060] In this embodiment, the current tailgate installation point coordinates represent the coordinates of the tailgate installation point after the electric tailgate rotates by a unit angle each time, and the initial tailgate installation point coordinates represent the coordinates of the tailgate installation point when the electric tailgate is fully opened.
[0061] See also Figure 4 The figure shows the whole process of electric tailgate rotation. This figure shows the whole process of electric tailgate closing rotation. As shown in the figure, point A indicates the tailgate hinge installation point, point B indicates the body installation point, and point C indicates the tailgate installation point. 1Indicates the initial tailgate installation point (i.e. the position when the electric tailgate is opened to the maximum angle), C 2 , C 3 …C n represents the position of the tailgate installation point during the entire rotation process of closing, β represents the unit angle during each rotation process, l 1 , l 2 , l 3 …l n is the length of the strut during the rotation process.
[0062] Specifically, in this scenario, the coordinates of the tailgate hinge installation point and the body installation point remain unchanged. According to the coordinates of the tailgate hinge installation point and the body installation point, the distance from the tailgate hinge installation point to the body installation point, that is, the length of AB, can be determined, which is expressed by the following formula:
[0063]
[0064] Among them, x1 is the x-axis coordinate of the tailgate hinge installation point, z1 is the z-axis coordinate of the tailgate hinge installation point, x2 is the x-axis coordinate of the body installation point, z2 is the z-axis coordinate of the body installation point, and AB represents the distance from the tailgate hinge installation point to the body installation point.
[0065] According to the coordinates of the tailgate hinge installation point, the body installation point coordinates, the initial tailgate installation point coordinates and the unit angle of rotation, the current tailgate installation point coordinates after each unit angle rotation, that is, the coordinates of C2, C3...Cn can be determined by trigonometric functions.
[0066] Next, according to the current tailgate installation point coordinates and the body installation point coordinates, the current support rod length after the electric tailgate rotates a unit angle can be determined by the distance calculation formula, that is, l 1 , l 2 , l 3 …l n Length.
[0067] S120. Determine the Hall number of the support rod motor when the electric tailgate rotates by a unit angle according to the change in the support rod length.
[0068] In this embodiment, the Hall value of the strut motor indicates the number of revolutions of the strut motor. Within the same time unit, the larger the Hall value of the strut motor is, the faster the rotation speed is, and the smaller the Hall value of the strut motor is, the slower the rotation speed is.
[0069] It should be noted that the core component of the strut motor is the motor, which can provide power for the movement of the strut to control the extension or contraction of the strut. When the motor rotates a certain number of times, the strut will be extended or retracted to a fixed length through the transmission device.
[0070] In practical applications, the Hall sensor detects the rotation state of the motor and converts it into an electrical signal to feed back to the control unit to achieve precise control of the extension and retraction of the strut.
[0071] It should be noted that the forward or reverse rotation of the prop motor determines the extension direction of the prop. Generally, the forward and reverse rotation of the prop motor is controlled by sending instructions through a switch, a remote control or a vehicle control system. For example, when the prop motor rotates forward, the prop will extend upward; when the prop motor rotates reversely, the prop will retract downward.
[0072] As an optional but non-limiting implementation, determining the Hall number of the prop motor when the electric tailgate rotates a unit angle according to the change in the prop length includes steps D1-D3:
[0073] Step D1, determining the total change of the support rod and the total number of Hall signals of the support rod motor during the entire rotation process of the electric tailgate of the target vehicle.
[0074] Step D2: Determine the conversion relationship between the change in the length of the strut and the Hall number of the strut motor according to the total change in the strut and the total Hall number of the strut motor.
[0075] Step D3, determining the Hall number of the strut motor per unit angle of rotation of the electric tailgate according to the change in the strut length per unit angle of rotation of the electric tailgate and the conversion relationship between the change in the strut length and the Hall number of the strut motor.
[0076] In this embodiment, the total change of the support rod represents the change of the length of the support rod during the rotation process of the electric tailgate opening or closing, and the total number of support rod motor Halls represents the number of support rod motor Halls required during the rotation process of the electric tailgate opening or closing.
[0077] The conversion relationship between the change in the length of the strut and the Hall number of the strut motor can be described by the Hall number of the strut motor required when the change in the length of the strut is 1 mm. Specifically, when the change in the strut is 1 mm, the strut can be approximated to move at a uniform speed, so the Hall number of the strut motor required when the change in the length of the strut is 1 mm is the ratio of the total Hall number of the strut motor to the total change in the strut.
[0078] Next, record the maximum tailgate opening angle, total change of the strut and total number of strut motor Halls during the entire tailgate rotation process. Determine the number of strut motor Halls required for each rotation of the electric tailgate by multiplying the change of the strut length per unit angle per rotation of the electric tailgate by the number of strut motor Halls required when the strut length change is 1mm.
[0079] S130, controlling the opening and closing of the electric tailgate of the target vehicle according to the time for the electric tailgate to rotate a unit angle and the Hall number of the strut motor.
[0080] In this embodiment, the opening and closing of the electric tailgate of the target vehicle is controlled by adjusting the time for each rotation of the electric tailgate by a unit angle and the required Hall number of the strut motor to achieve precise control.
[0081] As an optional but non-limiting implementation, the opening and closing of the electric tailgate of the target vehicle is controlled according to the time for the electric tailgate to rotate a unit angle and the Hall number of the strut motor, including:
[0082] According to the time corresponding to each unit angle of rotation and the Hall number of the strut motor during the entire rotation process of the electric tailgate, the rotation of the electric tailgate of the target vehicle is controlled.
[0083] In this embodiment, the entire rotation process of the electric tailgate refers to an opening or closing process of the electric tailgate, and the entire rotation process of the electric tailgate includes a number of rotation processes of a unit angle.
[0084] According to the corresponding relationship between the electric tailgate rotation unit angle and time and the corresponding relationship between the angular velocity and the rotation unit angle, the corresponding relationship between the electric tailgate angular velocity and time can be obtained.
[0085] In addition, according to the time corresponding to the unit angle of rotation of the electric tailgate and the Hall number of the prop motor, the corresponding relationship between the angular velocity of the electric tailgate and the Hall number of the prop motor can be obtained. Therefore, the corresponding relationship between the angular velocity, time and the Hall number of the prop motor during the whole rotation process of the electric tailgate can be determined. According to the corresponding relationship between the angular velocity, time and the Hall number of the prop motor, the angular velocity of the electric tailgate can be accurately controlled by accurately adjusting the Hall number of the prop motor at the corresponding time.
[0086] It should be noted that the angular velocity-opening angle curve of the electric tailgate is different for different vehicles, but it can be quickly calculated using the electric tailgate control method of this embodiment, thereby obtaining efficient data output, achieving precise control of the angular velocity during the entire rotation process of the electric tailgate, and avoiding repeated design and processing.
[0087] According to the time for the electric tailgate to rotate a unit angle and the Hall number of the strut motor, the opening and closing of the electric tailgate of the target vehicle is controlled. Specifically, the angular velocity-opening angle curve of the electric tailgate of the target vehicle is first obtained, and the time for the electric tailgate to rotate to various positions and the required Hall number of the strut motor are determined according to the angular velocity-opening angle curve. The Hall number of the strut motor when the electric tailgate rotates to various positions is adjusted by software to control the electric tailgate to open or close at different angular velocities at various positions. Furthermore, when the electric tailgate is opened or closed, voice prompts can also be given, such as prompts that the electric tailgate is opening, the electric tailgate is closing, the electric tailgate is opened successfully, and the electric tailgate is closed successfully, so as to improve the user experience.
[0088] The technical solution of the embodiment of the present invention adjusts the Hall number of the strut motor corresponding to each moment or angle during the opening or closing process of the electric tailgate of the target vehicle, and controls the length of the strut of the electric tailgate to be extended and retracted within the corresponding time according to the change in the length of the strut, thereby achieving precise control of the angular velocity of each position during the entire rotation process of opening or closing the electric tailgate.
[0089] Embodiment 2
[0090] Figure 5 This is a schematic diagram of the structure of an electric tailgate control device provided in the second embodiment of the present invention. This embodiment is applicable to electric tailgate control situations. The electric tailgate control device can be implemented in the form of hardware and / or software. The electric tailgate control device can be configured in any electronic device with network communication and computing capabilities. Figure 5 As shown, the device comprises:
[0091] A strut length change and time determination module 510 is used to determine the strut length change and time of the electric tailgate of the target vehicle per unit rotation angle according to the electric tailgate parameters of the target vehicle, wherein the electric tailgate parameters include the coordinates of the tailgate hinge installation point, the body installation point coordinates, and the initial tailgate installation point coordinates;
[0092] A support rod motor Hall number determination module 520, used to determine the support rod motor Hall number when the electric tailgate rotates a unit angle according to the change in the length of the support rod;
[0093] The electric tailgate control module 530 is used to control the opening and closing of the electric tailgate of the target vehicle according to the time for the electric tailgate to rotate a unit angle and the Hall number of the strut motor.
[0094] Optionally, the strut length change and time determination module 510 includes:
[0095] The electric tailgate of the target vehicle rotates according to the rotation radius with the tailgate hinge installation point as the center, wherein the coordinates of the tailgate hinge installation point, the coordinates of the vehicle body installation point and the rotation radius do not change with the rotation process of the electric tailgate, and the coordinates of the tailgate installation point change with the rotation process of the electric tailgate.
[0096] Optionally, the strut length change and time determination module 510 includes:
[0097] A unit angle rotation time determination unit, used to determine the unit angle rotation time of the electric tailgate of the target vehicle according to the ratio of the unit angle rotation of the electric tailgate of the target vehicle to the average angular velocity of the electric tailgate rotating per unit angle;
[0098] The average angular velocity is determined according to an angular velocity-opening angle curve, and the angular velocity-opening angle curve is used to describe the relationship between the angular velocity and the angle of the electric tailgate.
[0099] Optionally, the strut length change and time determination module 510 includes:
[0100] A strut length determination unit, used to determine a historical strut length before the electric tailgate is rotated by a unit angle and a current strut length after the electric tailgate is rotated by a unit angle according to the electric tailgate parameters of the target vehicle;
[0101] The strut length change determination unit is used to determine the strut length change per unit rotation angle of the electric tailgate of the target vehicle according to the difference between the current strut length and the historical strut length.
[0102] Optionally, the strut length change and time determination module 510 includes:
[0103] a current tailgate installation point coordinate determination unit, configured to determine the current tailgate installation point coordinates after each rotation of a unit angle according to the tailgate hinge installation point coordinates, the vehicle body installation point coordinates, the initial tailgate installation point coordinates and the rotation unit angle through trigonometric functions;
[0104] The current support rod length determining unit is used to determine the current support rod length after the electric tailgate rotates by a unit angle according to the current tailgate installation point coordinates and the vehicle body installation point coordinates.
[0105] Optionally, the strut motor Hall number determination module 520 includes:
[0106] A total amount determination unit, used to determine the total change amount of the strut and the total number of Halls of the strut motor during the entire rotation process of the electric tailgate of the target vehicle;
[0107] A conversion relationship determination unit, used to determine the conversion relationship between the change in the length of the strut and the Hall number of the strut motor according to the total change in the strut and the total Hall number of the strut motor;
[0108] The support rod motor Hall number determination unit is used to determine the Hall number of the support rod motor per unit angle of rotation of the electric tailgate according to the change in the support rod length per unit angle of rotation of the electric tailgate and the conversion relationship between the change in the support rod length and the Hall number of the support rod motor.
[0109] Optionally, the electric tailgate control module 530 includes:
[0110] The rotation control unit is used to control the rotation of the electric tailgate of the target vehicle according to the time corresponding to each unit angle of rotation and the Hall number of the strut motor during the whole rotation process of the electric tailgate.
[0111] The electric tailgate control device provided in the embodiment of the present invention can execute the electric tailgate control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0112] Embodiment 3
[0113] Figure 6 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0114] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0115] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0116] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the electric tailgate control method.
[0117] In some embodiments, the electric tailgate control method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the electric tailgate control method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the electric tailgate control method in any other appropriate manner (e.g., by means of firmware).
[0118] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0119] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0120] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0121] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0122] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0123] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0124] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0125] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for controlling an electric tailgate, characterized in that: include: Determine the change in the length of the support rod and the time for the electric tailgate of the target vehicle to rotate per unit angle according to the electric tailgate parameters of the target vehicle, wherein the electric tailgate parameters include the coordinates of the tailgate hinge installation point, the body installation point coordinates, and the initial tailgate installation point coordinates; Determine the Hall number of the prop motor when the electric tailgate rotates a unit angle according to the change in the prop length; According to the time of the electric tailgate rotating a unit angle and the Hall number of the strut motor, the opening and closing of the electric tailgate of the target vehicle is controlled.
2. The method according to claim 1, characterized in that The two ends of the support rod are connected to the tailgate mounting point and the body mounting point. The electric tailgate of the target vehicle rotates according to the rotation radius with the tailgate hinge mounting point as the center of the circle, wherein the coordinates of the tailgate hinge mounting point, the coordinates of the body mounting point and the rotation radius do not change with the rotation process of the electric tailgate, and the coordinates of the tailgate mounting point change with the rotation process of the electric tailgate.
3. The method according to claim 1, characterized in that According to the electric tailgate parameters of the target vehicle, the time for the electric tailgate of the target vehicle to rotate a unit angle is determined, including: Determining the time for the electric tailgate of the target vehicle to rotate the unit angle according to the ratio of the unit angle of rotation of the electric tailgate of the target vehicle to the average angular velocity of the electric tailgate rotating the unit angle; The average angular velocity is determined according to an angular velocity-opening angle curve of the electric tailgate, and the angular velocity-opening angle curve is used to describe the relationship between the angular velocity of the electric tailgate and the opening angle of the electric tailgate. As the angle of the electric tailgate changes, the angular velocity includes three stages: increasing, remaining constant, and decreasing.
4. The method according to claim 1, characterized in that: According to the electric tailgate parameters of the target vehicle, the change in the length of the support rod of the electric tailgate of the target vehicle per unit rotation angle is determined, including: According to the electric tailgate parameters of the target vehicle, determine the historical strut length before the electric tailgate rotates by a unit angle and the current strut length after the electric tailgate rotates by a unit angle; According to the difference between the current strut length and the historical strut length, a change in the strut length per unit rotation angle of the electric tailgate of the target vehicle is determined.
5. The method according to claim 4, characterized in that According to the electric tailgate parameters of the target vehicle, the current support rod length after the electric tailgate rotates a unit angle is determined, including: Determine the coordinates of the current tailgate installation point after each rotation of the unit angle according to the tailgate hinge installation point coordinates, the vehicle body installation point coordinates, the initial tailgate installation point coordinates and the unit angle of rotation by trigonometric functions; According to the current tailgate installation point coordinates and the vehicle body installation point coordinates, a current support rod length after the electric tailgate rotates by a unit angle is determined.
6. The method according to claim 1, characterized in that According to the change in the length of the support rod, the Hall number of the support rod motor when the electric tailgate rotates by a unit angle is determined, including: Determine the total change of the strut and the total number of Halls of the strut motor during the entire rotation process of the electric tailgate of the target vehicle; Determine the conversion relationship between the change in the length of the strut and the Hall number of the strut motor according to the total change in the strut and the total Hall number of the strut motor; The Hall number of the strut motor per unit angle of rotation of the electric tailgate is determined according to the change in the length of the strut per unit angle of rotation of the electric tailgate and the conversion relationship between the change in the length of the strut and the Hall number of the strut motor.
7. The method according to claim 1, characterized in that According to the time of the electric tailgate rotating a unit angle and the Hall number of the strut motor, the opening and closing of the electric tailgate of the target vehicle is controlled, including: According to the time corresponding to each unit angle of rotation and the Hall number of the strut motor during the entire rotation process of the electric tailgate, the rotation of the electric tailgate of the target vehicle is controlled.
8. An electric tailgate control device, characterized in that: include: A strut length change and time determination module, used to determine the strut length change and time of the electric tailgate of the target vehicle per unit rotation angle according to the electric tailgate parameters of the target vehicle, wherein the electric tailgate parameters include the coordinates of the tailgate hinge installation point, the body installation point coordinates and the initial tailgate installation point coordinates; A support rod motor Hall number determination module, used to determine the support rod motor Hall number when the electric tailgate rotates a unit angle according to the change in the length of the support rod; The electric tailgate control module is used to control the opening and closing of the electric tailgate of the target vehicle according to the time for the electric tailgate to rotate a unit angle and the Hall number of the strut motor.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for controlling an electric tailgate as described in any one of claims 1 to 7 is implemented.
10. A storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to execute the electric tailgate control method as claimed in any one of claims 1 to 7 when executed by a computer processor.
