WO2018121735A1 - 一种舵机信息防丢失方法及装置 - Google Patents

一种舵机信息防丢失方法及装置 Download PDF

Info

Publication number
WO2018121735A1
WO2018121735A1 PCT/CN2017/119866 CN2017119866W WO2018121735A1 WO 2018121735 A1 WO2018121735 A1 WO 2018121735A1 CN 2017119866 W CN2017119866 W CN 2017119866W WO 2018121735 A1 WO2018121735 A1 WO 2018121735A1
Authority
WO
WIPO (PCT)
Prior art keywords
servo information
information
servo
stored
steering gear
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.)
Ceased
Application number
PCT/CN2017/119866
Other languages
English (en)
French (fr)
Inventor
熊友军
张礼富
范文华
赵计高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ubtech Robotics Corp
Original Assignee
Ubtech Robotics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Publication of WO2018121735A1 publication Critical patent/WO2018121735A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Definitions

  • the invention relates to the field of robots, and in particular to a method and a device for preventing loss of servo information.
  • each steering gear is equivalent to a small generator.
  • a robot has six servos with IDs 1, 2, 3, 4, 5, and 6, respectively. If the servo with ID ID 6 is modified to ID1, then there will be two 1 on the machine. The number of steering gears, while the absence of a No. 6 steering gear, the original robot's control program will not be able to properly control the robot. At the same time, if the zero drift value of the No. 2 steering gear is modified, then under the same robot control command, the action made by the No. 2 steering gear will be offset by a certain angle, which can make the robot some These movements are distorted.
  • the object of the present invention is to provide a method for preventing loss of storage information of a steering gear, which can solve the problem that the stored information of the steering gear is incorrectly and frequently modified during the development and debugging of the robot prototype, resulting in the loss of the correct information stored. .
  • a method for preventing loss of servo information includes the following steps:
  • the read pre-stored servo information is used as the servo information required for the current operation; if it is not legal, the unified template configuration information is called as the servo information required for the current operation.
  • the servo information includes a servo identification and a zero drift value.
  • the determining whether the read pre-stored steering gear information is legal comprises determining whether the read servo information format is correct and determining whether the relevant value is within a set range.
  • the method further includes:
  • the servo information modification instruction is received, it is determined whether the instruction identifier in the servo information modification instruction is consistent with the steering gear identifier;
  • the servo information is modified according to the servo information modification command, and the modified servo information is used as the servo information required for the current operation.
  • the method further includes:
  • the invention also provides a servo information loss prevention device, comprising:
  • a reading module for reading pre-stored servo information
  • a first determining module configured to determine whether the read pre-stored steering gear information is legal
  • a setting module configured to use the read pre-stored steering gear information as the steering gear information required for current operation when the read pre-stored steering gear information is legal;
  • the calling module is configured to call the unified template configuration information as the servo information required for the current operation when the read pre-stored servo information is invalid.
  • the servo information includes a servo identification and a zero drift value.
  • the first determining module is further configured to determine whether the read servo information format is correct and determine whether the relevant value is within a set range.
  • the device further comprises:
  • a receiving module configured to receive an input steering modification command
  • a second judging module configured to determine whether the instruction identifier in the servo information modification instruction is consistent with the steering gear identifier when receiving the servo information modification instruction
  • the modification module is configured to modify the servo information according to the servo information modification instruction when the instruction identifier in the servo information modification instruction is consistent with the steering gear identifier, and use the modified servo information as a steering gear required for current operation information.
  • An update module for updating the modified servo information to the storage area.
  • the invention also provides a servo information loss prevention device, the device comprising:
  • the processor is configured to:
  • the read pre-stored servo information is used as the servo information required for the current operation; if it is not legal, the unified template configuration information is called as the servo information required for the current operation.
  • the invention has the beneficial effects of: setting the stored servo information or calling the unified template configuration information as the currently running servo information by determining whether the read pre-stored servo information is legal, and the operation is completed.
  • the servo information of the current operation is not saved, and the servo information stored in advance is not changed, and the steering gear information caused by the reading error is prevented from being changed under the unstable power supply voltage.
  • FIG. 1 is a schematic flow chart of a method for preventing loss of servo information in an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an anti-lost device for servo information according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an anti-lost device for servo information according to another embodiment of the present invention.
  • Embodiment 1 of the present invention provides a method for preventing loss of servo information, which solves the problem that the servo motor unstable reading operation error engine information is erroneously modified and the execution modification instruction is illegally modified;
  • a servo information loss prevention device is also a problem of solving the problem that the servo signal of the power-on voltage unstable reading operation is incorrectly modified and the execution modification instruction is illegally modified.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a schematic flowchart of a method for preventing loss of servo information in the embodiment.
  • the servo information loss prevention method includes the following steps:
  • Step 001 Read the pre-stored servo information.
  • the corresponding servo information has also been written into the servo MCU for storage. After the servo is powered on, the pre-stored servo information will be read in the first time. Many operations of the servo, such as command filtering, response, etc., will use this information and use this information as an important criterion to determine Whether the servo itself responds to the received command and how to respond to commands.
  • Step 002 Determine whether the servo information stored in advance is legal.
  • Step 0031 If it is legal, the servo information read is used as the servo information required for the current operation;
  • Step 0032 If it is not legal, the unified template configuration information is called as the servo information required for the current operation.
  • the servo information to be read is used as the servo information required for the current operation.
  • the legal servo information is used as the servo information of the current operation, and the operation is completed.
  • the pre-stored servo information is still stored in the FLASH area of the MCU; if it is not legal, proceed to step 0032, that is, the unified template configuration information is called as the servo information required for the current operation, and the unified template configuration information here. It is a common subset of all servo information, that is, applicable to all servos. It is a special set of data information values.
  • the unified template configuration information is used as the servo information of the current operation.
  • the servo information is also stored in the FLASH area of the MCU. The read error is avoided to modify the pre-stored servo information.
  • the parameters are optimized by modifying some servo information. In this process, illegal modification is often performed.
  • the servo information loss prevention method further includes the following steps:
  • Step 004 Receive a servo information modification instruction.
  • Step 005 Determine whether the instruction identifier in the servo information modification instruction is consistent with the steering gear identifier.
  • the servo logo is obtained by a certain calculation of the chip of the MCU. Since the ID of the MCU chip is unique, the servo logo is unique. The received servo information modification command is judged, and the identifier included in the comparison instruction is consistent with the existing servo identification.
  • Step 006 If they are consistent, the servo information is modified according to the servo information modification instruction, and the modified servo information is used as the servo information required for the current operation.
  • the servo operation is based on the modified servo information. Of course, if it is inconsistent, it cannot be modified, and you need to re-enter the modification instruction.
  • Step 007 After the operation is completed, the modified servo information is updated to the pre-storage area.
  • the servo information is continuously modified and tested. Until the commissioning is completed, the current servo information is debugged. After the commissioning is completed, the currently modified servo information is pre-stored. The servo information of the area is updated and saved as the current optimal servo information.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the embodiment of the present invention further provides a servo information loss prevention device, as shown in FIG. 2, and FIG. 2 is a schematic structural diagram of the servo information loss prevention device in the embodiment.
  • the servo information loss prevention device includes:
  • Reading module 100 reading pre-stored servo information
  • the first determining module 200 determines whether the pre-stored steering gear information read by the reading module is legal;
  • the setting module 310 is configured to set the read servo information to the servo information required for the current operation
  • Calling module 320 calling the unified template configuration information as the servo information required for the current operation
  • the servo information loss prevention device may further include:
  • Receiving module 400 receiving a servo information modification instruction
  • the second determining module 500 determines whether the instruction identifier in the servo information modification instruction is consistent with the steering gear identifier
  • Modifying the module 600 modifying the servo information according to the servo information modification instruction
  • the update module 700 updates the modified servo information to the pre-storage area.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 3 is a schematic structural diagram of the servo information loss prevention device in the embodiment.
  • the servo information loss prevention device includes:
  • the processor 900 The processor 900,
  • a memory 800 for storing the processor executable instructions
  • the processor 800 is configured to:
  • the read pre-stored servo information is used as the servo information required for the current operation; if it is not legal, the unified template configuration information is called as the servo information required for the current operation.
  • processor is also configured to:
  • the invention has the beneficial effects of: setting the stored servo information or calling the unified template configuration information as the currently running servo information by determining whether the read pre-stored servo information is legal, and the operation is completed.
  • the currently running servo information is not saved, the pre-stored servo information is not changed, the servo signal is prevented from being changed due to the power supply voltage being unstable, and the servo information is modified by the judgment of the received servo information. Whether the identification code is consistent with the servo identification code reduces the possibility of being illegally modified.
  • the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.
  • modules or units described as separate components may or may not be physically separate, and the components illustrated as modules or units may or may not be physical modules, both It can be located in one place or it can be distributed to multiple network modules. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Steering Control In Accordance With Driving Conditions (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

一种舵机信息防丢失方法,包括以下步骤:读取预先存储的舵机信息(001);判断读取的预先存储的舵机信息是否合法(002);若合法,则将读取的预先存储的舵机信息作为当前运行需要的舵机信息(0031);若不合法,则调用统一样板配置信息作为当前运行需要的舵机信息(0032)。通过判断读取的预先存储的舵机信息是否合法,设置存储的舵机信息或调用统一样板配置信息作为当前运行的舵机信息,运行完毕,当前运行的舵机信息不保存,预先存储的舵机信息不做改变,避免了电源电压不稳定下,读取错误导致的舵机信息被改。

Description

一种舵机信息防丢失方法及装置 技术领域
本发明涉及机器人领域,尤其涉及一种舵机信息防丢失方法及装置。
背景技术
机器人取代人工逐渐成为一种趋势,作为应用于机器人上的舵机,为了便于连线,通常采用数字舵机方式,这种方式舵机内带MCU,能进行数据指令解析及运行电机控制算法,还能存储一些舵机关键信息,比如舵机的ID,零点漂移值等,这些信息通常被存储在MCU的FLASH区。在机器人各关节中,各个舵机相当于一个小型发电机,当机器人在未上电且有外力掰动机器人关节时,如果舵机主板没有对舵机所发的电进行适当处理的话,各关节舵机所发的电将直接注入舵机电源总线中,很有可能会使得某些舵机直接上电工作。而在实际情况下外力掰动机器人关节都是随机,没规律的,对应所产生的电压也是随意波动的,表现出极不稳定。某些舵机就是在这种极不稳定的电压下上电工作的,而实验证明大多数单片机在不稳定电压下对FLASH区进行的读取写入操作并不可靠,导致读取舵机信息时产生读取错误,这些信息会被不正确的频繁修改,导致舵机存储的关键信息丢失的情况时常发生,给样机品质带来很大隐患。
另在对舵机信息进行调试时,有时会被非法修改,导致舵机信息错乱,无法正常控制机器人。比如,一机器人有标识ID分别为1、2、3、4、5、6的6个舵机,如果其中标识ID为6的舵机被修改成了ID1, 那么机器上将会有两个1号舵机,同时少了一个6号舵机,原本的机器人的控制程序将无法正常控制机器人。同时如果2号舵机的零点漂移值被修改了,那么在原来相同的机器人控制命令下,2号舵机所做出来的动作将发生一定角度的偏移,这种偏移可以使机器人的某些动作变形。
发明内容
为了克服现有技术的不足,本发明的目的在于提供一种舵机存储信息防丢失方法,其能解决机器人样机研发调试过程中舵机存储信息被不正确频繁修改导致存储的正确信息丢失的问题。
本发明的目的采用以下技术方案实现:
一种舵机信息防丢失方法,包括以下步骤:
读取预先存储的舵机信息;
判断读取的预先存储的舵机信息是否合法;
若合法,则将所述读取的预先存储的舵机信息作为当前运行需要的舵机信息;若不合法,则调用统一样板配置信息作为当前运行需要的舵机信息。
优选的,所述舵机信息包括舵机标识和零点漂移值。
优选的,所述判断读取的预先存储的舵机信息是否合法包括判断读取的舵机信息格式是否正确以及判断相关的数值是否在设定范围之内。
优选的,所述方法还包括:
若接收到舵机信息修改指令,则判断舵机信息修改指令中的 指令标识是否与舵机标识一致;
若一致,则根据所述舵机信息修改指令修改舵机信息,并将修改后的舵机信息作为当前运行需要的舵机信息。
优选的,所述方法还包括:
将修改后的舵机信息更新至存储区。
本发明还提供了一种舵机信息防丢失装置,包括:
读取模块,用于读取预先存储的舵机信息;
第一判断模块,用于判断读取的预先存储的舵机信息是否合法;
设置模块,用于当读取的预先存储的舵机信息合法时,将所述读取的预先存储的舵机信息作为当前运行需要的舵机信息;
调用模块,用于当读取的预先存储的舵机信息不合法时,则调用统一样板配置信息作为当前运行需要的舵机信息。
优选的,所述舵机信息包括舵机标识和零点漂移值。
优选的,所述第一判断模块还具体用于判断读取的舵机信息格式是否正确以及判断相关的数值是否在设定范围之内。
优选的,所述装置还包括:
接收模块,用于接收输入的舵机修改指令;
第二判断模块,用于当接收到舵机信息修改指令时,判断舵机信息修改指令中的指令标识是否与舵机标识一致;
修改模块,用于当舵机信息修改指令中的指令标识与舵机标识一致时,根据所述舵机信息修改指令修改舵机信息,并将修改 后的舵机信息作为当前运行需要的舵机信息。更新模块,用于将修改后的舵机信息更新至存储区。
本发明还提供了一种舵机信息防丢失装置,所述装置包括:
处理器,
以及用于存储所述处理器可执行指令的存储器;
所述处理器被配置用于:
读取预先存储的舵机信息;
判断读取的预先存储的舵机信息是否合法;
若合法,则将所述读取的预先存储的舵机信息作为当前运行需要的舵机信息;若不合法,则调用统一样板配置信息作为当前运行需要的舵机信息。
相比现有技术,本发明的有益效果在于:通过判断读取的预先存储的舵机信息是否合法,设置存储的舵机信息或调用统一样板配置信息作为当前运行的舵机信息,运行完毕,当前运行的舵机信息不保存,预先存储的舵机信息不做改变,避免了电源压不稳定下,读取错误导致的舵机信息被改。
附图说明
图1为本发明实施例中舵机信息防丢失方法流程示意图;
图2为本发明实施例中舵机信息防丢失装置结构示意图。
图3为本发明另一实施例中舵机信息防丢失装置结构示意图。
具体实施方式
下面,结合附图以及具体实施方式,对本发明做进一步描述:
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明中实施例一提供了一种舵机信息防丢失方法,解决上电电压不稳定读取操作错误舵机信息被错误修改以及执行修改指令被非法修改的问题;本发明实例二又提供了一种舵机信息防丢失装置,同样也是解决上电电压不稳定读取操作错误舵机信息被错误修改以及执行修改指令被非法修改的问题。以下从具体实施例详细介绍。
实施例一:
如图1所示,图1为本实施例中的舵机信息防丢失方法流程示意图。在图1中,舵机信息防丢失方法,包括以下步骤:
步骤001:读取预先存储的舵机信息。
研发样机组装完成之后,相对应的舵机信息也已经写入舵机MCU中进行存储。舵机上电后,就会在第一时间读取预先存储的舵机信息,舵机的很多操作,如命令的过滤,响应等都会用到这些信息,并以此信息作为一个重要的标准来决定舵机自身是否要响应所接收的命令,以及如何响应命令等。
步骤002:判断预先存储的舵机信息是否合法。
对读取的预先存储的舵机信息进行判断是否合法,具体体现在对比舵机信息在格式上和数值范围是否符合内部预设的标准。
步骤0031:若合法,则将读取的舵机信息作为当前运行需要的舵机信息;
步骤0032:若不合法,则调用统一样板配置信息作为当前运行需要的舵机信息。
对于读取的舵机信息是否合法,若合法,则进行步骤0031,即将读取的舵机信息作为当前运行需要的舵机信息,这里将合法舵机信息作为当前运行的舵机信息,运行完毕下电即失效,预先存储的舵机信息还是存储在MCU中的FLASH区;若不合法,则进行步骤0032,即调用统一样板配置信息作为当前运行需要的舵机信息,这里的统一样板配置信息为所有舵机信息的共同子集,即在所有舵机上都适用,为一组特殊的数据信息值,这里将统一样板配置信息作为当前运行的舵机信息,运行完毕下电即失效,预先存储的舵机信息还是存储在MCU中的FLASH区。避免了读取错误对预先存储的舵机信息进行修改。
样机上电运行之后,经常需要对样机进行调试,通过修改一些舵机信息进行参数优化,在此过程经常出现非法被修改。
进一步的,舵机信息防丢失方法还包括以下步骤:
步骤004:接收舵机信息修改指令。
步骤005:判断舵机信息修改指令中的指令标识与舵机标识是否一致。
舵机标识是由MCU的芯片进过一定的运算得到的,由于MCU芯片的ID具有唯一性,故舵机标识也具有唯一性。对接收的舵机信 息修改指令进行判断,对比指令中包括的标识与已存在的舵机标识是否一致。
步骤006:若一致,则根据舵机信息修改指令修改舵机信息,并将修改后的舵机信息作为当前运行需要的舵机信息。
指令标识与舵机标识一致,则此次舵机运行以修改后的舵机信息为标准。当然,不一致,则不能进行修改,需重新输入修改指令。
步骤007:运行完毕,将修改好的舵机信息更新到预先存储区。
在调试过程中,不断进行舵机信息修改,试验,直到本次调试好,则当前舵机信息为调试好的信息,调试运行完毕之后,则将本次当前修改好的舵机信息对预先存储区的舵机信息进行更新保存,作为当前最佳舵机信息进行保存。
实施例二:
本发明实施例还提供了一种舵机信息防丢失装置,如图2所示,图2为本实施例中的舵机信息防丢失装置结构示意图。在图2中,舵机信息防丢失装置,包括:
读取模块100,读取预先存储的舵机信息;
第一判断模块200,判断读取模块读取的预先存储的舵机信息是否合法;
设置模块310,将读取的舵机信息设置为当前运行需要的舵机信息;
调用模块320,调用统一样板配置信息作为当前运行需要的舵机 信息;
进一步的,舵机信息防丢失装置还可包括:
接收模块400,接收舵机信息修改指令;
第二判断模块500,判断舵机信息修改指令中的指令标识与舵机标识是否一致;
修改模块600,根据舵机信息修改指令修改舵机信息;
更新模块700,将修改好的舵机信息更新到预先存储区。
本实施例中的装置与前述实施例一中的方法是基于同一发明构思下的两个方面,在前面已经对方法实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚地了解本实施中的系统的结构组成,为了说明书的简洁,在此就不再赘述。
实施例三:
本发明实施例另又提供了一种舵机信息防丢失装置,如图3所示,图3为本实施例中的舵机信息防丢失装置结构示意图。在图3中,舵机信息防丢失装置,包括:
处理器900,
以及用于存储所述处理器可执行指令的存储器800;
所述处理器800被配置用于:
读取预先存储的舵机信息;
判断读取的预先存储的舵机信息是否合法;
若合法,则将所述读取的预先存储的舵机信息作为当前运行 需要的舵机信息;若不合法,则调用统一样板配置信息作为当前运行需要的舵机信息。
进一步的,处理器还被配置用于:
判断舵机信息修改指令中的指令标识与舵机标识是否一致;
根据舵机信息修改指令修改舵机信息将修改好的舵机信息更新到存储器中。
相比现有技术,本发明的有益效果在于:通过判断读取的预先存储的舵机信息是否合法,设置存储的舵机信息或调用统一样板配置信息作为当前运行的舵机信息,运行完毕,当前运行的舵机信息不保存,预先存储的舵机信息不做改变,避免了电源压不稳定下,读取错误导致的舵机信息被改;以及通过判断接收的舵机信息修改指令中的标识码与舵机标识码是否一致,减少了被非法修改的可能性。
本实施例中的装置与前述实施例一中的方法是基于同一发明构思下的两个方面,在前面已经对方法实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚地了解本实施中的系统的结构组成,为了说明书的简洁,在此就不再赘述。
为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本发明时可以把各模块的功能在同一个或多个软件和/或硬件中实现。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的 部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。
描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块或单元可以是或者也可以不是物理上分开的,作为模块或单元示意的部件可以是或者也可以不是物理模块,既可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
对本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及形变,而所有的这些改变以及形变都应该属于本发明权利要求的保护范围之内。

Claims (10)

  1. 一种舵机信息防丢失方法,其特征在于,包括以下步骤:
    读取预先存储的舵机信息;
    判断读取的预先存储的舵机信息是否合法;
    若合法,则将所述读取的预先存储的舵机信息作为当前运行需要的舵机信息;若不合法,则调用统一样板配置信息作为当前运行需要的舵机信息。
  2. 根据权利要求1所述的方法,其特征在于,所述舵机信息包括舵机标识和零点漂移值。
  3. 根据权利要求1所述的方法,其特征在于,所述判断读取的预先存储的舵机信息是否合法包括判断读取的舵机信息格式是否正确以及判断相关的数值是否在设定范围之内。
  4. 根据权利要求1-3之一所述的方法,其特征在于,所述方法还包括:
    若接收到舵机信息修改指令,则判断舵机信息修改指令中的指令标识是否与舵机标识一致;
    若一致,则根据所述舵机信息修改指令修改舵机信息,并将修改后的舵机信息作为当前运行需要的舵机信息。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    将修改后的舵机信息更新至存储区。
  6. 一种舵机信息防丢失装置,其特征在于,包括:
    读取模块,用于读取预先存储的舵机信息;
    第一判断模块,用于判断读取的预先存储的舵机信息是否合法;
    设置模块,用于当读取的预先存储的舵机信息合法时,将所述读取的预先存储的舵机信息作为当前运行需要的舵机信息;
    调用模块,用于当读取的预先存储的舵机信息不合法时,则调用统一样板配置信息作为当前运行需要的舵机信息。
  7. 根据权利要求6所述的装置,其特征在于,所述舵机信息包括舵机标识和零点漂移值。
  8. 根据权利要求6所述的装置,其特征在于,所述第一判断模块还具体用于判断读取的舵机信息格式是否正确以及判断相关的数值是否在设定范围之内。
  9. 根据权利要求6-8之一所述的装置,其特征在于,所述装置还包括:
    接收模块,用于接收输入的舵机修改指令;
    第二判断模块,用于当接收到舵机信息修改指令时,判断舵机信息修改指令中的指令标识是否与舵机标识一致;
    修改模块,用于当舵机信息修改指令中的指令标识与舵机标识一致时,根据所述舵机信息修改指令修改舵机信息,并将修改后的舵机信息作为当前运行需要的舵机信息。
    更新模块,用于将修改后的舵机信息更新至存储区。
  10. 一种舵机信息防丢失装置,其特征在于,所述装置包括:
    处理器,
    以及用于存储所述处理器可执行指令的存储器;
    所述处理器被配置用于:
    读取预先存储的舵机信息;
    判断读取的预先存储的舵机信息是否合法;
    若合法,则将所述读取的预先存储的舵机信息作为当前运行需要的舵机信息;若不合法,则调用统一样板配置信息作为当前运行需要的舵机信息。
PCT/CN2017/119866 2016-12-31 2017-12-29 一种舵机信息防丢失方法及装置 Ceased WO2018121735A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611264331.1 2016-12-31
CN201611264331.1A CN107065820B (zh) 2016-12-31 2016-12-31 一种舵机信息防丢失方法及装置

Publications (1)

Publication Number Publication Date
WO2018121735A1 true WO2018121735A1 (zh) 2018-07-05

Family

ID=59623621

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/119866 Ceased WO2018121735A1 (zh) 2016-12-31 2017-12-29 一种舵机信息防丢失方法及装置

Country Status (2)

Country Link
CN (1) CN107065820B (zh)
WO (1) WO2018121735A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780597A (zh) * 2019-10-23 2020-02-11 四川航天烽火伺服控制技术有限公司 一种用于舵机防振荡的控制方法、装置、设备及介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107065820B (zh) * 2016-12-31 2019-06-21 深圳市优必选科技有限公司 一种舵机信息防丢失方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003103482A (ja) * 2001-09-28 2003-04-08 Nachi Fujikoshi Corp 調整用パラメータの設定方法
WO2010071384A2 (en) * 2008-12-19 2010-06-24 Yujin Robot Co., Ltd. Standardization system and method for robot fabrication and robot service implementation system
CN103702314A (zh) * 2013-12-13 2014-04-02 北京奇虎科技有限公司 被盗终端的处理方法及设备
CN104217175A (zh) * 2014-09-05 2014-12-17 北京邮电大学 一种数据读写方法和装置
CN105025014A (zh) * 2015-06-18 2015-11-04 顺丰科技有限公司 无人机启用方法、系统及装置
CN106060079A (zh) * 2016-07-11 2016-10-26 顺丰科技有限公司 无人机认证系统及方法
CN107065820A (zh) * 2016-12-31 2017-08-18 深圳市优必选科技有限公司 一种舵机信息防丢失方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617399B (zh) * 2013-11-06 2018-04-27 北京深思数盾科技股份有限公司 一种数据文件保护方法及装置
JP2016045567A (ja) * 2014-08-20 2016-04-04 アズビル株式会社 施設管理装置および施設管理方法
CN105740661B (zh) * 2014-12-11 2019-06-25 中国移动通信集团公司 一种保护应用程序的方法和装置
CN106055420B (zh) * 2016-05-18 2019-07-16 东软医疗系统股份有限公司 一种数据校验方法、装置及设备
CN106113039B (zh) * 2016-07-08 2018-06-15 深圳市优必选科技有限公司 舵机锁位控制方法及舵机

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003103482A (ja) * 2001-09-28 2003-04-08 Nachi Fujikoshi Corp 調整用パラメータの設定方法
WO2010071384A2 (en) * 2008-12-19 2010-06-24 Yujin Robot Co., Ltd. Standardization system and method for robot fabrication and robot service implementation system
CN103702314A (zh) * 2013-12-13 2014-04-02 北京奇虎科技有限公司 被盗终端的处理方法及设备
CN104217175A (zh) * 2014-09-05 2014-12-17 北京邮电大学 一种数据读写方法和装置
CN105025014A (zh) * 2015-06-18 2015-11-04 顺丰科技有限公司 无人机启用方法、系统及装置
CN106060079A (zh) * 2016-07-11 2016-10-26 顺丰科技有限公司 无人机认证系统及方法
CN107065820A (zh) * 2016-12-31 2017-08-18 深圳市优必选科技有限公司 一种舵机信息防丢失方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780597A (zh) * 2019-10-23 2020-02-11 四川航天烽火伺服控制技术有限公司 一种用于舵机防振荡的控制方法、装置、设备及介质

Also Published As

Publication number Publication date
CN107065820B (zh) 2019-06-21
CN107065820A (zh) 2017-08-18

Similar Documents

Publication Publication Date Title
US9965599B2 (en) Function setting method
CN100538567C (zh) 可编程控制器
US10698678B2 (en) Method for online updating firmware of complex programmable logic device
CN105446806A (zh) 一种应用程序无响应的处理方法及装置
CN105320553A (zh) 一种基于国产处理器平台更新网卡固件的方法及系统
CN110688135A (zh) 一种控制器的程序刷写方法、装置及介质
US20130293559A1 (en) Method for setting panel parameter and associated controller
WO2016206514A1 (zh) 启动处理方法及装置
WO2018121735A1 (zh) 一种舵机信息防丢失方法及装置
WO2016033941A1 (zh) Boot在线升级装置及方法
US9824229B2 (en) Controller with enhanced reliability
CN107506208A (zh) 一种设备防烧死的dsp固件在线升级方法
CN109766140A (zh) 一种机顶盒启动异常的定位方法及装置
CN103163820B (zh) 便于程序调试的可编程逻辑控制器及实现方法
CN106444730B (zh) 一种防软件僵死的电子控制单元的诊断方法
CN113076225A (zh) 一种外接存储介质检测方法、装置、设备及存储介质
CN105653333B (zh) 可编程逻辑控制器用户程序在线修改系统及方法
CN111145789A (zh) 一种用于希捷硬盘的磁头匹配方法和系统
CN111783162B (zh) 数据保护实现方法、装置及计算机设备
TW202013181A (zh) 複雜可程式邏輯元件的韌體更新方法
JP2007079651A (ja) プログラマブルコントローラのプログラミング装置
CN105933700A (zh) 电视机应用程序许可证的检测方法、装置及电视机
CN106569861B (zh) 芯片iap数据更新控制方法及系统
JP2020101841A (ja) 車両制御装置
CN107862182B (zh) 一种plc工程软件保护装置及其保护方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17886956

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17886956

Country of ref document: EP

Kind code of ref document: A1