A recharging method, device and storage medium
A square wave and charging stand technology, applied in the computer field, can solve problems such as reducing user experience and lack of power status of robots, and achieve the effect of improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] see figure 1 , which is a flow chart of a recharging method provided in the embodiment of the present application.
[0062] The recharging method provided in the embodiment of this application includes S1-S5:
[0063] S1: When it is determined that the battery power of the robot is lower than the preset power threshold, receive the infrared signal emitted by the charging stand.
[0064] The preset power threshold can be set in advance, especially according to the application scenario. For example, the preset power threshold can be 11V or 12V.
[0065] The robot can receive the infrared signal emitted by the charging base and move to the charging base for charging based on the infrared signal. The embodiment of the present application does not limit the robot, for example, the robot may be a sweeper robot.
[0066] In the embodiment of the present application, after it is determined that the battery power of the robot is lower than the preset power threshold, the inf...
Embodiment 2
[0077] In addition, in order to improve the accuracy of the robot's recharging control, the embodiment of the present application also provides an implementation of analyzing the square wave electrical signal (that is, S3), such as image 3 As shown, when the square wave electrical signal includes at least one signal cycle, the analysis of the square wave electrical signal may specifically include S31-S33:
[0078] S31: Obtain each signal period in the square wave electrical signal.
[0079] The signal period is used to characterize the change trend of the square wave electrical signal; moreover, a signal period can be composed of a low-level signal and a high-level signal. For example, if figure 2 The shown square wave electrical signal includes 16 cycles and each cycle has a duration of 3.6 seconds. It should be noted that, the embodiment of the present application does not limit the manner of acquiring the signal period of the square wave electrical signal.
[0080] Whe...
Embodiment approach
[0094] In addition, because the number of edges of the target signal in the signal period can accurately represent whether the signal is interfered in each signal period, it is specifically: the number of edges of the target signal in the undisturbed signal period is 2, and the number of edges of the interfered signal The number of target signal edges in the signal period exceeds 2. At this time, in order to avoid the influence of the interference signal on the position encoding, the encoding value corresponding to each signal period may be determined based on the number of edges of the target signal in each signal period. Based on this, the embodiment of the present application provides two implementation manners of S32, which will be introduced in sequence below.
[0095] As the first implementation of S32, such as Figure 7 As shown, S32 may specifically include S321-S322:
[0096] S321: Determine the target level duration in each signal period according to the number of ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


