CN115584904A - Opening and closing member control method, device, equipment and storage medium - Google Patents

Opening and closing member control method, device, equipment and storage medium Download PDF

Info

Publication number
CN115584904A
CN115584904A CN202211194022.7A CN202211194022A CN115584904A CN 115584904 A CN115584904 A CN 115584904A CN 202211194022 A CN202211194022 A CN 202211194022A CN 115584904 A CN115584904 A CN 115584904A
Authority
CN
China
Prior art keywords
voltage
opening
closing member
voltage sampling
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211194022.7A
Other languages
Chinese (zh)
Inventor
邹明平
连志伟
史月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfeng Nissan Passenger Vehicle Co
Original Assignee
Dongfeng Nissan Passenger Vehicle Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfeng Nissan Passenger Vehicle Co filed Critical Dongfeng Nissan Passenger Vehicle Co
Priority to CN202211194022.7A priority Critical patent/CN115584904A/en
Publication of CN115584904A publication Critical patent/CN115584904A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05FDEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05F15/00Power-operated mechanisms for wings
    • E05F15/60Power-operated mechanisms for wings using electrical actuators
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05FDEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05F15/00Power-operated mechanisms for wings
    • E05F15/40Safety devices, e.g. detection of obstructions or end positions
    • E05F15/42Detection using safety edges
    • E05F15/46Detection using safety edges responsive to changes in electrical capacitance
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05YINDEXING SCHEME ASSOCIATED WITH SUBCLASSES E05D AND E05F, RELATING TO CONSTRUCTION ELEMENTS, ELECTRIC CONTROL, POWER SUPPLY, POWER SIGNAL OR TRANSMISSION, USER INTERFACES, MOUNTING OR COUPLING, DETAILS, ACCESSORIES, AUXILIARY OPERATIONS NOT OTHERWISE PROVIDED FOR, APPLICATION THEREOF
    • E05Y2900/00Application of doors, windows, wings or fittings thereof
    • E05Y2900/50Application of doors, windows, wings or fittings thereof for vehicles
    • E05Y2900/53Type of wing

