A door lock motor control method, device, equipment, and readable storage medium
By calculating real-time temperature and the number of unlocking and locking cycles, and dynamically adjusting the frequency and weighting coefficients, the problem of low accuracy in door lock motor control in existing technologies is solved, achieving more efficient thermal protection status management and ensuring motor safety and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2026-03-10
AI Technical Summary
Existing automotive door lock motor control methods fail to accurately consider the actual situation of the motor when performing a large number of unlocking and locking operations in a short period of time. This leads to a rapid increase in temperature, and after entering the thermal protection state, it is necessary to wait for a long time to re-execute the unlocking and locking operation, resulting in low control accuracy.
By acquiring the real-time temperature and number of unlocking/locking operations of the door lock motor, and combining this with the standby time to calculate the cumulative number of unlocking/locking operations, the temperature acquisition frequency and weighting coefficient are dynamically adjusted to determine whether the door enters or exits the thermal protection state, thus ensuring motor safety and control accuracy.
It improves the accuracy of door lock motor control, avoids unnecessary thermal protection states, reduces user waiting time, and enhances user experience and security.
Smart Images

Figure CN117967156B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of control, more particularly, to a door lock motor control method, device, equipment and readable storage medium. BACKGROUND
[0002] The automobile door lock motor is mainly used for remotely controlling or locally controlling the unlocking and locking state of the automobile door lock. The user can send a remote control instruction through a mobile phone Bluetooth control or application software, or send unlocking and locking information to an automobile central domain controller platform through a local key, and then the central domain controller platform transmits a signal to a controller of the door lock motor, so that the user can directly control the opening and closing state of the automobile door lock through the mobile phone or the local key. When the door lock motor executes unlocking and locking for a large number of times in a short time, the temperature of the door lock motor can rapidly increase, and in order to protect the safety of the door lock motor, the door lock motor is usually controlled to enter a thermal protection state.
[0003] At present, the automobile controller usually mechanically controls the door lock motor to enter a thermal protection state of being unable to be unlocked and locked for a fixed time when the user makes an unlocking and locking instruction more than a certain set value within a fixed time. However, this method does not consider the actual situation of the door lock motor when controlling the door lock motor to enter the thermal protection state, and a long time is needed to re-execute the unlocking and locking operation, so the control accuracy is low. SUMMARY
[0004] The embodiments of the present application provide a door lock motor control method, device, equipment and readable storage medium, which can improve the accuracy of door lock motor control.
[0005] Therefore, the embodiments of the present application provide a door lock motor control method, which comprises the following steps:
[0006] obtaining a first real-time temperature of a door lock motor;
[0007] if the first real-time temperature of the door lock motor is greater than or equal to a limit safety value, controlling the door lock motor to enter a thermal protection state;
[0008] if the first real-time temperature of the door lock motor is less than the limit safety value, and the first real-time temperature is greater than a normal safety value, obtaining an actual unlocking and locking frequency of the door lock motor in a preset period and a standby time length of the door lock motor, the standby time length being a time length from a current time to a last unlocking and locking operation of the door lock motor in the preset period;
[0009] calculating a cumulative unlocking and locking frequency of the door lock motor according to the actual unlocking and locking frequency, the standby time length and the first real-time temperature;
[0010] If the accumulated unlocking times is greater than or equal to a first number threshold, the door lock motor is controlled to enter a thermal protection state.
[0011] Optionally, the first real-time temperature of the door lock motor is obtained by:
[0012] An actual unlocking times of the door lock motor in a preset period is obtained.
[0013] If the actual unlocking times is greater than or equal to a second number threshold, the first real-time temperature of the door lock motor is obtained at a first frequency.
[0014] If the actual unlocking times is less than the second number threshold, the first real-time temperature of the door lock motor is obtained at a second frequency, the first frequency being higher than the second frequency.
[0015] Optionally, the accumulated unlocking times of the door lock motor is calculated according to the actual unlocking times, the standby duration and the first real-time temperature, comprising:
[0016] A first time weighting coefficient is determined according to the first real-time temperature.
[0017] A first number correction amount is determined according to the first time weighting coefficient and the standby duration.
[0018] The accumulated unlocking times of the door lock motor is calculated according to the actual unlocking times and the first number correction amount.
[0019] Optionally, the method further comprises:
[0020] If the door lock motor is in the thermal protection state, a second real-time temperature of the door lock motor is obtained.
[0021] If the second real-time temperature is less than a limit safety value, a thermal protection state duration of the door lock motor and an accumulated unlocking times of the door lock motor are obtained.
[0022] A second time weighting coefficient is determined according to the second real-time temperature.
[0023] A second number correction amount is determined according to the second time weighting coefficient and the thermal protection state duration.
[0024] A current accumulated unlocking times of the door lock motor is calculated according to the accumulated unlocking times and the second number correction amount.
[0025] If the current accumulated unlocking times is less than the second number threshold, the door lock motor is controlled to exit the thermal protection state.
[0026] Optionally, the method further comprises:
[0027] if the door lock motor is in the thermal protection state, determining whether a vehicle collision signal is detected;
[0028] if the vehicle collision signal is detected, controlling the door lock motor to exit the thermal protection state and controlling the door lock motor to perform an unlocking operation.
[0029] Embodiments of the present application also provide a door lock motor control device, which comprises:
[0030] a first acquisition unit configured to acquire a first real-time temperature of a door lock motor;
[0031] a control unit configured to control the door lock motor to enter a thermal protection state if the first real-time temperature of the door lock motor is greater than or equal to a limit safety value;
[0032] a second acquisition unit configured to acquire an actual unlocking frequency of the door lock motor in a preset period and a standby duration of the door lock motor if the first real-time temperature of the door lock motor is less than the limit safety value and the first real-time temperature is greater than a normal safety value, the standby duration being a duration from a current time to a time when the door lock motor performs a last unlocking operation in the preset period;
[0033] a calculation unit configured to calculate a cumulative unlocking frequency of the door lock motor according to the actual unlocking frequency, the standby duration and the first real-time temperature;
[0034] the control unit is configured to control the door lock motor to enter the thermal protection state if the cumulative unlocking frequency is greater than or equal to a first frequency threshold.
[0035] Optionally, the first acquisition unit is specifically configured to:
[0036] acquire the actual unlocking frequency of the door lock motor in the preset period;
[0037] if the actual unlocking frequency is greater than or equal to a second frequency threshold, acquire the first real-time temperature of the door lock motor at a first frequency;
[0038] if the actual unlocking frequency is less than the second frequency threshold, acquire the first real-time temperature of the door lock motor at a second frequency, the first frequency being higher than the second frequency.
[0039] Optionally, the calculation unit is specifically configured to:
[0040] determine a first time weighting coefficient according to the first real-time temperature;
[0041] determine a first frequency correction amount according to the first time weighting coefficient and the standby duration;
[0042] The cumulative unlocking times of the door lock motor is calculated according to the actual unlocking times and the first times correction amount.
[0043] The embodiment of the present application further provides a computer device, comprising a memory, a processor and a bus system.
[0044] The memory is used for storing programs.
[0045] The processor is used for executing the programs in the memory to realize any one of the door lock motor control methods.
[0046] The bus system is used for connecting the memory and the processor to make the memory and the processor communicate.
[0047] The embodiment of the present application further provides a computer readable storage medium, which stores instructions, when the instructions are run on a computer, make the computer execute any one of the door lock motor control methods.
[0048] The embodiment of the present application provides a door lock motor control method, which comprises the following steps: acquiring a first real-time temperature of a door lock motor; if the first real-time temperature of the door lock motor is greater than or equal to a limit safety value, controlling the door lock motor to enter a thermal protection state; if the first real-time temperature of the door lock motor is less than the limit safety value and greater than a normal safety value, acquiring actual unlocking times of the door lock motor in a preset period and standby time length of the door lock motor, the standby time length being a time length from a current time to a time when the door lock motor performs a last unlocking operation in the preset period; calculating cumulative unlocking times of the door lock motor according to the actual unlocking times, the standby time length and the first real-time temperature; and if the cumulative unlocking times are greater than or equal to a first times threshold, controlling the door lock motor to enter the thermal protection state. It can be seen that, since whether to control the door lock motor to enter the thermal protection state is determined based on the first real-time temperature of the door lock motor, and whether to control the door lock motor to enter the thermal protection state is determined based on the cumulative unlocking times calculated based on the first real-time temperature of the door lock motor, the standby time length and the actual unlocking times, that is, the actual situation of the door lock motor is fully considered when determining whether to control the door lock motor to enter the thermal protection state, so that the situation that the door lock motor is controlled to enter the thermal protection state without affecting the safety of the door lock motor can be avoided, thereby improving the control accuracy of the door lock motor. BRIEF DESCRIPTION OF DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the accompanying drawings in the following description only represent some embodiments of the present application, and for those skilled in the art, other drawings can be obtained based on the provided drawings without any creative effort.
[0050] Figure 1 A flowchart of a door lock motor control method provided by the embodiment of the present application is shown in the figure.
[0051] Figure 2 A flowchart of door lock motor temperature reading provided by the embodiment of the present application is shown in the figure.
[0052] Figure 3 A flowchart of controlling the door lock motor to enter a thermal protection state provided by the embodiment of the present application is shown in the figure.
[0053] Figure 4 A flowchart of controlling the door lock motor to exit a thermal protection state provided by the embodiment of the present application is shown in the figure.
[0054] Figure 5 A structural diagram of a door lock motor control device provided by the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present application will be described clearly and completely in the following with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments only represent some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort fall within the scope of the present application.
[0056] The terms "first", "second", "third", "fourth" and the like (if any) in the specification and claims of the present application and the above-described accompanying drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product or device.
[0057] The automobile door lock motor is mainly used for remote control or local control of the unlocking and locking state of the automobile door lock. The user can send a remote control instruction through a mobile phone Bluetooth control or application software, or send the unlocking and locking information to the automobile central domain controller platform through a local key, and then the central domain controller platform transmits the signal to the controller of the door lock motor. The user can directly control the opening and closing state of the automobile door lock through the mobile phone or local key. When the door lock motor executes the unlocking and locking for a large number of times in a short time, the temperature of the door lock motor may rapidly rise. In order to protect the safety of the door lock motor, the door lock motor is usually controlled to enter a thermal protection state.
[0058] At present, the automobile controller usually mechanically controls the door lock motor to enter a fixed-time thermal protection state in which the door lock motor cannot be unlocked and locked when the user issues an unlocking and locking instruction more than a certain set value within a fixed time. However, this method does not consider the actual situation of the door lock motor when controlling the door lock motor to enter the thermal protection state, and a long time is needed to re-execute the unlocking and locking operation, and the control accuracy is low.
[0059] For example, the door lock motor control method currently used by a certain automobile brand. When the door lock motor is continuously unlocked / locked more than 10 times within 8 seconds, the local door lock controller will prohibit the door lock to switch the unlocking and locking state for 10 seconds, and perform fixed-time thermal protection. After waiting for 10 seconds, the controller will regain the control right of the door lock state switching.
[0060] Therefore, in view of the above problems, the embodiment of the present application provides a door lock motor control method, device, equipment and readable storage medium, which can improve the accuracy of door lock motor control.
[0061] Please refer to Figure 1 The door lock motor control method provided by the embodiment of the present application includes the following steps.
[0062] S101, acquiring a first real-time temperature of the door lock motor.
[0063] In this embodiment, the first real-time temperature of the door lock motor can be acquired first. It can be understood that the motor temperature reading timer can be started first, the current first real-time temperature of the door lock motor is read at a specific frequency, and the first real-time temperature is transmitted through a controller area network (CAN) bus.
[0064] In a possible implementation manner, the actual unlocking times of the door lock motor in a preset period can be acquired; if the actual unlocking times are greater than or equal to a second number threshold, the first real-time temperature of the door lock motor is acquired at a first frequency; if the actual unlocking times are less than the second number threshold, the first real-time temperature of the door lock motor is acquired at a second frequency, and the first frequency is higher than the second frequency. It can be understood that the actual unlocking times of the door lock motor in a preset period can be used to determine the frequency at which the first real-time temperature is collected. If the actual unlocking times of the door lock motor in a preset period are high, it indicates that the door lock motor is more likely to have a high temperature at this time, and the first real-time temperature can be collected at a high frequency, that is, the first frequency; if the actual unlocking times of the door lock motor in a preset period are low, it indicates that the door lock motor is less likely to have a high temperature at this time, and the first real-time temperature can be collected at a low frequency, that is, the second frequency, thereby reducing the load of the initial CAN bus. The second number threshold can be set according to actual conditions.
[0065] In S102, if the first real-time temperature of the door lock motor is greater than or equal to a limit safety value, the door lock motor is controlled to enter a thermal protection state.
[0066] In this embodiment, if the first real-time temperature of the door lock motor is greater than or equal to a limit safety value, the door lock motor is controlled to enter a thermal protection state. It can be understood that if the first real-time temperature of the door lock motor is greater than or equal to a limit safety value, it indicates that the temperature of the door lock motor is high at this time, and it is extremely likely to affect the safety of the door lock motor, so the door lock motor can be immediately controlled to enter a thermal protection state to ensure the safety of the door lock motor. When the door lock motor is in the thermal protection state, the unlocking control operation of the door lock cannot be performed. The limit safety value can be set according to actual conditions, for example, it can be 60℃.
[0067] In S103, if the first real-time temperature of the door lock motor is less than a limit safety value and greater than a normal safety value, the actual unlocking times of the door lock motor in a preset period and the standby duration of the door lock motor are acquired.
[0068] In this embodiment, if the first real-time temperature of the door lock motor is less than the limit safety value and greater than the normal safety value, the actual unlocking and locking times of the door lock motor in a preset period and the standby duration of the door lock motor are obtained. It can be understood that if the first real-time temperature of the door lock motor is less than the limit safety value and greater than the normal safety value, it can be considered that the temperature of the door lock motor is high at this time, which may affect the safety of the door lock motor, and the door lock motor does not need to be immediately controlled to enter the thermal protection state at this time. The normal safety value can be set according to the actual situation, for example, it can be 40°C, and the normal safety value is less than the limit safety value. The actual unlocking and locking times of the door lock motor in a preset period and the standby duration of the door lock motor can be obtained. Specifically, a fixed duration can be set as a preset period, for example, 10 seconds, the number of actual unlocking and locking operations of the door lock motor in the preset period, that is, the actual unlocking and locking times, can be obtained. The silent duration of the door lock motor from the last unlocking and locking operation to the current time, that is, the standby duration of the door lock motor, can also be obtained, so as to further determine whether the door lock motor needs to be controlled to enter the thermal protection state.
[0069] It should be noted that if the first real-time temperature of the door lock motor is less than or equal to the normal safety value, it indicates that the door lock motor is in a safe state at this time, and the unlocking and locking times and frequency of the door lock motor can not be limited at this time. The door lock motor can arbitrarily perform door lock unlocking and locking operations.
[0070] S104, calculating the cumulative unlocking and locking times of the door lock motor according to the actual unlocking and locking times, the standby duration and the first real-time temperature.
[0071] In this embodiment, after obtaining the actual unlocking and locking times of the door lock motor and the standby duration of the door lock motor, the cumulative unlocking and locking times of the door lock motor can be calculated according to the actual unlocking and locking times, the standby duration and the first real-time temperature. It can be understood that if the actual unlocking and locking times of the door lock motor are directly used to determine whether the door lock motor needs to be controlled to enter the thermal protection state, the door lock motor may be controlled to enter the thermal protection state even if there is no safety problem, and the actual situation of the door lock motor is not considered, resulting in low control accuracy. Therefore, the actual unlocking and locking times of the door lock motor in a preset period can be corrected according to the standby duration and the first real-time temperature of the door lock motor to calculate the cumulative unlocking and locking times of the door lock motor, so as to determine whether the door lock motor needs to be controlled to enter the thermal protection state based on the corrected cumulative unlocking and locking times of the door lock motor, thereby improving the control accuracy of the door lock motor.
[0072] In a possible implementation, a first time weighting coefficient can be determined according to the first real-time temperature; a first number correction amount can be determined according to the first time weighting coefficient and the standby duration; and the cumulative unlocking number of the door lock motor can be calculated according to the actual unlocking number and the first number correction amount. It can be understood that a corresponding time weighting coefficient can be set for different real-time temperatures, which can be shown in Table 1 as follows.
[0073] Table 1: Time weighting coefficient corresponding table
[0074] Motor temperature T (°C) Time weighting factor s Number of times correction amount 1 / s 41-45 0.5 2 46-50 0.6 1.7 51-55 0.8 1.3 56-60 1 1
[0075] After the corresponding first time weighting coefficient is determined according to the first real-time temperature, the first number correction amount can be determined according to the first time weighting coefficient and the standby duration. Specifically, the product of the time weighting coefficient and the number correction amount can be 1, that is, if the time weighting coefficient is s, the number correction amount can be 1 / s. As shown in Table 1, if the first real-time temperature is 42℃, the corresponding first time weighting coefficient can be 0.5, that is, if the standby duration of the door lock motor is 1 second, the first number correction amount can be determined as 2. Finally, the cumulative unlocking number of the door lock motor can be calculated according to the actual unlocking number and the first number correction amount, specifically, the cumulative unlocking number can be calculated by subtracting the first number correction amount from the actual unlocking number. For example, if the first real-time temperature is 42℃, the first time weighting coefficient can be 0.5, and the corresponding first number correction amount is 2, and if the actual unlocking number is 13 times, the corresponding cumulative unlocking number can be 11 times. The actual unlocking number of the door lock motor in the preset period is corrected according to the standby duration of the door lock motor and the first real-time temperature, and the cumulative unlocking number of the door lock motor is calculated, so as to determine whether the door lock motor needs to enter the thermal protection state based on the corrected cumulative unlocking number of the door lock motor, thereby improving the control accuracy of the door lock motor.
[0076] In S105, if the cumulative unlocking number is greater than or equal to a first number threshold, the door lock motor is controlled to enter a thermal protection state.
[0077] In this embodiment, if the cumulative unlocking number of the door lock motor is calculated, and if the cumulative unlocking number is greater than or equal to the first number threshold, the door lock motor is controlled to enter the thermal protection state. It can be understood that if the cumulative unlocking number is greater than the first number threshold, it can be indicated that the door lock motor can be in an unsafe state at this time, and the door lock motor can be controlled to enter the thermal protection state at this time to ensure the safety of the door lock motor, thereby improving the control accuracy of the door lock motor. The first number threshold can be determined according to actual conditions, for example, it can be 15.
[0078] It should be noted that if the accumulated unlocking times is less than the first number threshold, it indicates that the door lock motor is in a safe state at this time, and the door lock motor does not need to be controlled to enter the thermal protection state, although the real-time temperature of the door lock motor is relatively high.
[0079] In one possible implementation, if the door lock motor is in the thermal protection state, a second real-time temperature of the door lock motor is obtained; if the second real-time temperature is less than the limit safety value, a thermal protection state duration of the door lock motor and an accumulated unlocking times of the door lock motor are obtained; a second time weighting coefficient is determined according to the second real-time temperature; a second number correction amount is determined according to the second time weighting coefficient and the thermal protection state duration; a current accumulated unlocking times of the door lock motor is calculated according to the accumulated unlocking times and the second number correction amount; and if the current accumulated unlocking times is less than a second number threshold, the door lock motor is controlled to exit the thermal protection state.
[0080] It can be understood that if the door lock motor is in the thermal protection state and the second real-time temperature of the door lock motor obtained in real time is less than the limit safety value, it can be determined whether the door lock motor meets the thermal protection state exit condition at this time. The second time weighting coefficient can be determined according to the second real-time temperature obtained when the door lock motor is in the thermal protection state, and the second number correction amount can be determined according to the second time weighting coefficient and the thermal protection state duration, wherein the thermal protection state duration is the duration from the starting time when the door lock motor enters the thermal protection state to the current time. After determining the second number correction amount, the accumulated unlocking times can be further corrected according to the second number correction amount to calculate the current accumulated unlocking times of the door lock motor. If the current accumulated unlocking times is less than the second number threshold, it indicates that the door lock motor is in a safe state at this time, and the door lock motor can be controlled to exit the thermal protection state. The second number threshold can be set according to actual conditions, for example, it can be 12. At present, when the door lock motor is in the thermal protection state, the thermal protection state duration of the door lock motor is usually directly used as the exit condition of the thermal protection state, that is, the user usually needs to wait for a long time to perform the unlocking operation on the door lock motor again, and the control accuracy is low. In the present example, when the door lock motor is in the thermal protection state, the current accumulated unlocking times of the door lock motor is calculated based on the second real-time temperature, the thermal protection state duration and the accumulated unlocking times, and whether the door lock motor meets the thermal protection state exit condition is judged based on the current accumulated unlocking times, which can control the door lock motor to exit the thermal protection state in the shortest possible time under the condition of ensuring the safety of the door lock motor, reduces the waiting time of the user, and further improves the accuracy of the door lock control.
[0081] In a possible implementation manner, if the door lock motor is in the thermal protection state, it is judged whether a vehicle collision signal is detected; if the vehicle collision signal is detected, the door lock motor is controlled to exit the thermal protection state, and the door lock motor is controlled to perform an unlocking operation. It can be understood that, in order to protect the safety of the user, when the door lock motor is in the thermal protection state, it can be further judged whether a vehicle collision signal is detected. If the vehicle collision signal is detected, the door lock motor can be forced to exit the thermal protection state immediately regardless of other conditions, and the door lock motor is immediately controlled to perform an unlocking operation, so that the user can quickly open the door to escape from a dangerous area.
[0082] Therefore, the embodiment of the application provides a door lock motor control method. The first real-time temperature of the door lock motor is used to determine whether to control the door lock motor to enter the thermal protection state, and the cumulative unlocking and locking times calculated based on the first real-time temperature of the door lock motor, the standby time length and the actual unlocking and locking times are used to determine whether to control the door lock motor to enter the thermal protection state. That is, the actual situation of the door lock motor is fully considered when determining whether to control the door lock motor to enter the thermal protection state. Therefore, the situation that the door lock motor is controlled to enter the thermal protection state without affecting the safety of the door lock motor can be avoided, and the control accuracy of the door lock motor is improved.
[0083] The embodiment of the application further provides another door lock motor control method, which specifically includes the following steps.
[0084] Firstly, as shown in Figure 2 , the temperature of the door lock motor can be read first, and the flow is as follows:
[0085] (1) After the door lock controller receives a vehicle unlocking and locking command, a motor temperature reading timer is started within a period t0. A lower frequency is initially set to read the current door lock motor temperature T, and the temperature is transmitted to the controller through a CAN bus to reduce the initial bus load.
[0086] (2) When the door lock controller receives an unlocking and locking command, the unlocking and locking times are accumulated, x = x + 1. After the accumulated unlocking and locking times reach 6 times, the motor temperature reading timer reads the current door lock motor temperature T at a higher frequency.
[0087] (3) When the door lock motor temperature T is lower than a limit safety value, a reasonable time weighting coefficient is calculated based on the door lock motor temperature T for the unlocking and locking motor times to be reduced.
[0088] Then, as shown in Figure 3 , the flow of controlling the door lock motor to enter the thermal protection state is as follows:
[0089] (1) To ensure the safety of the door lock motor is not damaged, first determine whether the door lock motor temperature T is higher than the limit safety value (60℃), when higher than the limit safety value, immediately enter the thermal protection state, stop the door lock controller to unlock the door lock control, but this condition is generally difficult to achieve, so it will not affect the user experience.
[0090] (2) When the door lock motor temperature T is lower than the normal safety value (40℃), the number and frequency of the motor unlocking are not limited, the unlocking number x = 0, and the user can use the door lock unlocking function arbitrarily.
[0091] (3) When the door lock motor temperature is higher than the normal safety value and less than the limit safety value, start calculating the door lock motor unlocking number, and each time the user successfully unlocks or locks, the door lock motor unlocking number increases by one. At the same time, when the user does not perform the unlocking operation within the unit time obtained by the weighting coefficient, the door lock motor unlocking number decreases by one every unit time. In the dynamic calculation process, when the door lock motor unlocking number is greater than or equal to 15 times, the door lock motor enters the thermal protection state, and the door lock controller stops outputting the unlocking signal.
[0092] Finally, as shown in Figure 4 , the flow of controlling the door lock motor to exit the thermal protection state is as follows:
[0093] (1) When the door lock controller receives the car collision signal, it forcibly exits the motor thermal protection state regardless of other conditions and outputs the unlocking signal every 3 seconds, and outputs 3 times in a row, to ensure that the door lock is in the unlocked state when the collision condition occurs, facilitating the user to escape from the car.
[0094] (2) When there is no collision, the door lock motor temperature is less than 60℃, and it is in the thermal protection state, at this time the signal door lock motor unlocking number is greater than or equal to 15, and there is no unlocking command within the unit weighting coefficient time s, the door lock motor unlocking number can be reduced according to the time weighting coefficient of the current temperature, when the number is less than or equal to 12, the door lock motor thermal protection state is exited, when the motor temperature T is between 41-45℃, the door lock motor thermal protection state can be exited in 2 seconds at the shortest, to ensure the user's experience with a smaller thermal protection time interval.
[0095] The embodiment of the application provides another door lock motor control method, which can dynamically and timely exit the door lock motor thermal protection state, ensure the safety and smoothness of the door lock switching unlocking state, and provide good use and safety for the user.
[0096] Please refer to Figure 5 , the embodiment of the application provides a door lock motor control device, the device comprises:
[0097] The first acquisition unit 501 is configured to acquire a first real-time temperature of a door lock motor.
[0098] The control unit 502 is configured to control the door lock motor to enter a thermal protection state when the first real-time temperature of the door lock motor is greater than or equal to a limit safety value.
[0099] The second acquisition unit 503 is configured to acquire an actual unlocking frequency of the door lock motor in a preset period and a standby duration of the door lock motor when the first real-time temperature of the door lock motor is less than the limit safety value and the first real-time temperature is greater than a normal safety value, the standby duration being a duration from a current time to a time when the door lock motor performs a last unlocking operation in the preset period.
[0100] The calculation unit 504 is configured to calculate a cumulative unlocking frequency of the door lock motor according to the actual unlocking frequency, the standby duration and the first real-time temperature.
[0101] The control unit 502 is configured to control the door lock motor to enter the thermal protection state when the cumulative unlocking frequency is greater than or equal to a first frequency threshold.
[0102] Optionally, the first acquisition unit 501 is specifically configured to:
[0103] acquire the actual unlocking frequency of the door lock motor in the preset period.
[0104] If the actual unlocking frequency is greater than or equal to a second frequency threshold, the first real-time temperature of the door lock motor is acquired at a first frequency.
[0105] If the actual unlocking frequency is less than the second frequency threshold, the first real-time temperature of the door lock motor is acquired at a second frequency, and the first frequency is higher than the second frequency.
[0106] Optionally, the calculation unit 504 is specifically configured to:
[0107] determine a first time weighting coefficient according to the first real-time temperature;
[0108] determine a first frequency correction amount according to the first time weighting coefficient and the standby duration;
[0109] calculate the cumulative unlocking frequency of the door lock motor according to the actual unlocking frequency and the first frequency correction amount.
[0110] Optionally, the apparatus further includes:
[0111] The first acquisition unit 501 is further configured to acquire a second real-time temperature of the door lock motor when the door lock motor is in the thermal protection state.
[0112] The second acquisition unit 503 is further configured to acquire a duration of a thermal protection state of the door lock motor and a cumulative number of times of unlocking of the door lock motor if the second real-time temperature is less than the limit safety value.
[0113] The calculation unit 504 is further configured to determine a second time weighting coefficient according to the second real-time temperature.
[0114] The calculation unit 504 is further configured to determine a second number correction amount according to the second time weighting coefficient and the duration of the thermal protection state.
[0115] The calculation unit 504 is further configured to calculate a current cumulative number of times of unlocking of the door lock motor according to the cumulative number of times of unlocking and the second number correction amount.
[0116] The control unit 502 is further configured to control the door lock motor to exit the thermal protection state if the current cumulative number of times of unlocking is less than a second number threshold.
[0117] Optionally, the method further comprises:
[0118] The judgment unit is configured to judge whether a car collision signal is detected if the door lock motor is in the thermal protection state.
[0119] The control unit 502 is further configured to control the door lock motor to exit the thermal protection state and control the door lock motor to perform an unlocking operation if the car collision signal is detected.
[0120] Therefore, the embodiment of the application provides a door lock motor control device. Since whether the door lock motor enters the thermal protection state is determined based on the first real-time temperature of the door lock motor, and whether the door lock motor enters the thermal protection state is determined based on the cumulative number of times of unlocking calculated according to the first real-time temperature of the door lock motor, the standby duration and the actual number of times of unlocking, that is, the actual situation of the door lock motor is fully considered when determining whether the door lock motor enters the thermal protection state, so that the situation that the door lock motor enters the thermal protection state without affecting the safety of the door lock motor can be avoided, thereby improving the control accuracy of the door lock motor.
[0121] The embodiment of the application further provides a computer device, comprising a memory, a processor and a bus system.
[0122] The memory is configured to store a program.
[0123] The processor is configured to execute the program in the memory to implement any one of the door lock motor control methods described above.
[0124] The bus system is used to connect the memory and the processor to enable communication between the memory and the processor.
[0125] This application also provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform any of the door lock motor control methods described above.
[0126] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0127] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method of controlling a door lock motor, characterized by, The method comprises: acquiring a first real-time temperature of a door lock motor; if the first real-time temperature of the door lock motor is greater than or equal to a limit safety value, controlling the door lock motor to enter a thermal protection state; if the first real-time temperature of the door lock motor is less than the limit safety value and greater than a normal safety value, acquiring an actual unlocking frequency of the door lock motor in a preset period and a standby duration of the door lock motor, the standby duration being a duration from a current time to a time when the door lock motor performs a last unlocking operation in the preset period; calculating a cumulative unlocking frequency of the door lock motor according to the actual unlocking frequency, the standby duration and the first real-time temperature; if the cumulative unlocking frequency is greater than or equal to a first frequency threshold, controlling the door lock motor to enter the thermal protection state.
2. The method of claim 1, wherein, The method further comprises: acquiring the first real-time temperature of the door lock motor, comprising: acquiring an actual unlocking frequency of the door lock motor in a preset period; if the actual unlocking frequency is greater than or equal to a second frequency threshold, acquiring the first real-time temperature of the door lock motor at a first frequency; 3. The method of claim 1, wherein, if the actual unlocking frequency is less than the second frequency threshold, acquiring the first real-time temperature of the door lock motor at a second frequency, the first frequency being higher than the second frequency. The method further comprises: calculating the cumulative unlocking frequency of the door lock motor according to the actual unlocking frequency, the standby duration and the first real-time temperature, comprising: determining a first time weighting coefficient according to the first real-time temperature; 4. The method of claim 1, wherein, determining a first frequency correction amount according to the first time weighting coefficient and the standby duration; calculating the cumulative unlocking frequency of the door lock motor according to the actual unlocking frequency and the first frequency correction amount. The method further comprises: if the door lock motor is in the thermal protection state, acquiring a second real-time temperature of the door lock motor; if the second real-time temperature is less than the limit safety value, acquiring a thermal protection state duration of the door lock motor and a cumulative unlocking frequency of the door lock motor; determining a second time weighting coefficient according to the second real-time temperature; determining a second frequency correction amount according to the second time weighting coefficient and the thermal protection state duration; 5. The method of claim 1, wherein, calculating a current cumulative unlocking frequency of the door lock motor according to the cumulative unlocking frequency and the second frequency correction amount; if the current cumulative unlocking frequency is less than the second frequency threshold, controlling the door lock motor to exit the thermal protection state. The method further comprises:
6. A door lock motor control device characterized by comprising: if the door lock motor is in the thermal protection state, determining whether a vehicle collision signal is detected; if the vehicle collision signal is detected, controlling the door lock motor to exit the thermal protection state and controlling the door lock motor to perform an unlocking operation. The device comprises: a first acquisition unit, configured to acquire a first real-time temperature of a door lock motor; a control unit, configured to control the door lock motor to enter a thermal protection state if the first real-time temperature of the door lock motor is greater than or equal to a limit safety value. The second acquisition unit is configured to acquire an actual unlocking frequency of the door lock motor in a preset period and a standby duration of the door lock motor in a case where a first real-time temperature of the door lock motor is less than a limit safety value and the first real-time temperature is greater than a normal safety value, the standby duration being a duration from a current time to a time when the door lock motor performs a last unlocking operation in the preset period; The calculation unit is configured to calculate a cumulative unlocking frequency of the door lock motor according to the actual unlocking frequency, the standby duration and the first real-time temperature. The control unit is configured to control the door lock motor to enter a thermal protection state in a case where the cumulative unlocking frequency is greater than or equal to a first frequency threshold.
7. The apparatus of claim 6, wherein, The first acquisition unit is specifically configured to: acquire the actual unlocking frequency of the door lock motor in the preset period; if the actual unlocking frequency is greater than or equal to a second frequency threshold, acquire the first real-time temperature of the door lock motor at a first frequency; if the actual unlocking frequency is less than the second frequency threshold, acquire the first real-time temperature of the door lock motor at a second frequency, the first frequency being higher than the second frequency.
8. The apparatus of claim 6, wherein, The calculation unit is specifically configured to: determine a first time weighting coefficient according to the first real-time temperature; determine a first frequency correction amount according to the first time weighting coefficient and the standby duration; calculate the cumulative unlocking frequency of the door lock motor according to the actual unlocking frequency and the first frequency correction amount.
9. A computer device, comprising: The system comprises: a memory, a processor and a bus system; the memory is configured to store a program; the processor is configured to execute the program in the memory to implement the method in any one of claims 1 to 5; the bus system is configured to connect the memory and the processor to enable the memory and the processor to communicate.
10. A computer-readable storage medium, characterized in that, instructions stored thereon, when executed on a computer, cause the computer to perform the method in any one of claims 1 to 5.
Citation Information
Patent Citations
Luggage case door lock motor protection method and system
CN104934941A
Electric control method for automatic outward sliding door system of vehicle
CN109057582A