Method for determining door operation parameters, controller, device, computer equipment
By communicating with the mobile terminal, the operating parameters of the industrial door are automatically adjusted, solving the problem of low efficiency in traditional methods and enabling rapid adaptation to the needs of different application scenarios.
Patent Information
- Application Number
- CN202310411887.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2043-04-18
AI Technical Summary
Adjusting the operating parameters of traditional industrial doors requires tedious on-site operations by technicians, which is inefficient and cannot quickly adapt to the needs of different application scenarios.
Through communication between the controller, the gate, and the mobile terminal, the controller receives instructions to determine operating parameters, controls the gate to operate and acquires data, determines the target operating parameters based on preset conditions, and achieves fully automatic adjustment.
It simplifies the process of determining the gate's operating parameters, improves efficiency, is applicable to more application scenarios, and eliminates the need for on-site debugging by technical personnel.
Smart Images

Figure CN116430783B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of industrial door control, and in particular to a determination method of door body running parameters, a controller, an apparatus, computer equipment, a storage medium and a computer program product. BACKGROUND
[0002] In the use of an industrial door, different application environments can correspond to different door opening and closing scenarios, and thus correspond to different requirements for door opening positions and door closing positions.
[0003] In the prior art, when an industrial door is used for the first time or needs to be adjusted, a technical personnel needs to modify the door body running parameters and adjust the door opening position and the door closing position on site through a configuration button on an industrial door controller to adapt to different application scenarios. However, this method requires the technical personnel to perform tedious operations and is inefficient. SUMMARY
[0004] Therefore, it is necessary to provide a determination method of door body running parameters, a controller, an apparatus, computer equipment, a storage medium and a computer program product that simplify the operation process and improve efficiency in view of the above technical problems.
[0005] In a first aspect, an embodiment of the present disclosure provides a determination method of door body running parameters. The method is applied to a controller, the controller communicates with a door body and a mobile terminal through a preset communication module, and the method comprises the following steps.
[0006] receiving a determination instruction of running parameters of the door body, wherein the determination instruction of the running parameters comprises a preset running direction of the door body;
[0007] controlling the door body to run in the preset running direction and acquiring running data of the door body;
[0008] in a case where the running data meets a preset condition, determining a target running parameter matched with the preset running direction according to the running data, wherein the target running parameter comprises a target position of the door body.
[0009] In one of the embodiments, the step of controlling the door body to run in the preset running direction comprises the following steps.
[0010] in response to an input instruction of a motor configuration parameter of the door body, determining a motor control parameter corresponding to the preset running direction;
[0011] controlling the door body to run in the preset running direction according to the motor control parameter.
[0012] In one of the embodiments, the operation data of the door body includes motor operation parameter values, and the determining, in the case that the operation data meets preset conditions, of a target operation parameter matching the preset operation direction according to the operation data includes:
[0013] In the case that a difference between the motor operation parameter and a preset motor operation parameter is less than a preset threshold, determining an initial operation parameter of the door body corresponding to the motor operation parameter;
[0014] According to the determination instruction and the initial operation parameter, determining a target operation parameter matching the preset operation direction.
[0015] In one of the embodiments, the operation data of the door body includes door body sensor data, and the determination instruction of the operation parameter includes a target state of the door body, and the determining, in the case that the operation data meets preset conditions, of a target operation parameter matching the preset operation direction according to the operation data includes:
[0016] Determining target sensor data corresponding to the target state;
[0017] In the case that a difference between the door body sensor data and the target sensor data meets preset requirements, determining an initial operation parameter of the door body corresponding to the door body sensor data;
[0018] According to the determination instruction and the initial operation parameter, determining a target operation parameter matching the preset operation direction.
[0019] In one of the embodiments, the method further includes:
[0020] Receiving an operation parameter adjustment instruction of the door body, wherein the adjustment instruction includes an adjusted target state of the door body;
[0021] According to the target operation parameter and the corresponding door body state, determining a correlation between door body states and operation parameters;
[0022] Based on the correlation, determining an adjusted target operation parameter corresponding to the adjustment instruction according to the adjusted target state.
[0023] In one of the embodiments, the method further includes:
[0024] Obtaining operation data of the door body, wherein the operation data includes at least one of operation times, operation modes, operation states, and fault information;
[0025] Sending the operation data to the mobile terminal.
[0026] In one of the embodiments, the method further comprises:
[0027] receiving an operation instruction of the door body sent by the mobile terminal;
[0028] controlling the door body to run according to operation data corresponding to the operation instruction.
[0029] In a second aspect, the embodiments of the present disclosure further provide a controller, which communicates with the door body and the mobile terminal through a preset communication module, and realizes the steps of the method for determining the running parameter of the door body in any of the embodiments of the present disclosure.
[0030] In a third aspect, the embodiments of the present disclosure further provide a device for determining the running parameter of the door body, which is applied to a controller, and the controller communicates with the door body and the mobile terminal through a preset communication module, and the device comprises:
[0031] a receiving module, configured to receive a determination instruction of the running parameter of the door body, wherein the determination instruction of the running parameter comprises a preset running direction of the door body;
[0032] a control module, configured to control the door body to run in the preset running direction and acquire running data of the door body;
[0033] a determination module, configured to determine a target running parameter matched with the preset running direction according to the running data in a case where the running data meets a preset condition, wherein the target running parameter comprises a target position of the door body.
[0034] In one of the embodiments, the control module comprises:
[0035] a first determination submodule, configured to determine a motor control parameter corresponding to the preset running direction in response to an input instruction of a motor configuration parameter of the door body;
[0036] a first control submodule, configured to control the door body to run in the preset running direction according to the motor control parameter.
[0037] In one of the embodiments, the running data of the door body comprises a motor running parameter value, and the determination module comprises:
[0038] a second determination submodule, configured to determine an initial running parameter of the door body corresponding to the motor running parameter in a case where a difference between the motor running parameter and a preset motor running parameter is less than a preset threshold value;
[0039] a third determination submodule, configured to determine a target running parameter matched with the preset running direction according to the determination instruction and the initial running parameter.
[0040] In one of the embodiments, the operation data of the door body includes door body sensor data, the determination instruction of the operation parameter includes a target state of the door body, and the determination module includes:
[0041] a fourth determination submodule for determining target sensor data corresponding to the target state;
[0042] a fifth determination submodule for determining an initial operation parameter of the door body corresponding to the door body sensor data in a case where a difference between the door body sensor data and the target sensor data meets a preset requirement;
[0043] a sixth determination submodule for determining a target operation parameter matching the preset operation direction according to the determination instruction and the initial operation parameter.
[0044] In one of the embodiments, the device further includes:
[0045] a first receiving submodule for receiving an operation parameter adjustment instruction of the door body, wherein the adjustment instruction includes an adjusted target state of the door body;
[0046] a seventh determination submodule for determining an association between a door body state and an operation parameter according to the target operation parameter and the corresponding door body state;
[0047] an eighth determination submodule for determining an adjusted target operation parameter corresponding to the adjustment instruction according to the adjusted target state based on the association.
[0048] In one of the embodiments, the device further includes:
[0049] an acquisition module for acquiring operation data of the door body, wherein the operation data includes at least one of an operation frequency, an operation mode, an operation state, and fault information;
[0050] a sending module for sending the operation data to the mobile terminal.
[0051] In one of the embodiments, the device further includes:
[0052] a second receiving submodule for receiving an operation instruction of the door body sent by the mobile terminal;
[0053] a second control submodule for controlling the door body to operate according to operation data corresponding to the operation instruction.
[0054] In a fourth aspect, the embodiments of the present disclosure further provide a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any of the embodiments of the present disclosure when executing the computer program.
[0055] In a fifth aspect, the embodiments of the present disclosure further provide a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program implements the steps of the method in any of the embodiments of the present disclosure when executed by a processor.
[0056] In a sixth aspect, the embodiments of the present disclosure further provide a computer program product. The computer program product includes a computer program, and the computer program implements the steps of the method in any of the embodiments of the present disclosure when executed by a processor.
[0057] In the embodiments of the present disclosure, when determining the door body operation parameter, the controller receives a determination instruction of the door body operation parameter, controls the door body to operate according to a preset operation direction in the determination instruction, and obtains operation data of the door body. When the operation data meets a preset condition, a target operation parameter matched with the preset operation direction is determined according to the operation data. The full-automatic adjustment of the door body operation parameter can be realized. In different application scenarios, the target operation parameter is determined according to the door body operation data and the determination instruction. The determination process of the door body operation parameter is simplified. The technical personnel do not need to perform tedious on-site debugging. The embodiments of the present disclosure are suitable for more application scenarios, and the efficiency of determining the door body operation parameter is improved. BRIEF DESCRIPTION OF DRAWINGS
[0058] Figure 1 FIG. 1 is a flowchart of a method for determining a door body operation parameter in an embodiment of the present disclosure;
[0059] Figure 2 FIG. 2 is a flowchart of a method for establishing a communication relationship in an embodiment of the present disclosure;
[0060] Figure 3 FIG. 3 is a flowchart of a method for determining a door body operation parameter in an embodiment of the present disclosure;
[0061] Figure 4 FIG. 4 is a flowchart of a method for determining a door body operation parameter in an embodiment of the present disclosure;
[0062] Figure 5 FIG. 5 is a flowchart of a method for determining a door body operation parameter in an embodiment of the present disclosure;
[0063] Figure 6 FIG. 6 is a flowchart of a method for determining a door body operation parameter in an embodiment of the present disclosure;
[0064] Figure 7 FIG. 7 is a page display structure diagram of a mobile terminal in an embodiment of the present disclosure;
[0065] Figure 8 A structural block diagram of a determination device for door operation parameters in an embodiment;
[0066] Figure 9 An internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION
[0067] In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure clearer, the embodiments of the present disclosure are further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present disclosure and not to limit the embodiments of the present disclosure.
[0068] In one embodiment, as shown in Figure 1 A determination method of door operation parameters is provided, the method is applied to a controller, the controller communicates with a door and a mobile terminal through a preset communication module, and the method comprises the following steps:
[0069] Step S110, receiving a determination instruction of an operation parameter of the door, wherein the determination instruction of the operation parameter comprises a preset operation direction of the door;
[0070] The method described in the embodiment can be applied to a controller of an industrial automatic door, and is used for determining and adjusting the operation parameters of the industrial automatic door. In one example, the preset communication module can be a Bluetooth communication circuit in the controller, wherein the controller can further comprise a Bluetooth start button, there is a preset association relationship between the controller and the door, and the association relationship between the controller and the mobile terminal can be released or bound according to the actual application scene. When the association relationship between the controller and the mobile terminal is established, the controller is powered on and waits for the Bluetooth start button to be activated. After the Bluetooth start button is activated, the Bluetooth communication module sends a Bluetooth broadcast signal for a preset time (such as 30s). At this time, the user uses the mobile terminal to scan the identification information corresponding to the controller, and establishes a connection with the controller. The identification information can include but is not limited to a bar code identification, a two-dimensional code identification, etc. The connection can be established through a WeChat applet, for example, after the mobile terminal scans the identification information, the corresponding applet is called out, the applet automatically scans the surrounding Bluetooth signal, and the controller signal is displayed in a list. The user selects the controller signal in the displayed list and clicks to connect, and the mobile terminal establishes a connection with the controller. Figure 2 A flowchart of a method for establishing a communication relationship according to an example embodiment is shown in FIG. 2, and the method comprises the following steps: Figure 2As shown, the user clicks the Bluetooth start button on the controller to activate the Bluetooth communication module of the controller, the controller sends a Bluetooth broadcast signal, the user uses the mobile terminal to scan the identification information corresponding to the controller, the mobile terminal displays the scanned Bluetooth device after identification, the user determines whether to connect according to the requirement, if not, clicks to rescan, closes the Bluetooth scan, clears the display list, and reopens the discovery scan; if connected, click to connect the corresponding controller, if the connection is successful, jump to the page corresponding to the controller to realize the establishment of the communication relationship between the controller and the mobile terminal, if the connection fails, display a prompt information on the mobile terminal, the user selects whether to rescan, if the user confirms to rescan, select the corresponding option to rescan, otherwise, exit, wherein the prompt can be sent through a pop-up window and the like, for example, a pop-up prompt "connect identification, please press the Bluetooth start button again, and then scan and connect again".
[0071] In the embodiments of the present disclosure, the controller controls the door body to run, and the controller communicates with the door body and the mobile terminal through a preset communication module. The controller can receive running data of the door body, control the door body to run, receive instructions sent by the mobile terminal, send data to the mobile terminal, and the like through the preset communication module. When determining the running parameters of the door body, a determination instruction of the running parameters of the door body is received. In general, when the door body is applied in different application scenarios, in order to adapt to the application environment, the door body can correspond to different running parameters. The running parameters can include but are not limited to running speed, door opening position, door closing position and the like. When the determination instruction of the running parameters of the door body is received, it can be considered that the running parameters corresponding to the door body need to be determined at this time to adapt to the application scenario. The triggering mode of the determination instruction of the running parameters of the door body can include active triggering or passive triggering. In some examples, the active triggering can include active triggering when the door body meets a preset state; the passive triggering can include that the user directly sends an instruction through the operation of the controller page, the user sends an instruction through the mobile terminal and the like. The determination instruction of the running parameters includes a preset running direction of the door body. In one example, the preset running direction includes at least one of the door opening direction and the door closing direction. For example, the determination instruction of the running parameters can be to determine the running parameters of the door body corresponding to the door opening direction, or to determine the running parameters of the door body corresponding to the door closing direction.
[0072] In step S120, the door body is controlled to run in the preset running direction, and running data of the door body is acquired.
[0073] In the embodiments of the present disclosure, after receiving the determination instruction of the running parameters of the door body, the preset running direction is determined, and the door body is controlled to run in the preset running direction. In the process of the door body running in the preset running direction, the running data of the door body is acquired. The running data can include data associated with the running of the door body, and can be acquired through a preset sensor or a device related to the running of the door body.
[0074] In some possible implementation manners, the running data of the door body can be acquired by installing sensors on the door body or the door frame, and the sensors can include, but are not limited to, infrared sensors, photoelectric sensors, pressure sensors, position sensors, ultrasonic sensors and the like; the running data of the door body can also be directly acquired from the motor that controls the running of the door body, and the running data of the door body can be directly or indirectly obtained according to the running data of the motor. The running data of the motor can include, but is not limited to, the current value when the motor is running and the rotating speed when the motor is running. In one example, when the running data of the door body is acquired by the ultrasonic sensor, the ultrasonic sensor can be installed at the bottom of the door body and face the ground, and the ultrasonic sensor moves up and down with the door body during the running of the door body; the ultrasonic sensor can determine the distance change data between the sensor and the ground according to the received ultrasonic signal, so as to determine the running speed of the door body and the position information of the door body during the running of the door body, and the acquired running data of the door body can include, but is not limited to, the distance between the door body and the ground, the running speed of the door body and the like. In another example, a sensor for object detection, such as an infrared sensor or a photoelectric sensor, can also be installed at a preset position of the door frame, and when the door body runs to the preset position, the sensor detects that there is an object blocking, so as to determine the running data of the door body, and the acquired running data of the door body can include, but is not limited to, the position of the door body and the running speed of the door body; the preset position of the door frame can be determined according to the actual application scene, for example, the ideal opening and closing position of the door body is determined according to the actual application scene, the preset position of the door frame for installing the sensor is determined based on the ideal opening and closing position, and the number of installed sensors can also include one or more, which can be adjusted according to the actual application scene. In some possible implementation manners, the sensor is detachable, and when the running parameters of the door body need to be re-determined or adjusted during the use of the door body, the sensor can be installed to a new preset position of the door frame by being detached, so as to acquire the required running data of the door body.
[0075] In step S130, when the running data meets the preset condition, a target running parameter matched with the preset running direction is determined according to the running data, and the target running parameter includes a target position of the door body.
[0076] In this embodiment, when the door's operating data meets preset conditions, target operating parameters matching a preset operating direction are determined based on the operating data meeting the preset conditions. The target operating parameters include the door's target position. Specifically, the target operating parameters are the required door operating parameters determined in this embodiment based on the actual application scenario. Without subsequent adjustments or other operations, the door operates automatically according to the determined target operating parameters. In this embodiment, the target operating parameters include the door's target position, and the target operating parameters match the preset operating direction. The preset operating direction can include the opening direction and the closing direction, and the corresponding target position can include the target position when opening and the target position when closing. Therefore, the method of this embodiment can determine the target opening and closing positions during subsequent door operation, thereby achieving fully automatic learning of the door's electronic travel. In this embodiment, the preset conditions can be determined in advance based on the actual application scenario. The preset conditions corresponding to different operating data will also be different. For example, when the obtained operating data of the door is the motor current corresponding to the door, the preset condition can be set to the difference between the motor current and the preset motor current being less than a preset threshold. The preset motor current and the preset threshold can be determined based on the actual application scenario. For example, during the operation of the door, when the door is obstructed, it will cause the motor to stall. At this time, the motor current will be greater than the current range when the door is operating normally. The preset motor current can be set according to the current range when the door is operating normally and the motor current when the door is obstructed. The preset threshold can be determined according to the actual current change as a value corresponding to a small error allowable range. When the obtained operating data of the door is sensor data, the preset condition can be set to the difference between the sensor data and the target sensor data meeting the preset requirements. The target sensor data and the preset requirements can both be set according to the actual application scenario and the type of sensor.
[0077] In this embodiment of the present disclosure, when determining the operating parameters of the gate, the controller receives the determination instruction for the operating parameters of the gate, controls the operation of the gate according to the preset operating direction in the determination instruction, and obtains the operating data of the gate. When the operating data meets the preset conditions, the target operating parameters that match the preset operating direction are determined according to the operating data. This enables fully automatic adjustment of the gate operating parameters. In different application scenarios, the target operating parameters are determined according to the gate operating data and the determination instruction, simplifying the process of determining the gate operating parameters. It eliminates the need for tedious on-site debugging by technicians, is applicable to more application scenarios, and improves the efficiency of determining the gate operating parameters.
[0078] In one embodiment, such as Figure 3 As shown, controlling the door to move in the preset running direction includes:
[0079] In step S121, in response to the input instruction of the motor configuration parameter of the door body, a motor control parameter corresponding to the preset running direction is determined.
[0080] In step S122, the door body is controlled to run in the preset running direction according to the motor control parameter.
[0081] In the embodiments of the present disclosure, when controlling the door body to run in the preset direction, in response to the input instruction of the motor configuration parameter of the door body, a motor control parameter corresponding to the preset running direction is determined according to the motor configuration parameter. The motor configuration parameter of the door body can include a relationship parameter between the running direction of the door body and the steering direction of the motor, for example, the opening direction of the door body corresponds to the forward rotation of the motor (the reverse rotation of the motor), and the closing direction of the door body corresponds to the reverse rotation of the motor (the forward rotation of the motor). In one example, the motor configuration parameter of the door body can include the motor installation mode, for example, the relationship between the motor installation at the left end or the right end of the door body and the steering direction of the motor is different, therefore, the motor configuration parameter of the door body can include the motor installation direction (the left end or the right end of the door body). In one example, the user can select the motor configuration parameter through the applet page. According to the motor configuration parameter, a motor control parameter corresponding to the preset running direction is determined, and the motor control parameter includes the steering direction of the motor. When controlling the door body to run, the door body is controlled to run in the preset running direction according to the motor control parameter, for example, when the preset direction is the opening direction of the door body, the motor control parameter corresponding to the opening direction of the door body is determined, that is, the steering direction of the motor, and when controlling the door body to run, the door body is controlled to run in the opening direction according to the determined steering direction of the motor. The input instruction of the motor configuration parameter can be sent by the user through the mobile terminal, or can be obtained by the user directly inputting on the controller. The specific input instruction acquisition mode can also be obtained according to the application scenario.
[0082] In the embodiments of the present disclosure, according to the input motor configuration parameter, a motor control parameter corresponding to the preset running direction is determined, and the door body is controlled to run according to the motor control parameter. The door body running control can be performed according to different motor configuration parameters in different application scenarios, which is suitable for different application scenarios. The situation that the running direction of the door body does not match due to the error of the motor control parameter is avoided, the process of the running parameter determination process is saved, and the efficiency and accuracy of the running parameter determination are ensured.
[0083] In one embodiment, as shown in Figure 4 The running data of the door body includes a motor running parameter value, and the target running parameter matched with the preset running direction is determined according to the running data in the case that the running data meets the preset condition, including:
[0084] In a case where a difference between the motor operation parameter and a preset motor operation parameter is less than a preset threshold, step S131, it is determined that the initial operation parameter of the door body corresponding to the motor operation parameter is determined.
[0085] In step S132, the target operation parameter matched with the preset operation direction is determined according to the determination instruction and the initial operation parameter.
[0086] In the embodiments of the present disclosure, the door body operation parameter includes a motor operation parameter value, which can include but is not limited to a motor current, a motor speed, etc. When the door body is controlled to operate by the motor, the door body operation state is different, and the motor operation parameter value also changes. For example, when the door body normally operates, the motor current and the motor speed do not change greatly, and when the door body is blocked, the motor is blocked, and the motor current and the motor speed will change suddenly. Therefore, a preset motor operation parameter can be set, and when the difference between the motor operation parameter and the preset motor operation parameter is less than a preset threshold, it can be considered that the door body is blocked at this time, and the initial operation parameter of the door body corresponding to this time is determined. The preset motor operation parameter can be determined according to the motor operation parameter when the door body is blocked, and the preset threshold can be determined according to the allowable range of error. In an example, when the preset operation direction is the closing direction, the door body is blocked when the door body operates to contact the ground, and when the preset operation direction is the opening direction, the door body is blocked when the door body operates to contact the opening limiting device. The initial operation parameter of the door body can include the position of the door body when the door body is blocked, and the target operation parameter matched with the preset operation direction is determined according to the determination instruction and the initial operation parameter. In the subsequent use process of the door body, the door body operates according to the target operation parameter, wherein the target operation parameter includes a target position of the door body. In the present embodiment, the target operation parameter matched with the preset operation direction can include a target position in the opening direction and a target position in the closing direction.
[0087] When the preset running direction is the opening direction, a determination instruction of the running parameter is received, and the door body is controlled to run in the opening direction. When the difference between the motor running parameter and the preset motor running parameter is less than the preset threshold, the door body is blocked, the initial running parameter of the door body corresponding to the motor running parameter at this time is determined, and the target running parameter of the door body in the opening direction is determined according to the determination instruction and the initial running parameter. In the determination instruction, target information when the running parameter is determined can be included. For example, the target running parameter includes a target position, and the target information can include the difference between the door body running parameter meeting the preset condition and the target position, that is, the difference between the initial running parameter and the target position. In an example, the door body position corresponding to the initial running parameter can be taken as the target position at a preset distance downward, that is, the difference between the door body position corresponding to the initial running parameter and the target position is the preset distance, and the size of the preset distance can be determined according to an actual application scenario.
[0088] In an example, the controller first drives the door body to run in the closing direction. When the door body is blocked by contacting the ground, the controller current detection circuit detects the locked-rotor current of the motor in real time. If the current value exceeds the peak value of normal operation, the position 5 cm upward of the current position of the door body is taken as the closing position of the door body. Then the motor starts to run in the reverse direction, the door body starts to run in the opening direction, and until the door body is blocked by the opening limiting device, the motor is locked. At this time, the controller current detection circuit detects the current exceeding the normal value, and takes the position 5 cm downward of the current position of the door body as the opening position. In a possible implementation manner, after the opening position and the closing position are determined, the controller can send a completion instruction to the mobile terminal. The mobile terminal prompts the user that the parameter determination is completed through a pop-up window or the like. The whole process is automatically executed by the controller, and the user only needs to wait for the learning completion prompt.
[0089] According to the embodiment of the present disclosure, the running state of the door body is determined through the change of the motor running parameter, so that the determination of the target running parameter of the door body can be realized according to the motor running parameter, without the need for manual operation by technical personnel to determine, thereby simplifying the operation process and improving the efficiency. In addition, according to the relationship between the motor running and the door body running, the preset motor running parameter and the preset threshold value are determined to judge the running state of the door body, thereby ensuring the accuracy and reliability of the determined target running parameter, and the method is suitable for more application scenarios.
[0090] In one embodiment, as shown in Figure 5 The running data of the door body includes door body sensor data, and the determination instruction of the running parameter includes a target state of the door body. In the case that the running data meets a preset condition, the target running parameter matched with the preset running direction is determined according to the running data, including:
[0091] Step S133, determining target sensor data corresponding to the target state;
[0092] Step S134, in the case that the difference between the door body sensor data and the target sensor data meets a preset requirement, determining an initial running parameter of the door body corresponding to the door body sensor data;
[0093] Step S135, determining the target running parameter matched with the preset running direction according to the determination instruction and the initial running parameter.
[0094] In the embodiments of the present disclosure, the operation data of the door body includes door body sensor data, the determination instruction of the operation parameter includes a target state of the door body, and target sensor data corresponding to the target state is determined. The door body sensor can include but is not limited to an object detection sensor, an ultrasonic sensor, a pressure sensor, a position sensor, etc. The target state of the door body can be a required door body state determined according to an actual application scenario, wherein the target state can include a target position state. For example, when the preset operation direction is an opening direction, the corresponding target position state can be an opening height, and when the preset operation direction is a closing direction, the corresponding target position state can be a closing height. The target sensor data corresponding to the target state is determined. In the embodiments, the sensor can be installed on the door body or the door frame, and can be set according to the requirements of the actual application scenario and the type of the sensor. During the operation of the door body, the state of the door body changes, and the corresponding sensor data also changes. According to the target state, the corresponding sensor data, i.e., the target sensor data, can be determined. When the difference between the door body sensor data and the target sensor data meets the preset requirement, the state of the door body at this time is close to the target state, and the initial operation parameter of the door body corresponding to the door body sensor data at this time is determined. According to the determination instruction and the initial operation parameter, the target operation parameter matching the preset operation direction is determined. In one example, the initial operation parameter can be directly determined as the target operation parameter, or the target operation parameter can be determined after further calculation and processing based on the initial operation parameter.
[0095] In one example, the sensor data includes ultrasonic sensor data. Specifically, an ultrasonic sensor module is installed at the bottom of the door body, facing the ground, so that it moves up and down with the door body, wherein the sensor module is connected to the controller master chip through a serial port. The user selects the target state, such as the opening height (for example, 300 cm or 302 cm, which can be accurate to cm), on the mobile terminal page, and then clicks to determine. The mobile terminal sends the opening height through Bluetooth, and the controller starts self-learning after receiving the corresponding determination instruction. The controller first drives the door body to run in the closing direction, and reads the ultrasonic sensor data in real time. When the data matches the target sensor data corresponding to the distance of 0 cm, the running is stopped, and the current position of the door body is taken as the closing position of the door body. Then the motor starts to run in the opposite direction, the door body runs in the opening direction, and the ultrasonic sensor data is read in real time. When the data matches the target sensor data corresponding to the set opening height (such as 300 cm), the current position of the door body is taken as the opening position. In one possible implementation, after the opening position and the closing position are determined, the controller can send a completion instruction to the mobile terminal, and the mobile terminal prompts the user that the parameter has been determined and completed through a pop-up window or the like. This process is automatically completed by the controller, and the user only needs to wait for the learning completion prompt.
[0096] In the embodiments of the present disclosure, the running state of the door body is determined through the change of the sensor data, so that the determination of the target running parameter of the door body can be realized according to the sensor data, without the need for manual operation by a technician to determine, thereby simplifying the operation process and improving the efficiency. In addition, the target sensor data is determined according to the target state in the determination instruction, and the target running parameter is determined according to the difference between the target sensor data and the sensor data in the actual running process, so as to ensure the accuracy and reliability of the target running parameter determined, and the method is suitable for more application scenarios.
[0097] In one embodiment, as shown in Figure 6 The method further includes:
[0098] Step S610, receiving a running parameter adjustment instruction of the door body, wherein the adjustment instruction includes an adjusted target state of the door body;
[0099] Step S620, determining the association between the door body state and the running parameter according to the target running parameter and the corresponding door body state;
[0100] Step S630, determining the adjusted target running parameter corresponding to the adjustment instruction based on the adjusted target state according to the association.
[0101] In the embodiments of the present disclosure, after the target running parameter of the door body is determined, the door body runs according to the target running parameter in the use process. In the use process of the door body, the target running parameter can also be adjusted. Specifically, the running parameter adjustment instruction of the door body is received, and the adjustment instruction includes the adjusted target state of the door body. The association between the door body state and the running parameter is determined according to the determined target running parameter and the corresponding door body state, and the adjusted target running parameter corresponding to the adjustment instruction is determined according to the adjusted target state based on the determined association. In one example, when the target running parameter needs to be adjusted, only the adjustment instruction needs to be sent, and the controller directly calculates the new adjusted target running parameter according to the data when the target running parameter is previously determined, without the need to control the door body to run for parameter determination adjustment again. In one example, the adjustment instruction can be sent by the user through a mobile terminal, and the adjustment instruction can include the adjusted opening position, the closing position and the like of the door.
[0102] In the embodiments of the present disclosure, during use of the door body, when it is necessary to adjust a target operating parameter, in response to an operating parameter adjustment instruction, an association between a door body state and the operating parameter can be determined according to the target operating parameter and a corresponding door body state, and an adjusted target operating parameter can be determined according to an adjusted target state in the adjustment instruction, so that subsequent adjustment of the operating parameter can be performed according to data in the process of determining the target operating parameter, and the adjustment of the operating parameter in the same application scenario can be implemented by only one process of determining the operating parameter of the door body, without the need to perform operation of the door body each time adjustment is performed, resource waste is avoided, the efficiency of adjustment of the operating parameter of the door body is improved, and the method is suitable for more application scenarios.
[0103] In one embodiment, the method further comprises:
[0104] obtaining operating data of the door body, wherein the operating data comprises at least one of operating frequency, operating mode, operating state, and fault information;
[0105] sending the operating data to the mobile terminal.
[0106] In the embodiments of the present disclosure, the running data of the door body is acquired, the running data comprising at least one of the running times, the running mode, the running state, and the fault information, after the running data is acquired, the running data is sent to the mobile terminal, wherein the running data can be sent in real time, periodically, or according to the operation instruction of the user, and the present disclosure does not limit this. The fault information can include the fault type corresponding to the historical fault, the fault occurrence time, etc.; the running times, the running mode, and the running state can be acquired through a signal, wherein the running mode can include but is not limited to the manual mode, the automatic mode, the DeadMan mode, etc., and the running state can be acquired through the opening door signal, the closing door signal, the stopping signal, the airbag safety signal, the contrast photoelectric signal, the automatic complete opening door signal, the partial opening door signal, the single key cycle signal, etc. In one example, the user can view the running data of the door body through the corresponding menu module in the display page of the mobile terminal, for example, the display page can include the fault query menu and the information query menu, the user can directly view the historical fault data in the fault query menu, and the fault can directly display various fault types such as system overcurrent, system undervoltage, motor locked-rotor, mainboard data storage fault, overspeed fault, motor encoder fault, communication fault, running timeout, system overheating, controller power failure, etc., instead of a simple fault code; in the information query menu, the controller can report the software version number through Bluetooth, and each signal of the controller can also be reported in real time through Bluetooth, including but not limited to the opening door signal, the closing door signal, the stopping signal, the airbag safety signal, the contrast photoelectric signal, the automatic complete opening door signal, the partial opening door signal, and the single key cycle signal, and the user or the installer can view each signal state in real time through the mobile terminal, which greatly facilitates the on-site debugging or installation personnel to install and test or troubleshoot each peripheral accessory of the door body. Specifically, when the controller communicates with the mobile terminal through Bluetooth, the controller acquires the running data of the door body, such as the opening door signal, the closing door signal, the stopping signal, the emergency stop signal, the airbag safety signal, the contrast photoelectric signal, the automatic complete opening door signal, the partial opening door signal, and the single key cycle signal, and uploads the running data to the mobile terminal in real time through the Bluetooth communication module, in one example, the running data can be uploaded to the applet of the mobile terminal for the user to view, and the user can judge whether the wiring of the safety airbag, the contrast photoelectric, the opening and stopping switches, and other peripheral accessories is correct or whether the accessories are invalid through the real-time display of the mobile terminal, thereby realizing real-time monitoring of the condition of the door body.
[0107] The embodiment of the present disclosure can also acquire the operation data of the door body and send it to the mobile terminal, so that the user can view the operation data of the door body through the mobile terminal, acquire the real-time operation status of the door body, and thus discover the abnormal operation status of the door body in time, reduce the door body failure or personnel injury caused by the failure to handle the abnormal operation of the door body in time, improve the safety and reliability of the door body, and be suitable for more application scenarios. Meanwhile, the parameter input and configuration of the mobile terminal are more intuitive and convenient than the configuration button on the controller, the fault display can display more content at the same time, and thus the user or on-site support personnel can quickly locate and solve the installation or parameter problem.
[0108] In one embodiment, the method further comprises:
[0109] receiving the operation instruction for the door body sent by the mobile terminal;
[0110] controlling the door body to operate according to the operation data corresponding to the operation instruction.
[0111] In the embodiment of the present disclosure, the user can send the operation instruction for the door body through the mobile terminal, wherein the operation instruction for the door body corresponds to the operation data of the door body, and the operation instruction is used to send to the controller to instruct the controller to control the door body to operate according to the operation data. The controller receives the operation instruction for the door body sent by the mobile terminal, and controls the door body to operate according to the operation data corresponding to the operation instruction. In one example, the user can send the operation instruction through the display page of the mobile terminal, wherein the operation instruction can include but is not limited to mode selection instruction, operation configuration instruction, etc. In one possible implementation, the display interface of the mobile terminal can include a mode selection menu and an advanced setting menu, the user can send the mode selection instruction through the mode selection menu and send the operation configuration instruction through the advanced setting menu, wherein in the mode selection menu, the manual mode, the automatic mode and the DeadMan mode are provided, and after the user selects, the mobile terminal sends them to the controller through Bluetooth; in the advanced setting, the user can intuitively and conveniently operate and configure the door opening speed, the door closing speed, the door opening deceleration interval, the door closing deceleration interval, the automatic door closing delay, the door opening height, the safety signal failure height, the safety signal trigger action and the automatic anti-freezing operation time.
[0112] The embodiment of the present disclosure can realize the control of the door body through the mobile terminal, without the need for the user to control the door body through the controller, simplify the operation difficulty of the user, make the control and adjustment of the door body more intuitive, clear and convenient, improve the intelligentization of the door body control operation while avoiding high cost, and be suitable for more application scenarios. Meanwhile, the parameter input and configuration of the mobile terminal are more intuitive and convenient than the configuration button on the controller, and thus the user or on-site support personnel can quickly locate and solve the installation or parameter problem.
[0113] Figure 7 FIG. 1 is a diagram showing a page display structure of a mobile terminal according to an exemplary embodiment; Figure 7 As shown, when the mobile terminal establishes a communication connection with the controller, the mobile terminal displays a controller home page, which corresponds to four menus of mode selection, fault query, information query, and advanced setting. When the user clicks the mode selection menu, the mobile terminal enters a mode selection page and can send a mode selection instruction to adjust the operation mode of the door body. When the user clicks the fault query menu, the mobile terminal enters a fault query page and can query the current abnormal parameters and historical fault data of the door body. When the user clicks the information query menu, the mobile terminal enters an information query page and can view the operation data of the door body. When the user clicks the advanced setting menu, the mobile terminal enters an advanced setting page, in which the operation parameter determination method (i.e., electronic travel automatic learning), programmable output, and parameter setting described in the embodiment can be performed to determine and adjust various operation parameters of the door body.
[0114] According to the method described in the embodiment, the display module of the mobile terminal is used to replace the monochrome small-size display module of the traditional controller. The operator no longer needs to focus on the small-size screen of the controller, and the menu display is greatly improved and more intuitive. The touch function and voice control function of the display module of the mobile terminal make the menu selection and parameter input very convenient, and the operator no longer needs to use the configuration button on the traditional controller to input specific numbers through complex combination operations, thereby simplifying the operation process. The display of the controller fault is no longer a code number display, and the operator no longer needs to refer to the instruction manual to determine the fault content, thereby improving the efficiency of the door body control and adjustment.
[0115] It should be understood that although each step in the flowchart of the accompanying drawings is shown in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the accompanying drawings can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0116] The controller according to the embodiment of the present disclosure communicates with the door body and the mobile terminal through a preset communication module, and implements the steps of the door body operation parameter determination method according to any one of the embodiments of the present disclosure.
[0117] Based on the same inventive concept, the disclosure also provides a device for determining the door operation parameter according to the method described above. The device provides a solution to the problem similar to the solution described in the method above, so the specific limitations in one or more device embodiments for determining the door operation parameter below can refer to the limitations of the method for determining the door operation parameter described above, which will not be repeated here.
[0118] In one embodiment, as shown in Figure 8 A device 800 for determining a door operation parameter is provided, which is applied to a controller, the controller communicates with a door and a mobile terminal through a preset communication module, and the device comprises:
[0119] A receiving module 810 is configured to receive a determination instruction of an operation parameter of the door, wherein the determination instruction of the operation parameter comprises a preset operation direction of the door.
[0120] A control module 820 is configured to control the door to run in the preset operation direction and acquire operation data of the door.
[0121] A determination module 830 is configured to determine a target operation parameter matched with the preset operation direction according to the operation data when the operation data meets a preset condition, wherein the target operation parameter comprises a target position of the door.
[0122] In one embodiment, the control module comprises:
[0123] A first determination sub-module is configured to determine a motor control parameter corresponding to the preset operation direction in response to an input instruction of a motor configuration parameter of the door.
[0124] A first control sub-module is configured to control the door to run in the preset operation direction according to the motor control parameter.
[0125] In one embodiment, the operation data of the door comprises a motor operation parameter value, and the determination module comprises:
[0126] A second determination sub-module is configured to determine an initial operation parameter of the door corresponding to the motor operation parameter when a difference between the motor operation parameter and a preset motor operation parameter is less than a preset threshold.
[0127] A third determination sub-module is configured to determine a target operation parameter matched with the preset operation direction according to the determination instruction and the initial operation parameter.
[0128] In one embodiment, the operation data of the door body includes door body sensor data, the determination instruction of the operation parameter includes a target state of the door body, and the determination module includes:
[0129] a fourth determination submodule configured to determine target sensor data corresponding to the target state;
[0130] a fifth determination submodule configured to determine an initial operation parameter of the door body corresponding to the door body sensor data, in a case where a difference between the door body sensor data and the target sensor data meets a preset requirement;
[0131] a sixth determination submodule configured to determine a target operation parameter matching the preset operation direction according to the determination instruction and the initial operation parameter.
[0132] In one embodiment, the device further includes:
[0133] a first receiving submodule configured to receive an operation parameter adjustment instruction of the door body, wherein the adjustment instruction includes an adjusted target state of the door body;
[0134] a seventh determination submodule configured to determine an association between a door body state and an operation parameter according to the target operation parameter and the corresponding door body state;
[0135] an eighth determination submodule configured to determine an adjusted target operation parameter corresponding to the adjustment instruction according to the adjusted target state based on the association.
[0136] In one embodiment, the device further includes:
[0137] an acquisition module configured to acquire operation data of the door body, wherein the operation data includes at least one of an operation frequency, an operation mode, an operation state, and fault information;
[0138] a sending module configured to send the operation data to the mobile terminal.
[0139] In one embodiment, the device further includes:
[0140] a second receiving submodule configured to receive an operation instruction of the door body sent by the mobile terminal;
[0141] a second control submodule configured to control the door body to operate according to operation data corresponding to the operation instruction.
[0142] The modules in the determination apparatus of the door operation parameter can be implemented by software, hardware, or a combination thereof. The modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in the computer device in software form, so as to be invoked and executed by the processor to perform the operations corresponding to the modules.
[0143] In an embodiment, a computer device is provided, which can be a server, and an internal structure diagram of the computer device can be as shown in FIG. 1. Figure 9 The computer device includes a processor, a memory, and a network interface connected by a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store data required or generated in the determination method of the door operation parameter. The network interface of the computer device is configured to communicate with a terminal outside through a network connection. The computer program is executed by the processor to implement the determination method of the door operation parameter.
[0144] Those skilled in the art can understand that Figure 9 The structure shown in FIG. 1 is only a block diagram of part of the structure related to the embodiments of the present disclosure, and does not limit the computer device to which the embodiments of the present disclosure are applied. Specifically, the computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0145] In an embodiment, a computer device is provided, which includes a memory and a processor. The memory stores a computer program. The processor executes the computer program to implement the steps in the above-mentioned method embodiments.
[0146] In an embodiment, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to implement the steps in the above-mentioned method embodiments.
[0147] In an embodiment, a computer program product is provided, which includes a computer program. The computer program is executed by a processor to implement the steps in the above-mentioned method embodiments.
[0148] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the embodiments of the present disclosure are all information and data authorized by the user or authorized by all parties.
[0149] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided by the present disclosure can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., and is not limited thereto. The processor involved in the embodiments provided by the present disclosure can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., and is not limited thereto.
[0150] The technical features of the above embodiments can be combined in any way. To make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present disclosure.
[0151] The above-described embodiments only express several implementation manners of the present disclosure, the description is relatively specific and detailed, but it cannot be understood as a limitation on the patent scope of the present disclosure. It should be noted that, for ordinary skilled persons in the art, without departing from the concept of the present disclosure, several modifications and improvements can be made, which all belong to the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the appended claims.
Claims
1. A method of determining door operation parameters, characterized by, The method is applied to a controller which communicates with a door body and a mobile terminal through preset communication modules, and the method comprises: receiving a determination instruction of an operation parameter of the door body, wherein the determination instruction of the operation parameter comprises a preset operation direction of the door body; controlling the door body to operate in the preset operation direction and obtaining operation data of the door body; in a case where the operation data meets a preset condition, determining a target operation parameter matched with the preset operation direction according to the operation data, wherein the target operation parameter comprises a target position of the door body; the operation data of the door body comprises a motor operation parameter value, and in the case where the operation data meets the preset condition, the target operation parameter matched with the preset operation direction is determined according to the operation data, which comprises: in a case where a difference between the motor operation parameter and a preset motor operation parameter is less than a preset threshold, determining an initial operation parameter of the door body corresponding to the motor operation parameter; determining the target operation parameter matched with the preset operation direction according to the determination instruction and the initial operation parameter; wherein the preset motor operation parameter is determined according to a motor operation parameter when the door body is blocked.
2. The method of claim 1, wherein, the control of the door body to operate in the preset operation direction comprises: determining a motor control parameter corresponding to the preset operation direction in response to an input instruction of a motor configuration parameter of the door body; controlling the door body to operate in the preset operation direction according to the motor control parameter.
3. The method of claim 1, wherein, the target operation parameter matched with the preset operation direction comprises a target position of an opening direction and a target position of a closing direction.
4. The method of claim 1, wherein, the operation data of the door body comprises door body sensor data, the determination instruction of the operation parameter comprises a target state of the door body, and in the case where the operation data meets the preset condition, the target operation parameter matched with the preset operation direction is determined according to the operation data, which comprises: determining target sensor data corresponding to the target state; in a case where a difference between the door body sensor data and the target sensor data meets a preset requirement, determining an initial operation parameter of the door body corresponding to the door body sensor data; determining the target operation parameter matched with the preset operation direction according to the determination instruction and the initial operation parameter.
5. The method of claim 1, wherein, the method further comprises: receiving an operation parameter adjustment instruction of the door body, wherein the adjustment instruction comprises an adjusted target state of the door body; determining an association relationship between a door body state and an operation parameter according to the target operation parameter and a corresponding door body state; determining an adjusted target operation parameter corresponding to the adjustment instruction according to the adjusted target state based on the association relationship; and / or, obtaining operation data of the door body, wherein the operation data comprises at least one of an operation frequency, an operation mode, an operation state and fault information; sending the operation data to the mobile terminal; and / or, receiving an operation instruction of the door body sent by the mobile terminal; controlling the door body to operate according to operation data corresponding to the operation instruction.
6. A controller characterized by comprising: The controller communicates with the door body and the mobile terminal through preset communication modules to realize the steps of the method for determining the running parameter of the door body in any one of claims 1-5.
7. A device for determining door operation parameters, characterized by The device is applied to a controller which communicates with a door body and a mobile terminal through preset communication modules, and the device comprises: a receiving module configured to receive a determination instruction of a running parameter of the door body, wherein the determination instruction of the running parameter comprises preset running direction and target state information of the door body; a control module configured to control the door body to run in the preset running direction and acquire running data of the door body; a determination module configured to determine a target running parameter matched with the preset running direction according to the running data when the running data meets preset conditions, wherein the target running parameter comprises a target position of the door body; The running data of the door body comprises a motor running parameter value, and the determination module comprises: a second determination submodule configured to determine an initial running parameter of the door body corresponding to the motor running parameter when a difference between the motor running parameter and a preset motor running parameter is less than a preset threshold; and a third determination submodule configured to determine a target running parameter matched with the preset running direction according to the determination instruction and the initial running parameter; wherein the preset motor running parameter is determined according to a motor running parameter when the door body is blocked.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to realize the steps of the method for determining the running parameter of the door body in any one of claims 1-5.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the method for determining the running parameter of the door body in any one of claims 1-5.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the method for determining the running parameter of the door body in any one of claims 1-5.
Citation Information
Patent Citations
Electrically operated gate remote control system based on client
CN112282564A
Automatic door self-learning method and device, computer equipment and storage medium
CN115293362A