CN113138587A - Robot control parameter revising method and intelligent robot - Google Patents
Robot control parameter revising method and intelligent robot Download PDFInfo
- Publication number
- CN113138587A CN113138587A CN202010053830.6A CN202010053830A CN113138587A CN 113138587 A CN113138587 A CN 113138587A CN 202010053830 A CN202010053830 A CN 202010053830A CN 113138587 A CN113138587 A CN 113138587A
- Authority
- CN
- China
- Prior art keywords
- parameter
- revision
- write
- control
- control parameter
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000003860 storage Methods 0.000 claims abstract description 34
- 230000006870 function Effects 0.000 claims description 46
- 230000003993 interaction Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000009776 industrial production Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/41875—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by quality surveillance of production
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
- G06F9/4484—Executing subprograms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32252—Scheduling production, machining, job shop
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Numerical Control (AREA)
- Feedback Control In General (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a robot control parameter revising method and an intelligent robot, wherein the robot control parameter revising method comprises the following steps: receiving the revised value of the control parameter through a human-computer interface; calling an interface function to try to write the revised values of the control parameters into a control system of the robot, wherein when the revised value of any control parameter does not conform to the preset configuration, writing fails and writing failure information of the control parameters with the revised values not conforming to the preset configuration is returned; collecting the revision value of the control parameter which is tried to be written and the writing failure information, and saving the revision value and the writing failure information to a temporary saving area to generate a temporary saving result; and returning a temporary storage result to prompt the user to write failure information. Through the mode, the parameters which accord with the preset configuration can be stored firstly, and only the user is prompted to modify the parameters which do not accord with the preset configuration, so that the use by the user is facilitated.
Description
Technical Field
The application relates to the technical field of industrial robots, in particular to a robot control parameter revising method and an intelligent robot.
Background
With the increasing requirements of industrial production on production efficiency and production quality, industrial robots are used in large quantities in industrial production due to the advantages of high assembly accuracy, settable speed, uninterrupted work and the like, so that labor force is greatly liberated and production cost is reduced.
At present, when an industrial robot debugs functions, a user needs to modify configuration parameters at a Human Machine Interface (HMI), but the configuration parameters of a control system are more, when the user needs to store a plurality of parameters, all the parameters cannot be stored as long as one parameter is stored wrongly, so that the user needs to record modified parameter values in real time, then all the parameters are input again, and all the parameters cannot be stored successfully without errors, so that the user experience is very poor and the use requirement is very high. In addition, if the user ignores that some parameters are not saved successfully and continues to use the machine, then there is a high probability that unintended results, even a security incident, will occur.
Disclosure of Invention
The application provides a robot control parameter revising method, an intelligent robot and a storage device, which are used for firstly storing parameters which accord with preset configuration and then only prompting a user to revise the parameters which do not accord with the preset configuration, so that the user can use the robot more conveniently and experience better.
In order to solve the above technical problem, a first aspect of the present application provides a method for revising robot control parameters, including:
receiving the revised value of the control parameter through a human-computer interface;
calling an interface function to try to write the revised values of the control parameters into a control system of the robot, wherein when the revised value of any control parameter does not conform to the preset configuration, writing fails and writing failure information of the control parameters with the revised values not conforming to the preset configuration is returned;
collecting the revision value of the control parameter which is tried to be written and the writing failure information, and saving the revision value and the writing failure information to a temporary saving area to generate a temporary saving result;
and returning a temporary storage result to prompt the user to write failure information.
Based on the first aspect of the present application, a first implementation manner of the first aspect of the present application, wherein the step of receiving the revised value of the control parameter via the human-machine interface includes: receiving the revised value of the control parameter by a human-computer interface and generating corresponding parameter information;
the parameter information comprises a write storage position and revision identification corresponding to the revision value of the control parameter.
The address of the parameter saved in the control system can be determined by writing the saving position, and which parameters need to be modified can be determined by modifying the identification, so that parameter error writing is avoided.
Based on the first aspect of the present application and the first implementation manner of the first aspect, in a second implementation manner of the first aspect of the present application, the step of calling the interface function to attempt to write the revised value of the control parameter into the control system of the robot includes:
judging whether the current control parameter has a revision identification;
if the current control parameter has the revision identification, calling an interface function to try to write the revision value of the current control parameter into a corresponding position of the control system according to the write-in storage position in the parameter information;
and when the interface function tries to write, determining that the current control parameter does not conform to the preset configuration, writing fails, returning the writing failure information of the current control parameter, and continuing to write the next control parameter until all revised control parameters call the interface function in sequence to try to write.
And calling the interface function by all the parameters in sequence to confirm whether each parameter can be correctly written or not so as to return the written information of the parameters.
Based on the first implementation manner and the second implementation manner of the first aspect of the present application, a third implementation manner of the first aspect of the present application, where the step of collecting a revision value of a control parameter that is attempted to be written and write failure information, and saving the revision value and the write failure information to a temporary saving area to generate a temporary saving result includes:
collecting revised values of the control parameters which are attempted to be written, wherein the control parameters which are attempted to be written comprise the control parameters of which the revised values accord with the preset configuration and the control parameters of which the revised values do not accord with the preset configuration;
and collecting write failure information of all the control parameters of which the revision values do not accord with the preset configuration.
By collecting all the revision values of the parameters which are attempted to be written and the write failure information, all the information to be returned can be collected and the call is waited.
Based on the first aspect of the present application, a fourth implementation manner of the first aspect of the present application, where the step of returning the temporary storage result to prompt the user to write the failure information includes:
and returning write failure information of all the control parameters with revision values not conforming to the preset configuration and the revision values of the control parameters which are tried to be written so as to prompt a user to modify the revision values of the control parameters with revision values not conforming to the preset configuration on the basis of the original revision values of the control parameters.
By returning the write failure information and the revised value of the control parameter for which the write attempt was made, the user can only modify the parameter that does not conform to the preset configuration on the basis of the last input parameter value, and therefore the use requirement is low and the use feeling is better.
Based on the fourth implementation manner of the first aspect of the present application, in a fifth implementation manner of the first aspect of the present application, the writing the failure information includes:
and writing the failure identification and the corresponding parameter name of the control parameter.
By controlling the parameter names of the parameters, which parameters cannot be written correctly can be determined, and the user is further prompted about the parameter names which cannot be written correctly.
Based on any one implementation manner of the first aspect to the first implementation manner to the third implementation manner of the first aspect of the present application, a sixth implementation manner of the first aspect of the present application, where the revision value does not conform to a preset configuration, includes:
the revised value exceeds a preset value range, and the value range is preset according to the type of the corresponding control parameter.
And a basis is provided for judging whether the parameter revision value accords with the preset configuration or not through the value range of the preset parameter.
Based on any one implementation manner of the first aspect to the first implementation manner of the first aspect, or the third implementation manner of the first aspect of the present application, in a seventh implementation manner of the first aspect of the present application, data interaction is performed between the human-computer interface and the interface function through a remote call framework.
The communication between the human-computer interface and other modules can be realized through the remote calling framework, and the interface function can be stably called.
The present application provides in a second aspect an intelligent robot comprising: a human-machine interface, a control system, a processor and a memory, wherein the memory stores a program, and the processor calls the program to execute between the human-machine interface and the control system, for implementing the method of any of the first aspect.
A third aspect of the present application provides a device with a storage function, the device with a storage function storing program data, the program data being executable by a processor to be executed between a human-machine interface and a robot control system, for implementing any of the methods of the first aspect described above.
The beneficial effect of this application is: different from the situation of the prior art, the method and the device have the advantages that all parameters are not required to be guaranteed to be in accordance with the preset configuration, when an error occurs in calling an interface function to try to write the revision value of the control parameter into the control system of the robot, the revision value of the control parameter which can be correctly written into the control system is stored in the temporary storage area, a user is not required to input all the control parameters again, the parameters which are not in accordance with the preset configuration are only required to be modified on the basis of the original revision value according to a prompt, the user is enabled to use more conveniently, and the user experience is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a method for revising control parameters of a robot provided herein;
FIG. 2 is a schematic flow chart diagram illustrating another embodiment of a method for revising control parameters of a robot according to the present application;
FIG. 3 is a schematic structural diagram of an embodiment of an intelligent robot provided by the present application;
FIG. 4 is a schematic structural diagram of an embodiment of an apparatus with a storage function provided in the present application;
fig. 5 is a schematic structural diagram of an embodiment of an intelligent warning device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a method for revising control parameters of a robot according to the present application, the method including:
step S101: and receiving the revised value of the control parameter through the human-computer interface.
Specifically, the step S101 includes: receiving the revised value of the control parameter input by a user from an input device such as a keyboard or a touch screen, and displaying the revised value on a display screen.
In a specific application example, a user inputs parameter values of 20 parameters through a keyboard, the input parameter values are all displayed on a display screen, and the user selects and confirms to modify the parameters after completing the input.
Step S102: and calling the interface function to try to write the revised values of the control parameters into the control system of the robot, wherein when the revised value of any control parameter does not accord with the preset configuration, the writing fails and writing failure information of the control parameters of which the revised values do not accord with the preset configuration is returned.
Specifically, in step S102, the human-machine interface calls the interface function by the remote call frame, so that the stability of the human-machine interface calling the interface function is improved. The basis for judging whether the revision value meets the preset configuration is as follows: and whether the revised value exceeds a preset value range or not, wherein the preset value range is preset according to the type of the corresponding control parameter. Such as control parameters including: the type of the mechanical unit, the speed limit of each shaft, the rotation angle of each shaft, etc. The system can set the value range of the control parameter in advance according to different parameter types and the limits of the speed and the rotation angle of each shaft of the robot at different positions. The preset parameter value range provides a basis for the parameter to be written correctly. In addition, the interface function may execute a command for writing the control parameter into the control system, and when the revised value of any parameter cannot be correctly written into the control system, the writing fails and corresponding writing failure information is returned, and the interface function may set a vector class or other type of array so as to store the return value of the writing failure information, for example, set a vector < cool > to store the return value of the writing result, but is not limited specifically here.
In the above application example, the interface function performs an operation of attempting writing 20 parameters one by one, and once there is an error in the revised value of the parameter, the writing fails and corresponding writing failure information is returned, wherein if the writing succeeds, 1 is returned, and if the writing fails, 0 is returned.
Step S103: and collecting the revision value of the control parameter which is tried to be written and the write failure information of the control parameter of which the revision value does not conform to the preset configuration, and saving the data to the temporary saving area to generate a temporary saving result.
Specifically, in step 103, the write failure information at least includes a write failure flag and a parameter name of a corresponding control parameter, which is not limited herein. The system can search the parameter name of the corresponding control parameter according to the write-in failure identification index, and then prompt the user to write the parameter name corresponding to the failed control parameter, so as to modify the revised value of the control parameter, the revised value of which does not conform to the preset configuration. The name of the parameter is used for accurately prompting the user of which parameter revision value should be modified, so that the probability of mistakenly modifying the parameter which is in line with the preset configuration by the user is reduced. The temporary storage area may be a storage area in a storage device such as a memory or a display memory, and is not particularly limited herein.
In the above application example, the human-machine interface collects the 20 parameter revision values previously input by the user and the write failure information of the parameters that do not conform to the preset configuration, and stores them in the display memory.
Step S104: and returning a temporary storage result to prompt a user of the write failure information of the control parameter of which the revision value does not conform to the preset configuration.
Specifically, in the step 104, the prompting mode may adopt at least one of a voice prompt mode and a pop-up frame prompt mode, and optionally, a colored background may be added to the parameter that does not conform to the preset configuration on the display screen to distinguish the parameter that conforms to the preset configuration.
In the application example, the control system calls the temporary storage result stored in the display memory, then displays the temporary storage result on the display screen in a pop-up window manner, sets the background of the display frame of the parameter to be red for the parameter which does not conform to the preset configuration along with an error prompt tone, does not mark the parameter which conforms to the preset configuration, and the user can modify the parameter which does not conform to the preset configuration on the basis of the parameter input last time according to the prompt and then try to modify the 20 parameters again.
According to the method for revising the robot control parameters, when the parameters which do not conform to the correct configuration exist, a user does not need to input all the control parameters again, and only needs to revise the parameters which do not conform to the preset configuration on the basis of the original revision value according to the prompt, so that the user can use the method more conveniently, and the user experience is greatly improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another embodiment of a method for revising control parameters of a robot according to the present application, the method including:
step 201: and receiving the revised value of the control parameter through the human-computer interface, and generating corresponding parameter information.
Specifically, in step 201, the parameter information includes a write save location and a revision identification corresponding to the revision value of the control parameter. After the human-computer interface receives the parameter revision value input by the user, the system generates a revision identification uniquely corresponding to each parameter, and the storage address of each parameter can be found through the revision identification.
When the subsequent steps are executed, the system can find out which parameters need to be modified through the parameter information, and find out the address of each parameter stored in the system, so that the data is prevented from being wrongly written or occupying the storage addresses of other data.
Step 202: it is determined whether the current control parameter has a revision identification.
Specifically, in step 202, since the revision identification uniquely corresponds to the parameter, the next step is executed only after the system detects the revision identification, and this mechanism can prevent data that is not input by the user from being written into the system, thereby improving the security of the system.
Step 203: the interface function is called to attempt to write the revised value of the current control parameter to the corresponding location of the control system according to the written save location in the parameter information.
Step 204: when the interface function tries to write, whether the current control parameter accords with the preset configuration is judged.
Specifically, in step 204, the criterion for determining whether the revision value meets the preset configuration is as follows: whether the revised value exceeds the preset value range or not and whether the same parameter is repeatedly input or not.
If the current control parameter does not conform to the preset configuration, go to step 205; if the current parameter matches the preset configuration, go to step 206.
Step 205: and writing fails and the writing failure information of the current control parameter is returned.
Step 205 is executed followed by step 206.
Step 206: whether all revised control parameters call the interface function in turn to attempt to write to the control system.
Specifically, after the determination in step 206, all the parameters call the interface function, which specifies which parameters of all the parameters can be correctly written and which parameters cannot be correctly written.
If all the revised control parameters have called the interface function in turn, step 207 is executed, otherwise, step 202 is returned to.
In a specific application example, the human-computer interface receives revision values of corresponding parameters input by a user under different parameter names, and the system generates a unique corresponding revision identification for each parameter and searches a storage address of each parameter. After the system detects the modification identifier, the system will call the pool setparaavalue (string para _ path, vector < char > & value) to the interface function, where path represents the storage address of the parameter and value represents the value of the parameter. The interface function tries to write the revised value of the current control parameter into a storage position, judges whether the parameter accords with the preset configuration, if the return result of the interface function is 1, the attempt of writing is successful, if the return result of the function is 0, the attempt of writing is failed, and if the attempt of writing is failed, the write-failure identifier, the corresponding parameter of the control parameter and the corresponding revised value of the parameter are returned. Whether the result of the writing attempt is successful or failed, if all the parameters have not been called the interface function in sequence, the procedure returns to step 202, and the interface function is called after the modification identifier is detected until all the parameters call the interface function.
Step 207: the revision value of the control parameter for which writing is attempted and the write failure information of the control parameter whose revision value does not conform to the preset configuration are collected.
Specifically, in step 207, the attempted writing control parameters include the control parameters whose revised values conform to the preset configuration and the control parameters whose revised values do not conform to the preset configuration, that is, the revised values of all the user-input parameters are collected.
Step 208: and returning write failure information of all the control parameters with revision values not conforming to the preset configuration and the revision values of the control parameters which are tried to be written so as to prompt a user to modify the revision values of the control parameters with revision values not conforming to the preset configuration on the basis of the original revision values of the control parameters.
In the application example, the parameter name of the control parameter whose system revision value does not accord with the preset configuration and the corresponding parameter revision value are returned and displayed on the display screen to remind the user to modify, while the control parameter which accords with the preset configuration is also returned and displayed on the display screen, but the user does not need to input the control parameter value which accords with the preset configuration again, only needs to modify the parameter which does not accord with the preset configuration according to the prompt, then selects and confirms to modify the parameter again, and the system returns to the step 201 again until all the parameters accord with the preset configuration, and writes all the control parameters into the corresponding positions in the control system, so that the condition that the machine is continuously used without successfully storing some parameters does not occur, and the use safety of the robot is improved.
In the method for revising the robot control parameters provided by this embodiment, all the parameters sequentially call the interface function to try to write the revision value of the current control parameter into the corresponding position in the control system and return the write result, and when there is a parameter that does not conform to the preset configuration, all the parameters that are tried to be written are returned, and the user is prompted to modify the revision value of the control parameter whose revision value does not conform to the preset configuration on the basis of the original revision value. Therefore, the user only needs to modify the parameters which do not accord with the preset configuration, and does not need to record the parameter values modified last time in real time, thereby greatly facilitating the use of the user.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of an intelligent robot provided in the present application, wherein the intelligent robot 10 includes: human-machine interface 12, control system 14, processor 16, and memory 18. Wherein, the memory 18 stores programs, and the processor 16 calls the programs stored in the memory 18 to execute between the human-computer interface 12 and the control system 14, for implementing the revision method of the robot control parameters in the above embodiments, and the detailed description of the related contents refers to the above method section, which is not described in detail herein.
In this embodiment, the intelligent robot 10 may store the parameters that meet the preset configuration in the temporary area, and only prompt the user to modify the parameters that do not meet the preset configuration, thereby improving the accuracy and efficiency when modifying the control parameters.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of the apparatus with storage function provided in the present application, wherein the apparatus with storage function 20 is used in a program 200, and the program 200 is used to implement the method for revising the robot control parameters in the above embodiments when being executed by a processor, and the detailed description of the relevant contents refers to the above method section, which is not repeated herein.
The device 20 with a storage function may be a server, a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various devices capable of storing program codes.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an embodiment of an intelligent reminding device provided in the present application. Wherein, intelligent reminding device 30 includes: the device comprises a human-computer interaction module 31, a control module 32, a detection module 33, a processing module 34, a storage module 35 and a prompt module 36.
In an alternative implementation, the human-computer interaction module 31 receives a revised value of the control parameter; the control module 32 calls the interface function, and the processing module 34 performs an operation of attempting to write the revised values of the control parameters into the storage module 35, wherein when the detection module 33 detects that the revised value of any control parameter does not conform to the preset configuration, the writing fails and write failure information of the control parameters with the revised values not conforming to the preset configuration is returned; the processing module 34 collects the revision value of the control parameter attempted to be written and the write failure information of the control parameter whose revision value does not conform to the preset configuration, and saves the same to the temporary saving area provided by the storage module 35 to generate a temporary saving result; the processing module 34 returns the temporary storage result, and the prompting module 36 prompts the user of the write-in failure information of the control parameter whose revision value does not conform to the preset configuration, and prompts the user to modify the revision value of the control parameter whose revision value does not conform to the preset configuration based on the original revision value of the returned control parameter.
In another alternative implementation manner, the human-computer interaction module 31 receives the revised value of the control parameter, and the control module 32 generates parameter information corresponding to the parameter; the parameter information comprises a write storage position and revision identification corresponding to the revision value of the control parameter.
In another alternative implementation, the control module 32 determines whether the current control parameter has a revision identification; if the current control parameter has the revision identification, the control module 32 calls an interface function to attempt to write the revision value of the current control parameter to the corresponding location on the storage module 35 according to the write-in storage location in the parameter information; when the detection module 33 determines that the current control parameter does not conform to the preset configuration when the interface function attempts to write, the write failure processing module 34 returns the write failure information of the current control parameter and continues to attempt to write the next control parameter until the control module 32 calls the interface function in sequence for all revised control parameters to attempt to write.
In another alternative implementation, the control module 32 collects revised values of the control parameters attempted to be written, wherein the control parameters attempted to be written include control parameters whose revised values conform to the preset configuration and control parameters whose revised values do not conform to the preset configuration; the control module 32 collects write failure information for all control parameters whose revision values do not conform to the preset configuration.
In another alternative implementation manner, the processing module 34 returns write failure information of all the control parameters whose revision values do not conform to the preset configuration and the revision values of the control parameters whose writing is attempted, and the prompting module 36 prompts the user to modify the revision values of the control parameters whose revision values do not conform to the preset configuration based on the original revision values of the control parameters.
In another alternative implementation, the write failure information returned by the processing module 34 includes a write failure identifier and a parameter name of a corresponding control parameter.
In another alternative implementation manner, the detection module 33 determines the revision value according to whether the revision value exceeds a preset value range, and the value range is preset according to the type of the corresponding control parameter.
In another alternative implementation manner, the human-computer interaction module 31 and the control module 32 perform data interaction through a remote invocation framework.
The intelligent reminding device 30 provided by the embodiment can only prompt the user to modify the parameters which are not in accordance with the preset configuration, and the user only needs to modify the parameters which are not in accordance with the preset configuration on the basis of the original revision value according to the prompt, so that the user can use the intelligent reminding device more conveniently.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.
Claims (10)
1. A method for revising robot control parameters, comprising:
receiving the revised value of the control parameter through a human-computer interface;
calling an interface function to try to write the revised values of the control parameters into the control system of the robot, wherein when the revised value of any control parameter does not accord with the preset configuration, the writing fails and writing failure information of the control parameters of which the revised values do not accord with the preset configuration is returned;
collecting the revision value of the control parameter attempted to be written and the write failure information, and saving the revision value and the write failure information to a temporary saving area to generate a temporary saving result;
and returning the temporary storage result to prompt the user of the write failure information.
2. The method of claim 1, wherein the step of receiving the revised value of the control parameter via the human-machine interface comprises:
receiving the revised value of the control parameter by the human-computer interface and generating corresponding parameter information;
wherein the parameter information includes a write save location and a revision identification corresponding to a revision value of the control parameter.
3. The method of claim 2, wherein the step of calling an interface function to attempt to write revised values of the control parameters to the control system of the robot comprises:
judging whether the current control parameter has the revision identification;
when the current control parameter has the revision identification, calling the interface function to try to write the revision value of the current control parameter into a corresponding position of the control system according to the write-in storage position in the parameter information;
and when the interface function tries to write, determining that the current control parameter does not conform to the preset configuration, failing to write, returning write failure information of the current control parameter, and continuing to write the next control parameter until all revised control parameters call the interface function in sequence to try to write.
4. The method according to claim 3, wherein the step of collecting the revision value of the control parameter attempted to be written and the write failure information and saving to a temporary save area to generate a temporary save result comprises:
collecting revised values of the control parameters attempted to be written, wherein the control parameters attempted to be written comprise control parameters with revised values conforming to preset configuration and control parameters with revised values not conforming to preset configuration;
and collecting write failure information of all the control parameters of which the revision values do not accord with the preset configuration.
5. The method according to any one of claims 1 to 4, wherein the step of returning the temporary save result to prompt the user of the write failure information comprises:
and returning write failure information of all the control parameters with revision values not conforming to the preset configuration and the revision values of the control parameters which are tried to be written so as to prompt a user to modify the revision values of the control parameters with revision values not conforming to the preset configuration on the basis of the original revision values of the control parameters.
6. The method of claim 5, wherein the write failure information comprises: and writing the failure identification and the corresponding parameter name of the control parameter.
7. The method according to any one of claims 1 to 4, wherein the revision value does not conform to a preset configuration, comprising:
the revision value exceeds a preset value range, and the preset value range is preset according to the type of the corresponding control parameter.
8. The method according to any one of claims 1 to 4,
and the human-computer interface and the interface function carry out data interaction through a remote calling frame.
9. An intelligent robot is characterized in that,
the intelligent robot comprises a human-machine interface, a control system, a processor and a memory, wherein the memory stores a program, and the processor calls the program to execute the method according to any one of claims 1-8 between the human-machine interface and the control system.
10. An apparatus having a storage function, on which program data is stored, characterized in that,
the program data is executed by a processor to perform the method of any one of claims 1-8 between a human machine interface and a robotic control system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010053830.6A CN113138587B (en) | 2020-01-17 | 2020-01-17 | Robot control parameter revising method and intelligent robot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010053830.6A CN113138587B (en) | 2020-01-17 | 2020-01-17 | Robot control parameter revising method and intelligent robot |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113138587A true CN113138587A (en) | 2021-07-20 |
CN113138587B CN113138587B (en) | 2022-08-16 |
Family
ID=76808436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010053830.6A Active CN113138587B (en) | 2020-01-17 | 2020-01-17 | Robot control parameter revising method and intelligent robot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113138587B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1813635A (en) * | 2005-01-31 | 2006-08-09 | 西门子公司 | Method and apparatus for control image mode |
TW200720919A (en) * | 2005-11-18 | 2007-06-01 | Hon Hai Prec Ind Co Ltd | System and method for setting BIOS |
CN101840216A (en) * | 2009-03-17 | 2010-09-22 | 鸿富锦精密工业(深圳)有限公司 | Programmable logical controller parameter setting system and method thereof |
CN102441215A (en) * | 2010-10-09 | 2012-05-09 | 深圳迈瑞生物医疗电子股份有限公司 | Parameter setting method and device for medical equipment and medical equipment |
CN106295183A (en) * | 2016-08-09 | 2017-01-04 | 深圳市诺然美泰科技股份有限公司 | The parameter adjustment control of a kind of armarium and method |
CN206421388U (en) * | 2016-08-09 | 2017-08-18 | 深圳市诺然美泰科技股份有限公司 | A kind of parameter adjustment control of Medical Devices |
CN108123836A (en) * | 2017-12-20 | 2018-06-05 | 苏州桠鑫电子科技有限公司 | The collocation method of intelligent terminal parameter |
-
2020
- 2020-01-17 CN CN202010053830.6A patent/CN113138587B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1813635A (en) * | 2005-01-31 | 2006-08-09 | 西门子公司 | Method and apparatus for control image mode |
TW200720919A (en) * | 2005-11-18 | 2007-06-01 | Hon Hai Prec Ind Co Ltd | System and method for setting BIOS |
CN101840216A (en) * | 2009-03-17 | 2010-09-22 | 鸿富锦精密工业(深圳)有限公司 | Programmable logical controller parameter setting system and method thereof |
CN102441215A (en) * | 2010-10-09 | 2012-05-09 | 深圳迈瑞生物医疗电子股份有限公司 | Parameter setting method and device for medical equipment and medical equipment |
CN106295183A (en) * | 2016-08-09 | 2017-01-04 | 深圳市诺然美泰科技股份有限公司 | The parameter adjustment control of a kind of armarium and method |
CN206421388U (en) * | 2016-08-09 | 2017-08-18 | 深圳市诺然美泰科技股份有限公司 | A kind of parameter adjustment control of Medical Devices |
CN108123836A (en) * | 2017-12-20 | 2018-06-05 | 苏州桠鑫电子科技有限公司 | The collocation method of intelligent terminal parameter |
Also Published As
Publication number | Publication date |
---|---|
CN113138587B (en) | 2022-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106023994B (en) | Voice processing method, device and system | |
CN110288990B (en) | Voice control optimization method, storage medium and intelligent terminal | |
CN112286485A (en) | Method and device for controlling application through voice, electronic equipment and storage medium | |
CN111225285A (en) | Bluetooth device display name modification and display method, device, equipment and medium | |
CN112399222A (en) | Voice instruction learning method and device for smart television, smart television and medium | |
CN104750575B (en) | The restoring method and device of a kind of mobile terminal operating system | |
CN113138587B (en) | Robot control parameter revising method and intelligent robot | |
CN111161424A (en) | Three-dimensional map determination method and determination device | |
CN115858049A (en) | RPA flow componentization arrangement method, device, equipment and medium | |
JP2010102454A (en) | Information processing apparatus and information processing program | |
CN115687146A (en) | BIOS (basic input output System) test method and device, computer equipment and storage medium | |
CN115691505A (en) | Control method, device, equipment, medium and program product of intelligent voice equipment | |
CN113172633A (en) | Interaction method, device, equipment and medium based on Robot Process Automation (RPA) | |
CN112612469A (en) | Interface element processing method and device and electronic equipment | |
CN107065820A (en) | Method and device for preventing steering engine information from being lost | |
CN110673792B (en) | Task processing method, device and equipment of storage equipment and readable storage medium | |
US11770395B2 (en) | Information processing apparatus, computer program product, and information processing system | |
CN112948799B (en) | Verification method of graphic verification code and related device thereof | |
WO2023019941A1 (en) | Robot control method and apparatus, storage medium, and robot | |
CN111670091B (en) | Robot program instruction compiling method, robot control system and storage device | |
CN107122652B (en) | Control method and device for unlocking object | |
CN111930425B (en) | Data control method and device and computer readable storage medium | |
JPH11327885A (en) | Call-back function calling control method and its system | |
WO2023112118A1 (en) | Operation assistance device, operation assistance method, and operation assistance program | |
CN113903107A (en) | Door lock control method and device for robot, robot and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |