CN118502486A - Method, system and storage medium for automatic deviation correction of electric device position - Google Patents

Method, system and storage medium for automatic deviation correction of electric device position Download PDF

Info

Publication number
CN118502486A
CN118502486A CN202410561503.XA CN202410561503A CN118502486A CN 118502486 A CN118502486 A CN 118502486A CN 202410561503 A CN202410561503 A CN 202410561503A CN 118502486 A CN118502486 A CN 118502486A
Authority
CN
China
Prior art keywords
electric device
point
actual mechanical
controller
closing movement
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
CN202410561503.XA
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.)
Shanghai Bobang Automobile Technology Co ltd
Original Assignee
Shanghai Bobang Automobile Technology Co ltd
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 Shanghai Bobang Automobile Technology Co ltd filed Critical Shanghai Bobang Automobile Technology Co ltd
Priority to CN202410561503.XA priority Critical patent/CN118502486A/en
Publication of CN118502486A publication Critical patent/CN118502486A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Disk Changers (AREA)
  • Automatic Tape Cassette Changers (AREA)

Abstract

The invention relates to a method, a system and a storage medium for automatically correcting the position of an electric device, wherein the method comprises the following steps: when the electric device executes the closing movement, if the electric device is stopped before the actual closing position, re-initializing is carried out, the electric device is controlled to execute the closing movement until the electric device moves to the actual mechanical plugging point, and the actual mechanical plugging point is recorded as a reference zero point; if the electric device encounters obstruction in movement and cannot continue to move forward, discarding initialization to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point; when the electric device executes opening movement, if the electric device encounters obstruction and cannot continue to move forward, discarding initialization to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point; if the electric device is stopped before the actual start-stop position, the electric device is reinitialized, the electric device is controlled to execute closing movement until the electric device moves to the actual mechanical plugging point, and the actual mechanical plugging point is recorded as a reference zero point. The correction method of the invention realizes software correction, can realize automatic correction when the positions are not matched, ensures the normal function of the electric device, reduces the after-sale repair cost and improves the driving experience of users.

Description