Landscapes

  • Operating, Guiding And Securing Of Roll- Type Closing Members (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for controlling an opening and closing component, and belongs to the technical field of vehicle control. According to the invention, in the process of movement of the opening and closing component, the working voltage of the driving mechanism corresponding to the opening and closing component is obtained; when the working voltage is detected to be reduced, recording the voltage change rate of the working voltage within a preset time period; when the voltage change rate satisfies the preset condition, through actuating mechanism control the switching component stop motion, through the voltage change rate of paying close attention to the decline section, satisfy the preset condition at the voltage change rate and can judge that the voltage has the dip to stop the tail-gate motion and avoid the mistake to prevent pressing from both sides, can solve the problem that electronic shutter normally does in mains voltage dip reliably, make the motion of electronic switching piece accord with the expectation.

Description

Opening and closing member control method, device, equipment and storage medium
Technical Field
The present invention relates to the field of vehicle control technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling an opening/closing member.
Background
In the process of opening or closing the electric opening and closing object of the vehicle, the power supply voltage of the storage battery is rapidly reduced at the moment of starting an engine or starting a high-power electric appliance, and simultaneously, the voltage of the driving mechanism of the opening and closing object is rapidly reduced, so that the opening and closing speed is reduced. The anti-pinch function of the electric opening and closing object is that the normal movement of the opening and closing element is blocked by the external object or personnel, so that the opening and closing speed is reduced. These two different scenarios are prone to false reversals or false movements of the motorized shutter.
For the situation, taking an electric vehicle as an example, the current adopted mode is that when the voltage of a power supply changes rapidly, the voltage drops to a certain amplitude V1, and the opening and closing speed drops; if the voltage continuously exceeds a certain time delta t1, the electric vehicle door pauses to move, so that inconvenience, displeasure or scaring of customers caused by mistaken reversal of the vehicle door is avoided, and the previous electric motion is continued after the voltage is restored to V1'.
However, in this way, there is a problem that when the vehicle is mistakenly prevented from being pinched, the voltage may drop to V1 for a duration less than Δ t1, or the voltage does not drop to V1, but the existing strategy cannot work because the judgment condition is not met, so that the control logic is disturbed, and the movement of the electric opening and closing member is not expected.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for controlling an opening and closing component, and aims to solve the technical problem that the control strategy for preventing mistaken clamping is disordered in the prior art, and the movement of an electric opening and closing piece cannot be in accordance with the expectation.
To achieve the above object, the present invention provides an opening and closing member control method including the steps of:
acquiring the working voltage of a driving mechanism corresponding to the opening and closing component in the process of the movement of the opening and closing component;
when the working voltage is detected to be reduced, recording the voltage change rate of the working voltage within a preset time period;
and when the voltage change rate meets a preset condition, controlling the opening and closing member to stop moving through the driving mechanism.
Optionally, the voltage change rate includes a slope of a voltage sampling point on a voltage change process curve;
the recording of the voltage change rate of the working voltage within a preset time period comprises:
taking the moment when the working voltage is reduced as a reference, and acquiring N voltage sampling points in a preset time period from the voltage change process curve;
and calculating the slopes of the N-1 voltage sampling points corresponding to the N voltage sampling points.
Optionally, a preset voltage sampling period is arranged between each voltage sampling point;
the calculating the slope of the N-1 voltage sampling points corresponding to the N voltage sampling points comprises:
acquiring voltage corresponding to each voltage sampling point;
and calculating the slope of the N-1 voltage sampling points according to the voltage corresponding to each voltage sampling point and the preset voltage sampling period.
Optionally, before calculating the slopes of the N-1 voltage sampling points corresponding to the N voltage sampling points, the method further includes:
calculating the minimum sampling number of the voltage sampling points according to the preset time period and the preset voltage sampling period;
and if N is larger than the minimum sampling number, executing the step of calculating the slope of N-1 voltage sampling points corresponding to the N voltage sampling points.
Optionally, before the driving mechanism controls the opening and closing member to stop moving when the voltage change rate satisfies a preset condition, the method further includes:
respectively comparing the slopes of the N-1 voltage sampling points with a preset slope threshold;
and if the slopes of the N-1 voltage sampling points are all larger than the preset slope threshold, judging that the voltage change rate meets a preset condition.
Optionally, before the driving mechanism controls the opening and closing member to stop moving when the voltage change rate satisfies a preset condition, the method further includes:
calculating the average slope of the slopes of the N-1 voltage sampling points;
and if the average slope is larger than a target slope threshold, judging that the voltage change rate meets a preset condition.
Optionally, before determining that the voltage change rate satisfies a preset condition if the average slope is greater than a target slope threshold, the method further includes:
and calculating a target slope threshold according to a preset scale factor and the preset slope threshold.
Further, in order to achieve the above object, the present invention also proposes an opening-closing member control device including:
the acquisition module is used for acquiring the working voltage of the driving mechanism corresponding to the opening and closing component in the movement process of the opening and closing component;
the calculation module is used for recording the voltage change rate of the working voltage within a preset time period when the working voltage is detected to be reduced;
and the control module is used for controlling the opening and closing component to stop moving through the driving mechanism when the voltage change rate meets a preset condition.
Further, to achieve the above object, the present invention also proposes an opening-closing member control apparatus including: a memory, a processor and an opening and closing member control program stored on the memory and run on the processor, the opening and closing member control program being configured to implement the opening and closing member control method as described above.
Further, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon an opening and closing member control program which, when executed by a processor, realizes the opening and closing member control method as described above.
According to the invention, in the process of movement of the opening and closing component, the working voltage of the driving mechanism corresponding to the opening and closing component is obtained; when the working voltage is detected to be reduced, recording the voltage change rate of the working voltage within a preset time period; when the voltage change rate satisfies the preset condition, through actuating mechanism control the switching component stop motion, through the voltage change rate of paying close attention to the decline section, satisfy the preset condition at the voltage change rate and can judge that the voltage has the dip to stop the tail-gate motion and avoid the mistake to prevent pressing from both sides, can solve the problem that electronic shutter normally does in mains voltage dip reliably, make the motion of electronic switching piece accord with the expectation.
Drawings
Fig. 1 is a schematic structural diagram of an opening and closing member control apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for controlling an opening/closing member according to a first embodiment of the present invention;
FIG. 3 is a schematic view of a voltage drop scenario in an embodiment of a method for controlling an opening/closing member according to the present invention;
FIG. 4 is a schematic view of a voltage drop scenario in an embodiment of a method for controlling an opening/closing member according to the present invention;
FIG. 5 is a schematic diagram of a predetermined time period in an embodiment of a method for controlling an opening/closing member according to the present invention;
FIG. 6 is a schematic flow chart of a method for controlling an opening/closing member according to a second embodiment of the present invention;
FIG. 7 is a schematic view of a voltage variation process curve according to an embodiment of the method for controlling an opening/closing member of the present invention;
FIG. 8 is a schematic diagram illustrating an accidental voltage drop in an embodiment of a method for controlling an opening/closing member according to the present invention;
FIG. 9 is a schematic flow chart showing a method of controlling an opening/closing member according to a third embodiment of the present invention;
fig. 10 is a block diagram showing the configuration of the opening/closing member control apparatus according to the first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an opening and closing member control apparatus in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the opening and closing member control apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the opening and closing member control apparatus, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of storage medium, may include therein an operating system, a network communication module, a user interface module, and an opening and closing member control program.
In the opening-closing member control apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the opening and closing member control apparatus of the present invention may be provided in the opening and closing member control apparatus which calls the opening and closing member control program stored in the memory 1005 through the processor 1001 and executes the opening and closing member control method provided by the embodiment of the present invention.
An embodiment of the present invention provides a method for controlling an opening/closing member, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the method for controlling an opening/closing member according to the present invention.
In this embodiment, the opening/closing member control method includes the steps of:
step S10: and acquiring the working voltage of the driving mechanism corresponding to the opening and closing member in the movement process of the opening and closing member.
In this embodiment, the execution main body of this embodiment may be the opening and closing member control apparatus having functions of data processing, data communication, program execution, and the like, and the opening and closing member control apparatus may be a controller inside an air conditioner. Of course, other devices with similar functions may be used, and the present embodiment is not limited thereto. For convenience of explanation, the present embodiment will be described taking an opening and closing member control device as an example.
It should be noted that, during the opening or closing movement of the electric opening/closing device of the vehicle, the voltage of the battery power supply is rapidly reduced at the moment of starting the engine or the high-power electric device, and the voltage of the opening/closing device driving mechanism is also rapidly reduced, which causes the reduction of the opening/closing speed. The anti-pinch function of the electric opening and closing object is that the normal movement of the opening and closing element is blocked by the external object or personnel, so that the opening and closing speed is reduced. These two different scenarios are prone to false reversals or false movements of the motorized shutter. For the situation, taking an electric vehicle as an example, the current adopted mode is that when the voltage of a power supply changes rapidly, the voltage drops to a certain amplitude V1, and the opening and closing speed drops; if the voltage continuously exceeds a certain time delta t1, the electric vehicle door pauses to move, so that inconvenience, displeasure or scaring of customers caused by mistaken reversal of the vehicle door is avoided, and the previous electric motion is continued after the voltage is restored to V1'.
It should be emphasized that the currently adopted method requires the voltage to drop below a certain voltage to perform the judgment of the false anti-pinch and thus the control of the false anti-pinch, for example, as shown in fig. 3, the currently adopted judgment method requires the voltage to drop below 9V to perform the judgment, and if the starting voltage does not reach below 9V, the judgment is not performed. Further, the current method may further detect whether the duration after the voltage drops to a certain value satisfies the condition, as shown in fig. 4, if the voltage rises back to above 9V at time T2, it may be determined that no erroneous anti-pinch occurs, but from the view of the waveform diagram, the voltage value is also relatively low, the driving speed is low, which may also result in erroneous anti-pinch, and the movement of the vehicle door in which the erroneous anti-pinch occurs may not be controlled according to the current scheme.
In order to solve the above technical problem, as shown in fig. 3 and fig. 4, in this embodiment, only the slope of the descending section is focused, and it can be determined that the voltage has a sudden drop, so as to stop the motion of the tail gate to avoid the mistaken anti-pinch, and effectively cope with this situation.
In the present embodiment, the opening/closing member is an electrically operated opening/closing member, and the opening/closing member may be a member such as an electrically operated side door or an electrically operated tailgate, taking a vehicle as an example.
In specific implementation, the sudden drop of voltage can make the anti-pinch of system take place the reversal, electric door is in the motion process of switching, vehicle power supply voltage changes and leads to its motion that produces wrong direction, for example open in the door closing process is reverse suddenly, to the situation that both is unusual danger to lateral barrier or front and back's passenger/the car of coming, again like electric back door or suitcase in the motion process of switching, the driver starts vehicle or high-power electrical apparatus in the car, control logic disorder leads to the back door mistake reversal to cause the injury, in this embodiment in order to prevent the emergence of this reversal condition, need carry out real-time supervision to the operating voltage of the actuating mechanism that the component corresponds of opening and close.
Step S20: and when the working voltage is detected to be reduced, recording the voltage change rate of the working voltage within a preset time period.
In a specific implementation, the method adopted in this embodiment is to calculate a voltage change rate of the operating voltage, that is, when the operating voltage of the driving mechanism decreases, the operating voltage of the driving mechanism is recorded from the time when the operating voltage decreases, and the voltage change rate of the operating voltage is recorded for a period of time, that is, for a preset period of time. The preset time period may be a minimum value under each working condition that the door is erroneously reversed and is measured during development, and may be set to other time periods according to actual requirements, which is not limited in this embodiment. For example, Δ T shown in fig. 5 is preset time period, the working voltage of the driving mechanism in normal operation is V0, the time period corresponding to the working voltage reduction stage is Δ T, and what is recorded in this embodiment is the voltage change rate in the time period. Specifically, in this embodiment, the voltage change rate may be calculated according to the voltage drop amount and the preset time period, and the specific calculation manner in this embodiment is not limited thereto, and may be selected according to an actual situation.
Step S30: and when the voltage change rate meets a preset condition, controlling the opening and closing member to stop moving through the driving mechanism.
In this embodiment, after obtaining the voltage change rate, it is determined whether the voltage change rate satisfies a predetermined condition, and if the voltage change rate satisfies the predetermined condition, it indicates that the opening/closing member may be erroneously prevented from being jammed due to insufficient driving force caused by voltage reduction, in which case, the opening/closing member is controlled to stop moving.
In the embodiment, the working voltage of the driving mechanism corresponding to the opening and closing component is obtained in the process of the movement of the opening and closing component; when the working voltage is detected to be reduced, recording the voltage change rate of the working voltage within a preset time period; when the voltage change rate satisfies the preset condition, through actuating mechanism control the switching component stop motion, through the voltage change rate of paying close attention to the decline section, satisfy the preset condition at the voltage change rate and can judge that the voltage has the dip to stop the tail-gate motion and avoid the mistake to prevent pressing from both sides, can solve the problem that electronic shutter normally does in mains voltage dip reliably, make the motion of electronic switching piece accord with the expectation.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method for controlling an opening/closing member according to a second embodiment of the present invention.
Based on the first embodiment, in the opening/closing member control method according to the present embodiment, the step S20 specifically includes:
step S201: and taking the moment when the working voltage is reduced as a reference, and acquiring N voltage sampling points in a preset time period from the voltage change process curve.
In specific implementation, the voltage change rate in this embodiment is also the slope of the voltage sampling points on the voltage change process curve, the voltage change process curve is shown in fig. 7, the number of the voltage sampling points shown in fig. 7 is 4, that is, 4 voltage sampling points in the preset time period are obtained in this embodiment, and V1, V2, V3, and V4 shown in fig. 7 are all voltage sampling points.
Step S202: and calculating the slopes of the N-1 voltage sampling points corresponding to the N voltage sampling points.
In a specific implementation, the slopes of the voltage sampling points corresponding to the N voltage sampling points are N-1, for example, the slopes of the voltage sampling points corresponding to the 4 voltage sampling points, i.e., V1, V2, V3 and V4 in fig. 7, are K1, K2 and K3.
Further, when calculating the slope of the voltage sampling points, it is necessary to first obtain the voltages corresponding to the voltage sampling points, i.e., the voltages V1, V2, V3, and V4 corresponding to 4 voltage sampling points in fig. 7. In this embodiment, the voltage sampling points are obtained according to a preset voltage sampling period, for example, the preset voltage sampling period is Cd, and the preset time period is Δ T, the number of the voltage sampling points is Nc = round (Δ T/Cd-1), a downward rounding mode is adopted, the interval time between each sampling point is the preset voltage sampling period, and the slope of the voltage sampling point can be calculated according to the voltage corresponding to each voltage sampling point and the preset voltage sampling period, for example, the slope K1= (V1-V2)/Cd between V1 and V2, the slope K2= (V2-V3)/Cd between V2 and V3, and the slope K3= (V3-V4)/Cd between V3 and V4. Through the above manner, the slope of the N-1 voltage sampling points corresponding to the N voltage sampling points can be calculated, wherein the preset voltage sampling period can be correspondingly set according to actual requirements, which is not limited in this embodiment, and the voltage corresponding to each voltage sampling point can be directly read from the voltage change process curve.
Further, in an actual process, a situation that voltage is accidentally reduced exists in a driving mechanism corresponding to the opening and closing member, but the duration of the process is very short, and the current judgment mode can consider that the opening and closing mechanism triggers the mistaken anti-pinch mechanism, so that the opening and closing mechanism can be controlled to stop moving, but in fact, the situation is considered that the mistaken anti-pinch mechanism triggers the mistaken anti-pinch mechanism unreasonably, in order to avoid the situation, in the embodiment, the minimum sampling number of the voltage sampling points can be calculated according to a preset time period and a preset voltage sampling period, if the voltage sampling points appearing in a period of time are smaller than the minimum sampling number, for example, as shown in fig. 8, the accidental reduction of the voltage cannot meet continuous slope judgment of multiple points, the number of the voltage sampling points actually acquired according to the preset voltage sampling period is smaller than the minimum sampling number calculated based on a theory, and the situation can be avoided by the mode.
In the embodiment, by taking the time when the working voltage decreases as a reference, N voltage sampling points within a preset time period are obtained from the voltage change process curve to obtain the voltage corresponding to each voltage sampling point; calculating the slopes of N-1 voltage sampling points according to the voltages corresponding to the voltage sampling points and the preset voltage sampling period, accurately calculating the slopes of the voltage sampling points, and calculating the minimum sampling number of the voltage sampling points according to the preset time period and the preset voltage sampling period; if N is larger than the minimum sampling number, the step of calculating the slopes of the N-1 voltage sampling points corresponding to the N voltage sampling points is executed, the condition that continuous slope judgment of a plurality of points cannot be met can be met through voltage accidental reduction, the interference of voltage accidental reduction is eliminated, and the accuracy of judgment logic is improved.
Referring to fig. 9, fig. 9 is a flow chart illustrating a method for controlling an opening/closing member according to a third embodiment of the present invention.
Based on the second embodiment, in this embodiment, before the step S30, the method further includes:
step S301: and respectively comparing the slopes of the N-1 voltage sampling points with a preset slope threshold.
In a specific implementation, in this embodiment, whether the voltage change rate satisfies the preset condition may be determined by comparing the slopes of the N-1 voltage sampling points with a preset slope threshold, respectively.
Specifically, after the slopes of the N-1 voltage sampling points are respectively compared with the preset slope threshold, if the slopes of the N-1 voltage sampling points are all greater than the preset slope threshold, it is determined that the voltage change rate satisfies the preset condition in this embodiment. For example, assuming that the preset slope threshold is Kmin, the slopes of the calculated voltage sampling points are K1, K2, and K3, if (K1 > K min) & (K2 > Kmin) & (K3 > Kmin), that is, K1, K2, and K3 are simultaneously greater than the preset slope threshold Kmin, in this embodiment, it is determined that the voltage change rate satisfies the preset condition. When the engine is started, the voltage falling section has a slope minimum value Kmin, the value can be obtained by collecting the starting voltage waveform during development, in addition, the preset evil path threshold value can be correspondingly set according to actual requirements, and the limitation is not imposed in the embodiment.
Furthermore, in consideration of influences of system fluctuation, the number of sampling samples and the like, a scale factor is added in actual calculation to absorb the fluctuation, so that the robustness of the algorithm is improved.
In specific implementation, in this embodiment, an average slope of slopes of the N-1 voltage sampling points is further calculated, then the calculated average slope is compared with a target slope threshold, and if the calculated average slope is greater than the target slope threshold, it is determined that the voltage change rate satisfies a preset condition in this embodiment. For example, if the calculated slopes of the voltage sampling points are K1, K2, and K3, and the calculated average slope is (K1 + K2+ K3)/3, and if the target slope is Kt, it is determined that the voltage change rate satisfies the preset condition in this embodiment if (K1 + K2+ K3)/3 > Kt.
Further, the target slope threshold in this embodiment may be obtained by calculating a preset scale factor and a preset slope threshold, for example, the preset scale factor Py, where the preset slope threshold is Kmin, and the target slope threshold may be calculated as Py × Kmin, where the preset scale factor may be set correspondingly according to an actual requirement, and the present embodiment is not limited to this.
In the embodiment, the slopes of the N-1 voltage sampling points are respectively compared with a preset slope threshold; if the slopes of the N-1 voltage sampling points are all larger than the preset slope threshold, judging that the voltage change rate meets a preset condition, more accurately judging whether the voltage change rate meets the preset condition or not through the slopes of the voltage sampling points, and further calculating the average slope of the slopes of the N-1 voltage sampling points; if the average slope is larger than the target slope threshold, the voltage change rate is judged to meet the preset condition, the target slope threshold is obtained through proportional factor calculation, and fluctuation is absorbed through the proportional factor, so that the robustness of the algorithm is improved, and the accuracy of judgment is further improved.
Furthermore, an embodiment of the present invention also proposes a storage medium having stored thereon an opening-closing member control program that, when executed by a processor, implements the steps of the opening-closing member control method as described above.
Since the storage medium adopts all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and details are not repeated herein.
Referring to fig. 10, fig. 10 is a block diagram showing the structure of the opening/closing member control apparatus according to the first embodiment of the present invention.
As shown in fig. 10, an opening/closing member control device according to an embodiment of the present invention includes:
the acquisition module 10 is configured to acquire an operating voltage of a driving mechanism corresponding to the opening and closing member in a process of moving the opening and closing member.
And the calculating module 20 is configured to record a voltage change rate of the working voltage within a preset time period when the working voltage drop is detected.
And a control module 30, configured to control the opening and closing member to stop moving through the driving mechanism when the voltage change rate satisfies a preset condition.
In the embodiment, the working voltage of the driving mechanism corresponding to the opening and closing component is obtained in the process of the movement of the opening and closing component; when the working voltage is detected to be reduced, recording the voltage change rate of the working voltage within a preset time period; when the voltage change rate satisfies the preset condition, through actuating mechanism control the switching component stop motion, through the voltage change rate of paying close attention to the decline section, satisfy the preset condition at the voltage change rate and can judge that the voltage has the dip to stop the tail-gate motion and avoid the mistake to prevent pressing from both sides, can solve the problem that electronic shutter normally does in mains voltage dip reliably, make the motion of electronic switching piece accord with the expectation.
In one embodiment, the voltage change rate comprises a slope of a voltage sampling point on a voltage change process curve;
the calculation module 20 is further configured to obtain N voltage sampling points within a preset time period from the voltage change process curve with a time when the working voltage decreases as a reference; and calculating the slopes of the N-1 voltage sampling points corresponding to the N voltage sampling points.
In one embodiment, each voltage sampling point is spaced by a preset voltage sampling period;
the calculation module 20 is further configured to obtain voltages corresponding to the voltage sampling points; and calculating the slope of the N-1 voltage sampling points according to the voltage corresponding to each voltage sampling point and the preset voltage sampling period.
In one embodiment, the opening and closing member control device includes a determination module;
the judgment module is used for calculating the minimum sampling number of the voltage sampling points according to the preset time period and the preset voltage sampling period;
the calculating module 20 is further configured to execute the step of calculating the slopes of the N-1 voltage sampling points corresponding to the N voltage sampling points if N is greater than the minimum sampling number.
The judgment module is also used for comparing the slopes of the N-1 voltage sampling points with a preset slope threshold value respectively; and if the slopes of the N-1 voltage sampling points are all larger than the preset slope threshold, judging that the voltage change rate meets a preset condition.
The judgment module is also used for calculating the average slope of the slopes of the N-1 voltage sampling points; and if the average slope is larger than a target slope threshold, judging that the voltage change rate meets a preset condition.
The calculating module 20 is further configured to calculate a target slope threshold according to a preset scaling factor and the preset slope threshold.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-mentioned work flows are only illustrative and do not limit the scope of the present invention, and in practical applications, those skilled in the art may select some or all of them according to actual needs to implement the purpose of the solution of the present embodiment, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment can be referred to the opening/closing member control method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An opening-closing member control method characterized by comprising:
acquiring the working voltage of a driving mechanism corresponding to the opening and closing component in the process of the movement of the opening and closing component;
when the working voltage is detected to be reduced, recording the voltage change rate of the working voltage within a preset time period;
and when the voltage change rate meets a preset condition, controlling the opening and closing member to stop moving through the driving mechanism.
2. The opening-closing member control method according to claim 1, wherein the voltage change rate includes a slope of a voltage sampling point on a voltage change course curve;
the recording of the voltage change rate of the working voltage within the preset time period includes:
taking the time when the working voltage is reduced as a reference, and acquiring N voltage sampling points in a preset time period from the voltage change process curve;
and calculating the slopes of the N-1 voltage sampling points corresponding to the N voltage sampling points.
3. The opening-closing member control method according to claim 2, wherein each voltage sampling point is spaced by a preset voltage sampling period;
the calculating the slope of the N-1 voltage sampling points corresponding to the N voltage sampling points comprises:
acquiring voltages corresponding to the voltage sampling points;
and calculating the slope of the N-1 voltage sampling points according to the voltage corresponding to each voltage sampling point and the preset voltage sampling period.
4. The opening-closing member control method according to claim 2, wherein before calculating the slopes of N-1 voltage sampling points corresponding to the N voltage sampling points, further comprising:
calculating the minimum sampling number of the voltage sampling points according to the preset time period and the preset voltage sampling period;
and if N is larger than the minimum sampling number, executing the step of calculating the slope of N-1 voltage sampling points corresponding to the N voltage sampling points.
5. The opening-closing member control method according to claim 2, wherein before controlling the opening-closing member to stop moving by the drive mechanism when the rate of change in voltage satisfies a preset condition, further comprising:
respectively comparing the slopes of the N-1 voltage sampling points with a preset slope threshold;
and if the slopes of the N-1 voltage sampling points are all larger than the preset slope threshold, judging that the voltage change rate meets the preset condition.
6. The opening-closing member control method according to claim 2, wherein before controlling the opening-closing member to stop moving by the drive mechanism when the rate of change in voltage satisfies a preset condition, further comprising:
calculating the average slope of the slopes of the N-1 voltage sampling points;
and if the average slope is larger than a target slope threshold value, judging that the voltage change rate meets a preset condition.
7. The opening-closing member control method according to claim 6, wherein before determining that the voltage change rate satisfies a preset condition if the average slope is greater than a target slope threshold, further comprising:
and calculating a target slope threshold according to a preset scale factor and the preset slope threshold.
8. An opening-closing member control device characterized by comprising:
the acquisition module is used for acquiring the working voltage of the driving mechanism corresponding to the opening and closing component in the movement process of the opening and closing component;
the calculation module is used for recording the voltage change rate of the working voltage within a preset time period when the working voltage is detected to be reduced;
and the control module is used for controlling the opening and closing component to stop moving through the driving mechanism when the voltage change rate meets a preset condition.
9. An opening-closing member control apparatus characterized by comprising: a memory, a processor, and an opening-closing member control program stored on the memory and running on the processor, the opening-closing member control program being configured to implement the opening-closing member control method according to any one of claims 1 to 7.
10. A storage medium having an opening-closing member control program stored thereon, the opening-closing member control program realizing the opening-closing member control method according to any one of claims 1 to 7 when executed by a processor.
CN202211194022.7A 2022-09-28 2022-09-28 Opening and closing member control method, device, equipment and storage medium Pending CN115584904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211194022.7A CN115584904A (en) 2022-09-28 2022-09-28 Opening and closing member control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211194022.7A CN115584904A (en) 2022-09-28 2022-09-28 Opening and closing member control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115584904A true CN115584904A (en) 2023-01-10

Family

ID=84772859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211194022.7A Pending CN115584904A (en) 2022-09-28 2022-09-28 Opening and closing member control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115584904A (en)

Similar Documents

Publication Publication Date Title
US11581829B2 (en) Pinch detection based on motor current increase
JP2004003159A (en) Apparatus for sensing object caught in opening/closing body
WO2003103349A2 (en) Motor speed-based anti-pinch control apparatus and method
CN111677401B (en) Reference position updating method and device for vehicle body closing system
CN111409572B (en) Control method and device for vehicle body closing system
CN115584904A (en) Opening and closing member control method, device, equipment and storage medium
CN113884871A (en) Relay state detection method, device, equipment and storage medium
KR20130046949A (en) Methods of controlling anti pinch system and appratuses using the same
CN109209103B (en) Anti-pinch control method and controller for vehicle electric component
CN101240681B (en) Method for operating a door drive and door drive
KR20220024928A (en) Anti-pinch detection method and system
JP2002038817A (en) Power window device and method for control it
CN115538881A (en) Opening and closing member control method, device, equipment and storage medium
CN114626421A (en) Vehicle window anti-pinch self-learning method, device, equipment and storage medium
EP4001566B1 (en) Pinch detection during motor restart
CN114911350A (en) Gesture control method, device, equipment and medium for automobile engine hood
JP5300228B2 (en) Open / close body pinching detection device
CN116357191A (en) Control method and device for automobile door, vehicle and storage medium
CN112282625B (en) Anti-pinch method, device and equipment for roller shutter door and storage medium
CN117759130A (en) Vehicle door control method and system and vehicle
CN110321625B (en) Anti-pinch self-adaptive adjustment method and control device for on-vehicle closing equipment
CN109154176A (en) For running the method and closing device of closing device
CN117284206A (en) Control method and control system of automobile door pedal mechanism
JP3815981B2 (en) Power window equipment
CN113734181A (en) Method and device for dynamically monitoring opening and closing of vehicle door based on external factors

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination