CN114301110A - Robot battery power calibration method and device, electronic equipment and storage medium - Google Patents
Robot battery power calibration method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114301110A CN114301110A CN202111425664.9A CN202111425664A CN114301110A CN 114301110 A CN114301110 A CN 114301110A CN 202111425664 A CN202111425664 A CN 202111425664A CN 114301110 A CN114301110 A CN 114301110A
- Authority
- CN
- China
- Prior art keywords
- charging
- robot
- battery
- task
- charging device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- 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
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
本申请涉及一种机器人电池电量校准方法、装置、电子设备和存储介质。所述方法包括:执行电池电量校准任务,控制机器人前往充电装置;在机器人进入充电装置的充电范围的情况下,对所述机器人的电池进行第一充电;当所述第一充电满足预设条件时,发送停止充电信号,并控制机器人进入放电状态,直至放电关机,进入关机状态,所述预设条件用于控制停止接收所述充电装置对所述电池的充电;在所述关机状态下,接受所述充电装置对所述电池的第二充电,当所述第二充电达到第二指定电量时,发送停止充电信号,完成电池电量校准任务。采用本方法能够及时准确地校准机器人的电池电量,减少突然断电的发生。
The present application relates to a method, device, electronic device and storage medium for calibrating battery power of a robot. The method includes: performing a battery power calibration task, and controlling the robot to go to a charging device; when the robot enters the charging range of the charging device, first charging the battery of the robot; when the first charging satisfies a preset condition When the charging stop signal is sent, the robot is controlled to enter the discharge state until the discharge is turned off, and the robot enters the power-off state, and the preset condition is used to control to stop receiving the charging of the battery from the charging device; The second charging of the battery by the charging device is accepted, and when the second charging reaches a second specified power, a charging stop signal is sent to complete the battery power calibration task. By adopting the method, the battery power of the robot can be accurately and timely calibrated, and the occurrence of sudden power failure can be reduced.
Description
技术领域technical field
本申请涉及电池电量校准技术领域,特别是涉及一种机器人电池电量校准方法、装置、电子设备和存储介质。The present application relates to the technical field of battery power calibration, and in particular, to a method, device, electronic device and storage medium for calibrating battery power of a robot.
背景技术Background technique
随着机器人技术的发展,出现了轨道巡检机器人技术。并且机器人往往采用电池(比如锂电池)作为电源,但是电池在长期使用后,电池容量的计算会产生误差,而且这种误差会随着时间推移越来越大。在某些情况下会出现由于电池容量计算不准而导致机器人突然断电的情况。With the development of robotics, orbital inspection robotics has emerged. And robots often use batteries (such as lithium batteries) as the power source, but after the batteries are used for a long time, the calculation of the battery capacity will produce errors, and this error will increase with time. In some cases, the robot may suddenly lose power due to inaccurate battery capacity calculation.
因此亟需一种电池电量校准技术对电池进行校准,以保证机器人供电的稳定性。Therefore, a battery power calibration technology is urgently needed to calibrate the battery to ensure the stability of the power supply of the robot.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述技术问题,提供一种能够对机器人电池电量进行校准的方法、装置、电子设备和存储介质。Based on this, it is necessary to provide a method, an apparatus, an electronic device and a storage medium for calibrating the battery power of a robot, aiming at the above technical problems.
根据本公开实施例的第一方面,提供一种机器人电池电量校准方法,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a method for calibrating battery power of a robot, the method comprising:
执行电池电量校准任务,控制机器人前往充电装置;Perform battery level calibration tasks and control the robot to go to the charging device;
在机器人进入充电装置的充电范围的情况下,对所述机器人的电池进行第一充电;When the robot enters the charging range of the charging device, first charging the battery of the robot;
当所述第一充电满足预设条件时,发送停止充电信号,并控制机器人进入放电状态,直至放电关机,进入关机状态,所述预设条件用于控制停止接收所述充电装置对所述电池的充电;When the first charging satisfies a preset condition, a stop charging signal is sent, and the robot is controlled to enter a discharging state until it is turned off after discharge and enters a power-off state, and the preset condition is used to control to stop receiving the battery from the charging device. charging;
在所述关机状态下,接受所述充电装置对所述电池的第二充电,当所述第二充电达到第二指定电量时,发送停止充电信号,完成电池电量校准任务。In the shutdown state, the second charging of the battery by the charging device is accepted, and when the second charging reaches a second specified power, a charging stop signal is sent to complete the battery power calibration task.
根据本公开实施例的第一方面中,在所述完成电池电量校准任务之后还包括:According to the first aspect of the embodiments of the present disclosure, after the battery level calibration task is completed, the method further includes:
更新校准完成时间。Update the calibration completion time.
根据本公开实施例的第一方面中,在所述执行电池电量校准任务之前还包括:According to the first aspect of the embodiments of the present disclosure, before the performing the battery level calibration task, the method further includes:
获取上一次电池电量校准任务的完成时间;Get the completion time of the last battery level calibration task;
计算当前系统时间与所述上一次电池电量校准任务的完成时间的间隔时长;Calculate the interval length between the current system time and the completion time of the last battery level calibration task;
所述执行电池电量校准任务包括:当所述间隔时长超过预设间隔时长时,执行电池电量校准任务;The performing the battery level calibration task includes: when the interval duration exceeds the preset interval duration, performing the battery level calibration task;
若未获取到上一次电池电量校准任务的完成时间,则将所述机器人的出厂时间作为所述上一次电池电量校准任务的完成时间。If the completion time of the last battery power calibration task is not obtained, the factory time of the robot is used as the completion time of the last battery power calibration task.
根据本公开实施例的第一方面中,所述在机器人进入充电装置的充电范围的情况下,对所述机器人的电池进行第一充电包括:According to the first aspect of the embodiment of the present disclosure, when the robot enters the charging range of the charging device, the first charging of the battery of the robot includes:
控制机器人前往充电装置,并确认是否充电成功;Control the robot to go to the charging device and confirm whether the charging is successful;
若充电未成功,则控制机器人驶离充电装置至预设距离后,再前往充电装置,直至确定充电成功。If the charging is unsuccessful, control the robot to drive away from the charging device to a preset distance, and then go to the charging device until it is determined that the charging is successful.
根据本公开实施例的第一方面中,所述方法还包括:According to the first aspect of the embodiments of the present disclosure, the method further includes:
在执行电池电量校准任务期间,不执行优先级低于所述执行电池电量校准任务的作业任务。During the execution of the battery level calibration task, a job task with a lower priority than the performing battery level calibration task is not executed.
根据本公开实施例的第一方面中,所述充电装置为无线充电装置。According to the first aspect of the embodiments of the present disclosure, the charging device is a wireless charging device.
根据本公开实施例的第二方面,提供一种机器人电池电量校准装置,包括:According to a second aspect of the embodiments of the present disclosure, a device for calibrating battery power of a robot is provided, including:
校准进入模块,用于执行电池电量校准任务,控制机器人前往充电装置;The calibration entry module is used to perform battery power calibration tasks and control the robot to go to the charging device;
充电进入模块,用于在机器人进入充电装置的充电范围的情况下,对所述机器人的电池进行第一充电;a charging entry module for first charging the battery of the robot when the robot enters the charging range of the charging device;
第一充电模块,用于当所述第一充电满足预设条件时,发送停止充电信号,并控制机器人进入放电状态,直至放电关机,进入关机状态,所述预设条件用于控制停止接收所述充电装置对所述电池的充电;The first charging module is used to send a stop charging signal when the first charging satisfies a preset condition, and control the robot to enter a discharge state until the discharge is turned off and enter a shutdown state, and the preset condition is used to control to stop receiving charging the battery by the charging device;
第二充电模块,用于在所述关机状态下,接受所述充电装置对所述电池的第二充电,当所述第二充电达到第二指定电量时,发送停止充电信号,完成电池电量校准任务。The second charging module is configured to accept the second charging of the battery by the charging device in the shutdown state, and when the second charging reaches a second specified power, send a charging stop signal to complete the battery power calibration Task.
根据本公开实施例的第三方面,提供一种电子设备,包括处理器和用于存储所述处理器可执行指令的存储器,该处理器被配置为执行所述指令,以实现如上述第一方面所述的机器人电池电量校准的方法的指令。According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, comprising a processor and a memory for storing instructions executable by the processor, the processor being configured to execute the instructions, so as to implement the above-mentioned first Instructions for a method of battery level calibration of a robot as described in the aspect.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被该处理器执行时实现如上述第一方面所述的机器人电池电量校准的方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the processor, implements the method for calibrating the battery level of a robot according to the above-mentioned first aspect .
根据本公开实施例的第五方面,提供一种计算机程序产品,该产品包括指令,该指令被执行时实现如上述第一方面所述的机器人电池电量校准的方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, the product including instructions, when the instructions are executed, implementing the method for calibrating the battery level of a robot as described in the first aspect above.
本公开的实施例提供的技术方案至少带来以下有益效果:The technical solutions provided by the embodiments of the present disclosure bring at least the following beneficial effects:
本公开提供的实施例方案通过电池电量校准任务,定期对机器人的电池进行放电至关机再充电重启,可以对机器人的电池电量进行更加准确的校准,从而对电池容量的计算进行及时的纠正,避免了因电池容量随着时间增长而误差增大导致的机器人突然断电的问题。The solution of the embodiments provided by the present disclosure, through the battery power calibration task, regularly discharges the battery of the robot until it is turned off, recharges and restarts, so that the battery power of the robot can be more accurately calibrated, so that the calculation of the battery capacity can be corrected in time to avoid It solves the problem of sudden power failure of the robot due to the increase of the error of the battery capacity over time.
附图说明Description of drawings
图1为一个实施例中一种机器人电池电量校准方法的应用环境图。FIG. 1 is an application environment diagram of a method for calibrating battery power of a robot in one embodiment.
图2为一个实施例中一种机器人电池电量校准方法的流程示意图。FIG. 2 is a schematic flowchart of a method for calibrating battery power of a robot in one embodiment.
图3为一个实施例中一种机器人电池电量校准方法的更新校准完成时间的流程示意图。FIG. 3 is a schematic flowchart of updating the calibration completion time of a method for calibrating battery power of a robot in one embodiment.
图4为一个实施例中一种机器人电池电量校准方法的执行电池电量校准任务之前步骤的流程示意图。FIG. 4 is a schematic flowchart of steps before performing a battery power calibration task of a method for calibrating battery power of a robot in one embodiment.
图5为一个实施例中一种机器人电池电量校准方法的第一充电的流程示意图。FIG. 5 is a schematic flowchart of the first charging of a method for calibrating battery power of a robot in one embodiment.
图6为另一个实施例中机器人日常运行场景中判断是否需要切换进入电池电量校准任务的流程示意图。FIG. 6 is a schematic flowchart of judging whether it is necessary to switch to a battery level calibration task in a daily operation scenario of a robot in another embodiment.
图7为机器人执行电池电量校准任务场景过程中的流程示意图。FIG. 7 is a schematic flowchart of a robot performing a battery level calibration task scenario.
图8为一个实施例中一种机器人电池电量校准装置的框图。FIG. 8 is a block diagram of an apparatus for calibrating battery power of a robot in one embodiment.
图9为一个实施例中一种电子设备结构框图。FIG. 9 is a structural block diagram of an electronic device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
本申请提供的机器人电池电量校准方法,可以应用于如图1所示的应用环境中。其中,控制器110控制机器人120执行电池电量校准任务。机器人120接收控制器的控制指令,前往充电装置130进行无线充电。数据存储系统可以存储控制器110需要处理的数据。数据存储系统可以集成在控制器110上,可以集成在机器人120上,也可以放在云上或其他网络服务器上。所述的控制器110可以是与机器人120硬件分离的处理单元,也可以是集成在所述机器人中的处理单元。The method for calibrating the battery power of the robot provided by the present application can be applied to the application environment shown in FIG. 1 . The
在一个实施例中,如图2所示,提供了一种机器人电池电量校准方法,以该方法应用于图1中为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2 , a method for calibrating battery power of a robot is provided, and the method is applied to FIG. 1 as an example for description, including the following steps:
S210,执行电池电量校准任务,控制机器人前往充电装置。S210, perform a battery power calibration task, and control the robot to go to the charging device.
其中,机器人可以是任何形式的装置、设备。包括智能的、半智能的、不智能的、遥控的、非遥控的以及其他形式的可以完成特定任务的装置。例如所述的机器人可以是自动送餐机器人、扫地机器人、自动驾驶汽车等。充电装置可以是给机器人提供电能的装置,例如充电桩。充电装置除了充电桩以外,还包括其他充电的装置,可以包括有线的充电装置,无线的充电装置等,也可以是通过充放电实现校准的其他能源供应形式的装置。Among them, the robot can be any form of device or equipment. Includes intelligent, semi-intelligent, unintelligent, remote-controlled, non-remote-controlled, and other forms of devices that can accomplish specific tasks. For example, the robot may be an automatic food delivery robot, a sweeping robot, a self-driving car, and the like. The charging device may be a device that provides power to the robot, such as a charging pile. In addition to the charging pile, the charging device also includes other charging devices, which may include wired charging devices, wireless charging devices, etc., and may also be devices in other forms of energy supply that achieve calibration through charging and discharging.
具体地,机器人在接收电池电量校准任务时,机器人执行移动任务,包括滚轮、履带或者其他可以使机器人移动的方式,向充电装置靠近。Specifically, when the robot receives a battery power calibration task, the robot performs a movement task, including rollers, tracks or other means that can make the robot move, and approaches the charging device.
S220,在机器人进入充电装置的充电范围的情况下,对所述机器人的电池进行第一充电。S220, when the robot enters the charging range of the charging device, perform first charging on the battery of the robot.
其中,充电范围可以是机器人接受到充电装置发出的电能的最大范围。第一充电是机器人进行的第一次充电。The charging range may be the maximum range in which the robot receives electrical energy from the charging device. The first charge is the first charge performed by the robot.
具体地,当机器人进入到可以接受充电桩的电能的范围时,可以进行第一次充电。Specifically, when the robot enters the range that can accept the electric energy of the charging pile, the first charging can be performed.
S230,当所述第一充电满足预设条件时,发送停止充电信号,并控制机器人进入放电状态,直至放电关机,进入关机状态,所述预设条件用于控制停止接收所述充电装置对所述电池的充电。S230, when the first charging satisfies a preset condition, send a stop charging signal, and control the robot to enter a discharge state until the discharge is turned off and enter a power-off state, and the preset condition is used to control to stop receiving the charging device from the charging device. charging of the battery described above.
其中,预设条件可以包括根据充电电流的变化来判断是否满足预设条件,示例性的,充电电流由0.1A变化为5A。预设条件还可以包括根据电池电量的变化来判断是否满足预设条件,示例性的,电池电量由30%变化为40%。放电状态可以是机器人进行放电的过程,包括常亮屏幕,打开风扇等方式对电池进行放电。Wherein, the preset condition may include judging whether the preset condition is satisfied according to the change of the charging current, for example, the charging current is changed from 0.1A to 5A. The preset condition may further include judging whether the preset condition is satisfied according to the change of the battery power. For example, the battery power is changed from 30% to 40%. The discharge state can be the process of the robot discharging, including discharging the battery by keeping the screen on, turning on the fan, and so on.
具体地,机器人先进行充电,目的是确保机器人进入充电范围并且可以充电成功,后进行放电。放电结束以后,自动进入关机状态。Specifically, the robot is charged first to ensure that the robot enters the charging range and can be charged successfully, and then discharges. After the discharge is over, it will automatically enter the shutdown state.
S240,在所述关机状态下,接受所述充电装置对所述电池的第二充电,当所述第二充电达到第二指定电量时,发送停止充电信号,完成电池电量校准任务。S240: In the shutdown state, accept the second charging of the battery by the charging device, and when the second charging reaches a second specified power level, send a charging stop signal to complete the battery power calibration task.
其中,第二充电是机器人进行的第二次充电。第二指定电量可以是0~100%的任何一个值,比如30%,50%,70%,100%等,通常是所述电池电量的100%。Among them, the second charging is the second charging performed by the robot. The second specified power can be any value from 0 to 100%, such as 30%, 50%, 70%, 100%, etc., and is usually 100% of the battery power.
上述机器人电池电量校准方法中,先进行第一充电,再进行放电,从而实现了对电池电量的校准,而有效避免了因电池容量计算不准而导致机器人突然断电的情况发生。In the above method for calibrating the battery power of the robot, the first charging is performed first, and then the discharging is performed, so as to realize the calibration of the battery power, and effectively avoid the situation that the robot is suddenly powered off due to the inaccurate calculation of the battery capacity.
在一个实施例中,如图3所示,步骤在完成电池电量校准任务之后还包括:In one embodiment, as shown in FIG. 3 , after completing the battery level calibration task, the steps further include:
S310,更新所述电池电量校准任务的完成时间。S310. Update the completion time of the battery level calibration task.
其中,电池电量校准任务的完成时间可以是机器人执行完成电池电量校准任务时的时间。The completion time of the battery power calibration task may be the time when the robot performs the battery power calibration task.
具体地,当机器人的电池电量校准任务结束,机器人更新任务完成的时间。更新的时间可以存储在机器人内置的存储器,也可以集成在控制器110上,还可以放在云上或其他网络服务器上等其他可以存储数据的地方。在执行下一次机器人电池电量校准任务之前,可以调用存储的所述时间作为上一次电池电量校准完成时间,根据当前时间与上一次电池电量校准完成时间的间隔时长判断是否需要执行电池电量校准任务。Specifically, when the battery level calibration task of the robot ends, the robot updates the time when the task is completed. The updated time can be stored in the built-in memory of the robot, can also be integrated on the
通过该实施例,可以记录下校准完成时间,为后续判断是否需要进行校准提供了时间上的判断依据。避免了机器人长时间没有进行校准,电池电量计算误差过大而导致突然断电。Through this embodiment, the calibration completion time can be recorded, which provides a temporal judgment basis for subsequent judgment on whether calibration is required. It avoids that the robot has not been calibrated for a long time, and the battery power calculation error is too large, resulting in a sudden power failure.
在一个实施例中,如图4所示,步骤执行电池电量校准任务之前还包括:In one embodiment, as shown in FIG. 4 , before performing the battery level calibration task, the steps further include:
S410,获取上一次电池电量校准任务的完成时间。S410, obtaining the completion time of the last battery level calibration task.
其中,获取上一次电池电量校准完成时间可以是步骤310中更新的电池电量校准任务的完成时间。The acquisition of the completion time of the last battery level calibration may be the completion time of the battery level calibration task updated in step 310 .
S420,计算当前系统时间与所述上一次电池电量校准任务的完成时间的间隔时长。S420: Calculate the interval time between the current system time and the completion time of the last battery level calibration task.
其中,间隔时长可以是上一次电池电量校准任务的完成时间和当前系统时间的时间差值。The interval duration may be a time difference between the completion time of the last battery level calibration task and the current system time.
具体地,机器人获取当前系统时间,机器人获取上一次电池电量校准任务的完成时间。计算两个时间的差值,获得间隔时长。Specifically, the robot obtains the current system time, and the robot obtains the completion time of the last battery level calibration task. Calculate the difference between the two times to get the interval time.
S430,所述执行电池电量校准任务包括:当所述间隔时长超过预设间隔时长时,执行电池电量校准任务。S430, the performing the battery power calibration task includes: when the interval duration exceeds a preset interval duration, executing the battery power calibration task.
其中,指定间隔时长是预先设定的时长。超过,可以是大于,也可以是大于等于。The specified interval duration is a preset duration. Exceed, it can be greater than or greater than or equal to.
具体地,机器人定时检查当前系统时间与上一次执行电池电量校准任务的完成时间,若这二者时间差超过事先指定值(如2个月),则执行电池电量校准任务。Specifically, the robot regularly checks the current system time and the completion time of the last execution of the battery power calibration task. If the time difference between the two exceeds a pre-specified value (such as 2 months), the battery power calibration task is executed.
S440,若未获取到所述上一次电池电量校准任务的完成时间,则将所述机器人的出厂时间作为所述上一次电池电量校准任务的完成时间。S440 , if the completion time of the last battery level calibration task is not obtained, the factory time of the robot is used as the completion time of the last battery level calibration task.
其中,出厂时间可以是机器人出厂时设定的时间。The delivery time may be the time set when the robot leaves the factory.
具体地,当机器人是第一次执行电池电量校准任务或者前一次执行的电池电量校准任务没有记录时间,则将机器人的出厂时间作为上一次电池电量校准任务的完成时间。并计算出厂时间和当前系统时间的间隔时长作为判断是否执行电池电量校准任务的依据。Specifically, when the robot performs the battery power calibration task for the first time or the previous battery power calibration task has no recorded time, the factory time of the robot is taken as the completion time of the last battery power calibration task. And calculate the interval between the factory time and the current system time as the basis for judging whether to perform the battery power calibration task.
本实施例中,通过获取上一次电池电量校准任务的完成时间并计算时间间隔,作为判断条件,判断是否需要进入电池电量校准的任务。可以确保机器人在没有上一次电池电量校准任务完成时间的情况下也依然能够进行自动的电池电量校准,从而避免了机器人没有上一次电池电量校准的情况下,无法执行校准任务。In this embodiment, by obtaining the completion time of the last battery power calibration task and calculating the time interval, as a judgment condition, it is judged whether the task of battery power calibration needs to be entered. It can ensure that the robot can still perform automatic battery level calibration even when the last battery level calibration task is completed, so as to avoid the robot being unable to perform the calibration task without the last battery level calibration.
在一个实施例中,如图5所示,步骤在机器人进入充电装置的充电范围的情况下,对所述机器人的电池进行第一充电包括:In one embodiment, as shown in FIG. 5 , when the robot enters the charging range of the charging device, the step of first charging the battery of the robot includes:
S510,控制机器人前往充电装置,并确认是否充电成功。S510, control the robot to go to the charging device, and confirm whether the charging is successful.
其中,充电装置可以是有线充电的充电装置,也可以是无线充电的充电装置。充电成功,可以是机器人进入到无线充电装置覆盖的无线充电范围,并且成功连接无线充电装置,获取电能。The charging device may be a charging device for wired charging or a charging device for wireless charging. If the charging is successful, the robot can enter the wireless charging range covered by the wireless charging device, and successfully connect to the wireless charging device to obtain electric energy.
具体地,机器人进入充电装置的范围内,并接受充电装置的充电,当成功接收到充电装置的电能,则识别为充电成功。Specifically, the robot enters the range of the charging device and accepts the charging of the charging device. When the electric energy of the charging device is successfully received, it is recognized that the charging is successful.
S520,若充电未成功,则控制机器人驶离充电装置至预设距离后,再前往充电装置,直至确定充电成功。S520 , if the charging is unsuccessful, the robot is controlled to drive away from the charging device to a preset distance, and then go to the charging device until it is determined that the charging is successful.
其中,预设距离可以是充电装置可以充电覆盖的范围。通常是以充电装置为圆心,最远的充电距离为半径的圆,在该圆形范围以内即为充电覆盖的范围。Wherein, the preset distance may be a range covered by the charging device for charging. Usually a circle with the charging device as the center and the farthest charging distance as the radius, within the range of the circle is the range of charging coverage.
通过该实施例,可以保证机器人进入充电装置的充电范围内,并充电成功,而避免了充电失败导致电池电量校准任务的失败,确保机器人充电成功。Through this embodiment, it can be ensured that the robot enters the charging range of the charging device and is successfully charged, thereby avoiding the failure of the battery power calibration task caused by the charging failure, and ensuring the successful charging of the robot.
在一个实施例中,一种机器人电池电量校准方法还包括:In one embodiment, a method for calibrating battery power of a robot further includes:
S610,在执行电池电量校准任务期间,不执行优先级低于所述执行电池电量校准任务的作业任务。S610 , during the execution of the battery level calibration task, do not execute a job task with a priority lower than the execution of the battery level calibration task.
具体地,执行电池电量校准任务期间,除更高优先级别的任务,比如手动任务外,机器人不执行其他低优先级任务。Specifically, during the execution of the battery level calibration task, the robot does not perform other low-priority tasks except for higher-priority tasks, such as manual tasks.
在一个实施例中,一种机器人电池电量校准方法中,所述充电装置为无线充电装置。In one embodiment, in a method for calibrating battery power of a robot, the charging device is a wireless charging device.
图6是机器人日常运行场景中判断是否需要切换进入电池电量校准任务的流程图。Fig. 6 is a flow chart of judging whether it is necessary to switch to the battery power calibration task in the daily operation scenario of the robot.
图7是机器人执行电池电量校准任务场景过程中的流程图。FIG. 7 is a flow chart of a robot performing a battery level calibration task scenario.
应该理解的是,虽然图1-图7的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1-图7中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 1-7 are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 1-FIG. 7 may include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The order of execution is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages within the other steps.
在一个实施例中,如图8所示,提供了一种机器人电池电量校准装置800,包括:校准进入模块810、充电进入模块820、第一充电模块830和第二充电模块840,其中:In one embodiment, as shown in FIG. 8, a robot battery level calibration device 800 is provided, including: a
校准进入模块810,用于执行电池电量校准任务,控制机器人前往充电装置;The calibration enters the
充电进入模块820,用于在机器人进入充电装置的充电范围的情况下,对所述机器人的电池进行第一充电;a charging
第一充电模块830,用于当所述第一充电满足预设条件时,发送停止充电信号,并控制机器人进入放电状态,直至放电关机,进入关机状态,所述预设条件用于控制停止接收所述充电装置对所述电池的充电;The
第二充电模块840,用于在所述关机状态下,接受所述充电装置对所述电池的第二充电,当所述第二充电达到第二指定电量时,发送停止充电信号,完成电池电量校准任务。The
关于一种机器人电池电量校准装置的具体限定可以参见上文中对于一种机器人电池电量校准方法的限定,在此不再赘述。上述一种机器人电池电量校准装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of a robot battery power calibration device, please refer to the above definition of a robot battery power calibration method, which will not be repeated here. Each module in the above-mentioned device for calibrating battery power of a robot can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种电子设备900,该电子设备可以是计算机、服务器、消息收发设备、平板设备等,其内部结构图可以如图9所示。该电子设备可以包括以下一个或多个组件:处理组件910、存储器920、电源组件930、多媒体组件940、音频组件950、输入/输出(I/O)的接口960、传感器组件970以及通信组件980。In one embodiment, an
处理组件910通常控制电子设备900的整体操作,诸如与显示、电话呼叫、数据通信、相机操作和记录操作相关联的操作。处理组件910可以包括一个或多个处理器990来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件910可以包括一个或多个模块,便于处理组件910和其他组件之间的交互。例如,处理组件910可以包括多媒体模块,以方便多媒体组件940和处理组件910之间的交互。The
存储器920被配置为存储各种类型的数据以支持在电子设备900的操作。这些数据的示例包括用于在电子设备900上操作的任何应用程序或方法的指令、联系人数据、电话簿数据、消息、图片、视频等。存储器920可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM)、电可擦除可编程只读存储器(EEPROM)、可擦除可编程只读存储器(EPROM)、可编程只读存储器(PROM)、只读存储器(ROM)、磁存储器、快闪存储器、磁盘、光盘或石墨烯存储器。The
电源组件930为电子设备900的各种组件提供电力。电源组件930可以包括电源管理系统,一个或多个电源,及其他与为电子设备900生成、管理和分配电力相关联的组件。
多媒体组件940包括在所述电子设备900和用户之间的提供输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件940包括前置摄像头和/或后置摄像头。当电子设备900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是固定的光学透镜系统或具有焦距和光学变焦能力。The
音频组件950被配置为输出和/或输入音频信号。例如,音频组件950包括麦克风(MIC),当电子设备900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器920或经由通信组件980发送。在一些实施例中,音频组件950还包括扬声器,用于输出音频信号。
I/O接口960为处理组件910和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件970包括一个或多个传感器,用于为电子设备900提供各个方面的状态评估。例如,传感器组件970可以检测到电子设备900的打开/关闭状态,组件的相对定位,例如所述组件为电子设备900的显示器和小键盘,传感器组件970还可以检测电子设备900或电子设备900组件的位置改变,用户与电子设备900接触的存在或不存在,设备Z00方位或加速/减速和电子设备900的温度变化。传感器组件970可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件970还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件970还可以包括加速度传感器、陀螺仪传感器、磁传感器、压力传感器或温度传感器。
通信组件980被配置为便于电子设备900和其他设备之间有线或无线方式的通信。电子设备900可以接入基于通信标准的无线网络,如WiFi,运营商网络(如2G、3G、4G或5G),或它们的组合。在一个示例性实施例中,通信组件980经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件980还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,电子设备900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,
本领域技术人员可以理解,图9中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 9 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.
在一个实施例中,提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer program product is provided, including a computer program, which implements the steps in each of the foregoing method embodiments when the computer program is executed by a processor.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其它实施例的不同之处。尤其,对于硬件+程序类实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware+program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the partial description of the method embodiment.
需要说明的,上述的装置、电子设备、计算机可读存储介质、计算机程序产品等根据方法实施例的描述还可以包括其他的实施方式,具体的实现方式可以参照相关方法实施例的描述,在此不作一一赘述。It should be noted that the descriptions of the above-mentioned apparatuses, electronic devices, computer-readable storage media, computer program products, etc. according to the method embodiments may also include other implementation manners. I won't go into details.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the claims.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111425664.9A CN114301110A (en) | 2021-11-26 | 2021-11-26 | Robot battery power calibration method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111425664.9A CN114301110A (en) | 2021-11-26 | 2021-11-26 | Robot battery power calibration method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114301110A true CN114301110A (en) | 2022-04-08 |
Family
ID=80966438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111425664.9A Pending CN114301110A (en) | 2021-11-26 | 2021-11-26 | Robot battery power calibration method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114301110A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114947625A (en) * | 2022-07-05 | 2022-08-30 | 深圳乐动机器人股份有限公司 | Method for supplementing electric quantity for cleaning robot and related device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960111A (en) * | 2005-10-31 | 2007-05-09 | 中兴通讯股份有限公司 | Device and method for controlling procedure of charging batteries |
CN102655245A (en) * | 2011-03-01 | 2012-09-05 | 株式会社日立制作所 | Anomalously charged state detection device and test method for lithium secondary cell |
CN105958590A (en) * | 2016-06-08 | 2016-09-21 | 西安特锐德智能充电科技有限公司 | Apparatus and method for judging abnormal condition of battery charging process based on charging electric quantity changes |
CN106980320A (en) * | 2017-05-18 | 2017-07-25 | 上海思岚科技有限公司 | Robot charging method and device |
CN107706969A (en) * | 2017-09-27 | 2018-02-16 | 广东欧珀移动通信有限公司 | Abnormal charging detection method, charging data cable and charging system |
CN110238850A (en) * | 2019-06-13 | 2019-09-17 | 北京猎户星空科技有限公司 | A kind of robot control method and device |
CN110825085A (en) * | 2019-11-27 | 2020-02-21 | 四川超影科技有限公司 | Automatic adjustment method for charging of intelligent inspection robot |
CN112147524A (en) * | 2019-06-28 | 2020-12-29 | 比亚迪股份有限公司 | Battery capacity calibration method and device, storage medium and electronic equipment |
CN113376537A (en) * | 2021-05-28 | 2021-09-10 | 阳光电源股份有限公司 | Capacity calibration method of energy storage system, battery management system and inversion system |
-
2021
- 2021-11-26 CN CN202111425664.9A patent/CN114301110A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960111A (en) * | 2005-10-31 | 2007-05-09 | 中兴通讯股份有限公司 | Device and method for controlling procedure of charging batteries |
CN102655245A (en) * | 2011-03-01 | 2012-09-05 | 株式会社日立制作所 | Anomalously charged state detection device and test method for lithium secondary cell |
CN105958590A (en) * | 2016-06-08 | 2016-09-21 | 西安特锐德智能充电科技有限公司 | Apparatus and method for judging abnormal condition of battery charging process based on charging electric quantity changes |
CN106980320A (en) * | 2017-05-18 | 2017-07-25 | 上海思岚科技有限公司 | Robot charging method and device |
CN107706969A (en) * | 2017-09-27 | 2018-02-16 | 广东欧珀移动通信有限公司 | Abnormal charging detection method, charging data cable and charging system |
CN110238850A (en) * | 2019-06-13 | 2019-09-17 | 北京猎户星空科技有限公司 | A kind of robot control method and device |
CN112147524A (en) * | 2019-06-28 | 2020-12-29 | 比亚迪股份有限公司 | Battery capacity calibration method and device, storage medium and electronic equipment |
CN110825085A (en) * | 2019-11-27 | 2020-02-21 | 四川超影科技有限公司 | Automatic adjustment method for charging of intelligent inspection robot |
CN113376537A (en) * | 2021-05-28 | 2021-09-10 | 阳光电源股份有限公司 | Capacity calibration method of energy storage system, battery management system and inversion system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114947625A (en) * | 2022-07-05 | 2022-08-30 | 深圳乐动机器人股份有限公司 | Method for supplementing electric quantity for cleaning robot and related device |
CN114947625B (en) * | 2022-07-05 | 2024-03-26 | 深圳乐动机器人股份有限公司 | Method and related device for supplementing electric quantity for cleaning robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3121926A1 (en) | Charging method and apparatus | |
CN105810007B (en) | Balance car parking method and device | |
CN104461666B (en) | The firmware upgrade method and device of equipment primary processor | |
WO2017016163A1 (en) | Charging method and apparatus | |
CN104156236A (en) | Storage space saving method and device | |
CN104578372A (en) | Method and device for controlling charging of terminal device | |
CN104111719A (en) | Method and device for controlling battery to be disconnected from main equipment | |
CN103927200A (en) | Electronic equipment awakening method and related device | |
CN104657172A (en) | System upgrading method and device | |
CN114301110A (en) | Robot battery power calibration method and device, electronic equipment and storage medium | |
CN108539804B (en) | Battery charging control method, battery charging control device and electronic equipment | |
EP3764505B1 (en) | Method and apparatus for controlling charge | |
CN106502370A (en) | The method of control intelligent terminal and intelligent terminal | |
CN106791089B (en) | Method and device for prompting battery electric quantity | |
CN106078803A (en) | Part detection method and device | |
CN103985895A (en) | Cell control method, device and terminal | |
CN104202470A (en) | Terminal power supply control method and terminal power supply control device | |
CN104991634A (en) | Terminal control method and device | |
CN104282130A (en) | Remote controller supervision method, device and system | |
CN108539823B (en) | Charging method and device | |
US20240419430A1 (en) | Firmware updating method and firmware updating system | |
CN108365645B (en) | Charging control method and device and storage medium | |
CN106454466B (en) | Control the method and device of infrared equipment | |
CN113075551A (en) | Battery-based processing method and device, electronic equipment and storage medium | |
CN112886650A (en) | Charging control method, charging control device 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220408 |