Method, system and storage medium for automatic deviation correction of electric device position
Technical Field
The invention relates to the technical field of electric devices of automobiles, in particular to a method, a system and a storage medium for automatically correcting the position of an electric device.
Background
With the development of electric and intelligent automobiles, more and more automobiles are equipped with electric devices, such as automatic devices of electric sun-shading curtains/electric sunroofs/electric windows/electric tail doors/electric side sliding doors, and the like, for improving driving experience.
Typically, initialization is required to perform the position memory function of a controller such as a shade controller SCU (Sunshade Control Unit). Firstly, after the controller finishes the algorithm and logic design, before the whole vehicle is off line, the controller needs to go through an initialization flow to acquire the travel information and the reference force information of the current electric device such as a sunshade curtain mechanism, and after learning the information, the controller automatically saves the data into a storage unit such as an EEPROM. Thereafter, the electric device operates according to the parameter information obtained at the time of initialization.
However, if the manual movement of the position of the electric device is performed in a case where the controller cannot memorize the position (for example, in a case where the power is turned off/in a case where the controller is asleep/in a case where the controller position sensor is out of order), the actual position of the electric device and the position stored in the controller may not match. In addition, if a controller initialized on a particular powered device (e.g., a sunshade mechanism) is mounted on another powered device that is not identical in location, the actual location of the powered device and the location stored in the controller may not match. In these cases, if no special error correction process is performed, the function of the electric device is abnormal, and the electric device is returned to the factory for repair.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a method, a system and a storage medium for automatically rectifying the position of an electric device, and solves the problems that the existing electric device is abnormal in function when the actual position is not matched with the position in a controller, and then the electric device is returned to a factory for repair and the like.
The technical scheme for achieving the purpose is as follows:
The invention provides a method for automatically correcting the position of an electric device, which comprises the following steps:
When the electric device executes the closing movement, if the electric device is stopped before the actual closing position, re-initializing is carried out, the electric device is controlled to execute the closing movement until the electric device moves to the actual mechanical plugging point, and the actual mechanical plugging point is recorded as a reference zero point;
If the electric device encounters obstruction in movement and cannot continue to move forwards, discarding initialization to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point;
When the electric device executes opening movement, if the electric device encounters obstruction and cannot continue to move forward, discarding initialization to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point;
And if the electric device is stopped at the actual starting and stopping position, re-initializing, controlling the electric device to execute closing movement until the electric device moves to the actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point.
The correction method of the invention realizes software correction, can realize automatic correction when the positions are not matched, ensures the normal function of the electric device, reduces the after-sale repair cost and improves the driving experience of users.
The invention further improves the method for automatically correcting the position of the electric device, wherein when the electric device has an anti-clamping function, if the electric device encounters obstruction in the process of executing closing movement and cannot continue to move forward, whether the obstruction position points fall in an anti-clamping area is further judged;
if the blocking position point does not fall in the anti-pinch area, discarding initialization to enter an uninitialized state, then executing initialization operation, and recording the position point encountering the blocking as a reference zero point;
if the blocking position point falls in the anti-pinch area, the electric device is controlled to execute opening movement and then stop, timing is started, if an input closing instruction is received within a set time length range, closing movement is executed, blocking can not be continued in the closing movement process, if the blocking position point falls in the anti-pinch area, the electric device is controlled to execute opening movement and then stop, timing is started again, if the input closing instruction is received within the set time length range, the anti-pinch inhibition mode is entered, the initialization is discarded to enter an uninitialized state, then initialization operation is executed, the electric device is controlled to execute closing movement until the electric device moves to an actual mechanical blocking point, and the actual mechanical blocking point is recorded as a reference zero point.
The method for automatically correcting the position of the electric device is further improved in that the set time length is 10 seconds.
A further improvement of the method for automatic correction of the position of an electric device according to the present invention consists in that before the step of performing the re-initialization, it comprises: receiving an input reinitialization instruction;
and executing reinitialization according to the received reinitialization instruction.
The invention also provides a storage medium, wherein the storage medium stores a program for the method for automatically rectifying the position of the electric device, and the program for the method for automatically rectifying the position of the electric device realizes the steps of the method for automatically rectifying the position of the electric device when being executed by a processor.
The invention also provides a system for automatically correcting the position of an electric device, which comprises:
The position sensor is arranged at the moving end of the electric device and is used for detecting the position information of the moving end of the electric device;
the controller is in control connection with the electric device and is also connected with the position sensor, and the controller is used for controlling the electric device to execute closing movement and opening movement;
When the electric device executes the closing movement, if the electric device is stopped before the actual closing position, the controller reinitializes according to the received reinitialization instruction, controls the electric device to execute the closing movement until the electric device moves to the actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point;
When the electric device executes closing movement, if the electric device encounters obstruction in movement and cannot continue to move forwards, the controller discards initialization and enters an uninitialized state, then executes initialization operation, controls the electric device to execute the closing movement until the electric device moves to an actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point;
When the electric device executes opening movement, if the electric device encounters obstruction and cannot continue to move forward, the controller discards initialization to enter an uninitialized state, then executes initialization operation, controls the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point;
When the electric device executes opening movement, if the electric device is stopped before the actual starting and stopping position, the controller reinitializes according to the received reinitialization instruction, controls the electric device to execute closing movement until the electric device moves to the actual mechanical plugging point, acquires the position information of the actual mechanical plugging point through the position sensor and records the actual mechanical plugging point as a reference zero point.
The system for automatically correcting the position of the electric device is further improved in that when the controller encounters obstruction and cannot continue to move forward in the process of executing the closing movement of the electric device, the position information of the current obstruction point is obtained through the position sensor, and whether the obtained position information of the current obstruction point falls in an anti-pinch area is further judged;
if the position points are not in the anti-pinch area, the controller discards initialization to enter an uninitialized state, then executes initialization operation, and records the position points meeting the obstruction as reference zero points;
If the controller judges that the anti-pinch event is in the anti-pinch area, the controller judges that the anti-pinch event is generated, controls the electric device to execute opening movement and then stop, then starts timing, if the controller receives an input closing instruction within a set duration range, controls the electric device to execute closing movement, and in the closing movement process, the controller again judges that the anti-pinch event is generated, controls the electric device to execute opening movement and then stop, then starts timing, if the controller receives the input closing instruction within the set duration range, the controller enters an anti-pinch inhibition mode, the controller discards initialization and enters an uninitialized state, then executes initialization operation, controls the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point.
A further improvement of the system for automatic correction of the position of an electric device according to the invention consists in that the set duration is 10 seconds.
The invention further improves the system for automatically correcting the position of the electric device, which is characterized by further comprising a communication module connected with the controller and a control panel connected with the communication module;
The control panel is provided with a button, a corresponding instruction can be formed to the communication module by pressing the button, and the communication module further sends the received instruction to the controller.
Drawings
Fig. 1 is a schematic view of strategic location points of an electric blind throughout travel in accordance with an embodiment of the present invention.
FIG. 2 is a schematic illustration of a new mechanism stroke advance relative to a stored mechanism stroke in the method of the present invention for automatic position correction of an electric device.
FIG. 3 is a schematic illustration of the novel mechanism travel lag relative to stored mechanism travel and RFB' position not falling within the anti-pinch zone in the method of the present invention for automatic correction of electric device position.
FIG. 4 is a schematic illustration of the novel mechanism travel lag relative to the stored mechanism travel and the RFB' position falling within the anti-pinch zone in the method of the present invention for automatic correction of electric device position.
FIG. 5 is a logic diagram of anti-pinch inhibition in the method and system for automatic position correction of an electric device of the present invention.
FIG. 6 is a flow chart of anti-pinch logic in the method and system for automatic correction of position of an electrical device of the present invention.
Fig. 7 is a block diagram of a motorized shade system according to an embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and the specific examples.
Referring to fig. 1, the invention provides a method, a system and a storage medium for automatically rectifying a position of an electric device, which are used for implementing rectifying processing when an actual position of the electric device is not matched with a position stored in a controller, so that the actual position of the electric device is stored in the controller. The correction method, the correction system and the storage medium are suitable for correcting the electric sun-shading curtain, are also suitable for correcting motor-controlled electric devices such as an electric skylight, an electric vehicle window, an electric tail gate, an electric side sliding gate and the like, automatically correct the position of full-stroke software, reduce after-sales repair and improve driving experience of users. The method, system and storage medium for automatic deviation correction of electric device position of the present invention are described below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of strategic location points of an electric blind throughout travel is shown in accordance with an embodiment of the present invention. The following describes, by way of example, the key points of the motorized shade during travel.
As shown in fig. 1, RFB (Rollo Fully Block Position at Close) is a mechanical plugging point for closing the sunshade curtain, which may also be referred to as a reference zero point, and the relative position relationship between the mechanical plugging point and other position points is obtained in advance, so that after the reference zero point is obtained, the position information of other key position points can be obtained.
RFC (Rollo Fully Closed Position) is a shade fully-closed position, also referred to as a soft stop in the closing direction, which can control the motorized shade to move in the closing direction to a soft stop after the controller is initialized.
RCOS (Rollo AP Off Position) is the position of preventing clamping closing in the sunshade curtain closing direction movement, is a 4mm point regulated by regulations, and according to the requirements of national standard GB11552-2009, for a partition system, an automatic closing function must have the clamping preventing function in an opening area (namely a clamping preventing area) of 4-200 mm, and the clamping preventing force is ensured to be less than 100N.
RFO (Rollo Fully Open) is a fully open position of the shade, also referred to as an open direction soft stop point, which can control the motorized shade to move in the open direction to the soft stop point to stop after the controller is initialized.
RFOB (Rollo Fully Block Position at Open) is the position of the mechanical stop when the sunshade is opened.
Of course, for an electric device such as an electric door, the RCOS point in its key position point may be the same position point as RFC, and RFO and RFOB are the same position points.
The system for automatically correcting the position of the electric device comprises a position sensor and a controller, wherein the position sensor is arranged at the moving end of the electric device and is used for detecting the position information of the moving end of the electric device; the controller is connected with the position sensor, and the controller is also in control connection with the electric device to control the operation of the electric device, and the controller is used for controlling the electric device to execute closing movement and opening movement.
When the electric device executes the closing movement, if the electric device is stopped before the actual closing position, the controller reinitializes according to the received reinitialization instruction, controls the electric device to execute the closing movement until the electric device moves to the actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through the position sensor and records the actual mechanical plugging point as a reference zero point. Taking the electric sunshade as an example, as shown in fig. 2, the mechanism travel stored in the controller is inconsistent with the new mechanism travel, the actual closing position (i.e. the actual soft stop point in the closing direction) in the new mechanism travel is in front of the RFC point of the stored mechanism travel (i.e. the electric sunshade encounters the RFC point when in closing motion), when the controller controls the electric sunshade to close, the electric sunshade moves to the RFC point in fig. 2, i.e. the point a stops, because the point a is the soft stop point in the closing direction stored in the controller, and the actual state at the moment is that the electric sunshade is not completely closed, but the controller is not aware of the fact that the user needs to operate, a re-initialization command is sent to the controller to enable the controller to perform re-initialization, and the re-initialization logic is that: and (3) the sunshade curtain is enabled to execute closing movement, moves to an actual mechanical plugging point RFB' beyond the RFC point, and re-determines a reference zero point, so that position deviation correction is completed, and the mechanism travel stored in the controller after the position deviation correction is completed is the new mechanism travel in FIG. 2.
When the electric device executes closing movement, if the electric device encounters obstruction in movement and cannot continue to move forward, the controller discards initialization to enter an uninitialized state, then executes initialization operation, controls the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point; taking the electric sunshade curtain as an example, as shown in fig. 3, the stored mechanism travel in the controller is inconsistent with the new mechanism travel, the actual mechanical plugging point RFB ' point in the new mechanism travel is behind the stored RFC point of the mechanism travel (that is, the electric sunshade curtain encounters the RFB ' point when in closing motion), when the controller controls the electric sunshade curtain to close, the electric sunshade curtain moves to the point a (RFB ' point) in fig. 3 to be blocked, the controller understands that the electric sunshade curtain does not move to the RFC point (soft stop point in closing direction) and needs to move continuously, because the electric sunshade curtain is blocked and can not continue to execute closing motion, the controller discards initialization to enter an uninitialized state, and then performs matching of new position points by executing initialization operation, the initialization logic is as follows: the electric sunshade curtain moves to a mechanical blocking point RFB' in the closing direction, at the moment, the motor is blocked, the position is recorded as a reference zero point, other key position points can be obtained by conversion based on the relative position relation between the reference zero point and the reference zero point, and the position point of the whole stroke is confirmed. Further, an automatic deviation correcting module is arranged in the controller and is used for sending an automatic deviation correcting signal to the controller when judging that the electric device does not reach the RFC point and encounters the obstacle of the RFB' point and cannot continue moving when executing the closing movement, so that the controller executes the discarding initialization to enter the uninitialized state, then executes the initialization operation, and further enables the controller to store a new mechanism stroke to finish position deviation correction.
When the electric device executes opening movement, if the electric device encounters obstruction and cannot continue to move forward, the controller discards initialization to enter an uninitialized state, then executes initialization operation, controls the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point; taking the electric sunshade curtain as an example, as shown in fig. 2, the mechanism travel stored in the controller is inconsistent with the new mechanism travel, RFOB ' in the new mechanism travel is behind the RFO point of the stored mechanism travel (that is, the electric sunshade curtain encounters RFOB ' point when moving in the opening direction), the controller performs locked rotation when controlling the electric sunshade curtain to open, the electric sunshade curtain moves to the point B (that is, RFOB ' point) in fig. 2, the controller understands that the electric sunshade curtain does not move to the RFO point (soft stop point in the opening direction) and needs to continue to move, and as the sunshade curtain does not encounter the hard stop point of the mechanism in the opening direction under normal conditions, locked rotation does not occur, and when locked rotation occurs, the controller automatically discards initialization to enter an uninitialized state, and then performs matching of new position points by executing initialization operation, so that correction is completed. The logic of the initialization operation is to execute the closing movement to meet the actual mechanical blocking point RFB', the motor is blocked at the moment, the position is recorded as the reference zero point, the controller stores a new mechanism stroke, and the position deviation correction is completed. Further, the automatic deviation correcting module is further used for sending an automatic deviation correcting signal to the controller when judging that the electric device does not reach the RFO point and encounters the obstacle of RFOB' point and cannot continue moving when executing opening movement, so that the controller executes discarding initialization to enter an uninitialized state, then executes initialization operation, and accordingly the controller stores a new mechanism stroke to finish position deviation correction.
When the electric device executes opening movement, if the electric device is stopped before the actual starting and stopping position, the controller reinitializes according to the received reinitialization instruction, controls the electric device to execute closing movement until the electric device moves to the actual mechanical plugging point, acquires the position information of the actual mechanical plugging point through the position sensor, and records the actual mechanical plugging point as a reference zero point. Taking the electric sunshade curtain as an example, as shown in fig. 3, the mechanism travel stored in the controller is inconsistent with the new mechanism travel, the actual opening direction soft stop point RFO' point in the new mechanism travel is in front of the stored RFO point of the mechanism travel (i.e. the electric sunshade curtain will first encounter the RFO point when opening movement), when the controller controls the electric sunshade curtain to perform opening movement, the electric sunshade curtain moves to the point B (i.e. the RFO point) in fig. 3 to stop, because the point B is the opening direction soft stop point stored in the controller, and when in the actual state, the electric sunshade curtain is not completely opened, but the controller is not known, the user needs to operate the electric sunshade curtain, and a re-initialization command is sent to the controller to enable the controller to perform re-initialization, and the re-initialization logic is that: and (3) enabling the sunshade curtain to execute closing movement, moving to an actual mechanical plugging point RFB', determining a reference zero again, finishing position deviation correction, and enabling the mechanism travel stored in the controller after the position deviation correction to be the new mechanism travel in FIG. 3.
In a specific embodiment of the invention, when the controller encounters obstruction and cannot continue to advance in the process of executing the closing movement of the electric device, the position information of the current obstruction point is acquired through the position sensor, and whether the acquired position information of the current obstruction point falls in the anti-pinch area is further judged;
If the position points are not in the anti-pinch area, the controller discards initialization and enters an uninitialized state, then performs initialization operation, and records the position points meeting the obstruction as reference zero points;
If the position point falls in the anti-pinch area, the controller judges that the anti-pinch event occurs, controls the electric device to execute opening movement and then stop, then starts timing, if the controller receives an input closing instruction within a set time length range, controls the electric device to execute closing movement, and in the closing movement process, the controller again judges that the anti-pinch event occurs, controls the electric device to execute opening movement and then stop, then starts timing, if the input closing instruction is received within the set time length range, the controller enters an anti-pinch inhibition mode, the controller discards initialization and enters an uninitialized state, then executes initialization operation, controls the electric device to execute closing movement until the electric device moves to an actual mechanical blocking point, and further obtains the position information of the actual mechanical blocking point through a position sensor and records the actual mechanical blocking point as a reference zero point.
The anti-pinch area is 4mm to 200mm away from the RFC point of the stored mechanism travel, and if the anti-pinch area encounters a blockage, the electric device needs to be controlled to rotate reversely to realize the anti-pinch function. As shown in fig. 3, the blocking position a does not fall in the anti-pinch area (4 mm to 200mm range), and the controller may automatically start correcting the deviation. As shown in fig. 4, the blocking position a falls in the anti-pinch area, and the blocking controller is encountered in the anti-pinch area to consider that an anti-pinch event occurs, so as to control the electric device to rotate reversely to realize the anti-pinch function. The setting of the anti-pinch function brings difficulty to automatic deviation correction of the controller, in the case shown in fig. 4, the controller can avoid the blocking of the RFB' point as an anti-pinch event, so that deviation correction cannot be performed, in order to ensure the original anti-pinch function, an anti-pinch inhibition mode is set, specifically, taking an electric sunshade curtain as an example, as shown in fig. 4 to 6, when the electric sunshade curtain continuously performs anti-pinch inversion twice in the same area within a certain set time period, and it is determined that no external obstacle exists in the area, the controller enters the anti-pinch inhibition mode, according to an input closing instruction, the controller discards initialization to enter an uninitialized state, then performs initialization operation, controls the electric device to perform closing movement until the electric device moves to an actual mechanical blocking point, further obtains the position information of the actual mechanical blocking point through a position sensor, records the actual mechanical blocking point as a reference zero point, and completes deviation correction.
As shown in fig. 6, the controller receives a closing command, then controls the electric sunshade to perform closing movement, clears T0 and T1 at the same time, stops the motor after the anti-pinch reversal after judging that the anti-pinch event occurs, then starts a timer to count time, stops counting time to obtain a counting time length T0 when the controller receives the closing command again, judges whether the counting time length T0 is smaller than 10s, if yes, performs closing movement, if no, returns to the first step to judge whether the closing command is input. When the closing movement is executed for the second time, judging whether an anti-pinch event occurs, if so, stopping the movement of the motor after the anti-pinch reversal, restarting the timer for timing, and when the controller receives a closing command again, stopping timing to obtain a timing duration T1, judging whether the T1 is smaller than 10s, and if not, returning to the first step; if so, entering an anti-pinch suppression mode, executing closing movement according to an input closing instruction, discarding initialization by the controller to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, further acquiring the position information of the actual mechanical plugging point through the position sensor, and recording the actual mechanical plugging point as a reference zero point. When the anti-pinch function is provided, when the electric sunshade curtain does not meet external obstacles to rotate reversely, a user is required to input closing instructions twice, and the controller can enter an anti-pinch inhibition mode to finish position deviation correction.
Further, the set time period is 10 seconds.
In one specific embodiment of the invention, the device further comprises a communication module connected with the controller and a control panel connected with the communication module;
The control panel is provided with a button, and a corresponding instruction can be formed to the communication module by pressing the button, and the communication module further sends the received instruction to the controller.
Preferably, an opening button and a closing button are arranged on the control panel, so that corresponding opening instructions and closing instructions can be formed, and a reinitialization button can be arranged on the control panel and used for forming reinitialization instructions. Or by pressing the close button 10s longer or longer to form a reinitialization instruction.
In a specific embodiment of the present invention, as shown in fig. 7, the electric device of the present invention is an electric sunshade curtain, a motor is disposed on the electric sunshade curtain, a controller SCU is connected with the motor in a control manner, and the electric sunshade curtain is opened and closed by controlling the forward and reverse rotation of the motor, and the electric device further comprises a battery connected with the controller SCU.
In a specific embodiment of the invention, a motor is arranged at the electric device to drive the electric device to move, the controller is also arranged at the moving end of the electric device together with the motor, the position sensor is arranged together with the controller, in a preferred embodiment, the position sensor is a Hall sensor arranged at the controller and connected with a motor magnetic ring of the motor, and the rotating angle and the rotating number of the motor magnetic ring can be detected, so that the moving displacement of the electric device can be obtained through conversion, and the position information of the moving end of the current electric device can be obtained through calculation.
The invention also provides a method for automatically correcting the position of the electric device, and the method is described below.
The automatic deviation rectifying method comprises the following steps:
When the electric device executes the closing movement, if the electric device is stopped before the actual closing position, re-initializing is carried out, the electric device is controlled to execute the closing movement until the electric device moves to the actual mechanical plugging point, and the actual mechanical plugging point is recorded as a reference zero point;
If the electric device encounters obstruction in movement and cannot continue to move forward, discarding initialization to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point;
When the electric device executes opening movement, if the electric device encounters obstruction and cannot continue to move forward, discarding initialization to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point;
If the electric device is stopped before the actual start-stop position, the electric device is reinitialized, the electric device is controlled to execute closing movement until the electric device moves to the actual mechanical plugging point, and the actual mechanical plugging point is recorded as a reference zero point.
In a specific embodiment of the invention, when the electric device has the anti-pinch function, if the electric device encounters obstruction and cannot continue to move forward in the process of executing the closing movement, whether the obstruction position point falls in the anti-pinch area is further judged;
if the blocking position point does not fall in the anti-pinch area, discarding initialization to enter an uninitialized state, then executing initialization operation, and recording the position point encountering the blocking as a reference zero point;
if the blocking position point falls in the anti-pinch area, the electric device is controlled to execute opening movement and then stop, timing is started, if an input closing instruction is received within a set time length range, closing movement is executed, blocking can not be continued in the closing movement process, if the blocking position point falls in the anti-pinch area, the electric device is controlled to execute opening movement and then stop, timing is started again, if the input closing instruction is received within the set time length range, the anti-pinch inhibition mode is entered, the initialization is discarded to enter an uninitialized state, then initialization operation is executed, the electric device is controlled to execute closing movement until the electric device moves to an actual mechanical blocking point, and the actual mechanical blocking point is recorded as a reference zero point.
Further, the set time period is 10 seconds.
In one embodiment of the present invention, the step of re-initializing is preceded by: receiving an input reinitialization instruction;
and executing reinitialization according to the received reinitialization instruction.
The re-initialization instruction is an input instruction of a user, and the user can input the re-initialization instruction by controlling the corresponding function buttons.
The present invention also provides a storage medium having stored thereon a program for a method of automatically correcting a position of an electric device, the program for a method of automatically correcting a position of an electric device implementing the steps of the method for automatically correcting a position of an electric device when executed by a processor.
The method, the system and the storage medium for automatically correcting the position of the electric device have the beneficial effects that:
when the stroke stored in the controller is inconsistent with the stroke of the new mechanism, automatic position correction can be realized, normal functions can be ensured, the requirements of anti-clamping functions can be met, and repositioning and installation of electric devices such as sun shades and the like when the client and the after-sale position are not matched are avoided.
The invention realizes automatic deviation correction of the full-stroke software position, ensures the safety of the sunshade curtain function, reduces the after-sales repair cost and improves the driving experience of users.
The present invention has been described in detail with reference to the embodiments of the drawings, and those skilled in the art can make various modifications to the invention based on the above description. Accordingly, certain details of the illustrated embodiments are not to be taken as limiting the invention, which is defined by the appended claims.

Claims (9)

1. A method for automatically correcting the position of an electric device, comprising the steps of:
When the electric device executes the closing movement, if the electric device is stopped before the actual closing position, re-initializing is carried out, the electric device is controlled to execute the closing movement until the electric device moves to the actual mechanical plugging point, and the actual mechanical plugging point is recorded as a reference zero point;
If the electric device encounters obstruction in movement and cannot continue to move forwards, discarding initialization to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point;
When the electric device executes opening movement, if the electric device encounters obstruction and cannot continue to move forward, discarding initialization to enter an uninitialized state, then executing initialization operation, controlling the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point;
And if the electric device is stopped at the actual starting and stopping position, re-initializing, controlling the electric device to execute closing movement until the electric device moves to the actual mechanical plugging point, and recording the actual mechanical plugging point as a reference zero point.
2. The method for automatic deviation correcting of electric apparatus position according to claim 1, wherein when the electric apparatus has a pinch prevention function, if the electric apparatus encounters a blockage in the course of performing a closing movement and cannot proceed further, it is further determined whether the blocked position point falls within the pinch prevention area;
if the blocking position point does not fall in the anti-pinch area, discarding initialization to enter an uninitialized state, then executing initialization operation, and recording the position point encountering the blocking as a reference zero point;
if the blocking position point falls in the anti-pinch area, the electric device is controlled to execute opening movement and then stop, timing is started, if an input closing instruction is received within a set time length range, closing movement is executed, blocking can not be continued in the closing movement process, if the blocking position point falls in the anti-pinch area, the electric device is controlled to execute opening movement and then stop, timing is started again, if the input closing instruction is received within the set time length range, the anti-pinch inhibition mode is entered, the initialization is discarded to enter an uninitialized state, then initialization operation is executed, the electric device is controlled to execute closing movement until the electric device moves to an actual mechanical blocking point, and the actual mechanical blocking point is recorded as a reference zero point.
3. The method for automatic position correction of an electromotive device according to claim 2, wherein the set time period is 10 seconds.
4. The method for automatic position correction of an electric device according to claim 1, wherein the step of performing reinitialization is preceded by: receiving an input reinitialization instruction;
and executing reinitialization according to the received reinitialization instruction.
5. A storage medium having stored thereon a program for a method for automatically correcting a position of an electric device, which when executed by a processor, implements the steps of the method for automatically correcting a position of an electric device as claimed in any one of claims 1 to 4.
6. A system for automatically correcting a position of an electric device, comprising:
The position sensor is arranged at the moving end of the electric device and is used for detecting the position information of the moving end of the electric device;
the controller is in control connection with the electric device and is also connected with the position sensor, and the controller is used for controlling the electric device to execute closing movement and opening movement;
When the electric device executes the closing movement, if the electric device is stopped before the actual closing position, the controller reinitializes according to the received reinitialization instruction, controls the electric device to execute the closing movement until the electric device moves to the actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point;
When the electric device executes closing movement, if the electric device encounters obstruction in movement and cannot continue to move forwards, the controller discards initialization and enters an uninitialized state, then executes initialization operation, controls the electric device to execute the closing movement until the electric device moves to an actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point;
When the electric device executes opening movement, if the electric device encounters obstruction and cannot continue to move forward, the controller discards initialization to enter an uninitialized state, then executes initialization operation, controls the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point;
When the electric device executes opening movement, if the electric device is stopped before the actual starting and stopping position, the controller reinitializes according to the received reinitialization instruction, controls the electric device to execute closing movement until the electric device moves to the actual mechanical plugging point, acquires the position information of the actual mechanical plugging point through the position sensor and records the actual mechanical plugging point as a reference zero point.
7. The system for automatic deviation correcting of electric apparatus position according to claim 6, wherein the controller acquires the position information of the current blocking point through the position sensor when the electric apparatus encounters a blocking failure to continue the forward movement in the course of executing the closing movement of the electric apparatus, and further judges whether the acquired position information of the current blocking point falls within the anti-pinch area;
if the position points are not in the anti-pinch area, the controller discards initialization to enter an uninitialized state, then executes initialization operation, and records the position points meeting the obstruction as reference zero points;
If the controller judges that the anti-pinch event is in the anti-pinch area, the controller judges that the anti-pinch event is generated, controls the electric device to execute opening movement and then stop, then starts timing, if the controller receives an input closing instruction within a set duration range, controls the electric device to execute closing movement, and in the closing movement process, the controller again judges that the anti-pinch event is generated, controls the electric device to execute opening movement and then stop, then starts timing, if the controller receives the input closing instruction within the set duration range, the controller enters an anti-pinch inhibition mode, the controller discards initialization and enters an uninitialized state, then executes initialization operation, controls the electric device to execute closing movement until the electric device moves to an actual mechanical plugging point, and further obtains the position information of the actual mechanical plugging point through a position sensor and records the actual mechanical plugging point as a reference zero point.
8. The system for automatically correcting a position of an electric device according to claim 7, wherein the set time period is 10 seconds.
9. The system for automatically correcting a position of an electric device according to claim 6, further comprising a communication module connected to the controller and a control panel connected to the communication module;
The control panel is provided with a button, a corresponding instruction can be formed to the communication module by pressing the button, and the communication module further sends the received instruction to the controller.
CN202410561503.XA 2024-05-08 2024-05-08 Method, system and storage medium for automatic deviation correction of electric device position Pending CN118502486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410561503.XA CN118502486A (en) 2024-05-08 2024-05-08 Method, system and storage medium for automatic deviation correction of electric device position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410561503.XA CN118502486A (en) 2024-05-08 2024-05-08 Method, system and storage medium for automatic deviation correction of electric device position

Publications (1)

Publication Number Publication Date
CN118502486A true CN118502486A (en) 2024-08-16

Family

ID=92232277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410561503.XA Pending CN118502486A (en) 2024-05-08 2024-05-08 Method, system and storage medium for automatic deviation correction of electric device position

Country Status (1)

Country Link
CN (1) CN118502486A (en)

Similar Documents

Publication Publication Date Title
US9121214B2 (en) Opening and closing member control apparatus and method for controlling opening and closing member
JP2849293B2 (en) Power window device with safety device
JP6099129B2 (en) Opening and closing body control device
US9045929B2 (en) Open-close member control apparatus and method for controlling open-close member
JP4595155B2 (en) Opening / closing control device for opening covering material
JP2005351042A (en) Opening and closing body control device
KR20090107888A (en) Electric curtain controller
JPH11270226A (en) Method for detecting foreign material caught by power window equipment
JP4818697B2 (en) Opening / closing member control device
TW574467B (en) Trapping detection device of opening/closing member
US6111373A (en) Power window apparatus for a vehicle
JP6337283B2 (en) Opening / closing member control apparatus and opening / closing member control method
US20190071914A1 (en) Method for operating a door module of a motor vehicle
CN108729790B (en) Window control apparatus and method for vehicle
JPH11270230A (en) Method for detecting material pinched in window equipment
CN114428602A (en) Anti-pinch functional service system based on SOA architecture
JP7031621B2 (en) Open / close body control device
US7791299B2 (en) Process for controlling an electrically driven motor vehicle window
CN118502486A (en) Method, system and storage medium for automatic deviation correction of electric device position
JP2007040005A (en) Controlling device of a sliding door and its control method
JPH08289464A (en) Method for monitoring movement of motor-adjustable object
JP3675622B2 (en) Power window device pinching detection method
JP2004084458A (en) Pinching detector for openable body
JPH10262385A (en) Window switching controller
JPS63165682A (en) Switchgear for window glass

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