Intelligent robot and its method for being moved to most bright position
Technical field
The invention belongs to technical field of intelligent equipment, more particularly to a kind of intelligent robot and its most bright position is moved to
Method.
Background technology
General existing home-services robot passes through infrared or laser pathfinding when work is completed or battery electric quantity is relatively low
Return to specified location.Existing robot, which is commonly equipped with cradle, cradle, is provided with infrared transmitter/Laser emission
The receiver for receiving infrared/laser signal is correspondingly provided with device, robot, when robot works completion or low electricity, charging
Seat transmission signal guided robot is returned on cradle.It is higher using this kind of supporting senser element cost, and these annexes
Typically constantly electricity work, can consume certain electric energy.When robot dump energy is not enough to provide robot return cradle
When, the ND dark position such as robot may be hidden in by sofa, table bottom, bed bottom.When recharging, machine need to be searched
People, larger inconvenience is caused to user.
The content of the invention
In view of the above problems, it is an object of the invention to provide a kind of intelligent robot and its it is moved to the side of most bright position
Method, is judged to the light intensity information value in intelligent robot surrounding environment, intelligent robot can be made to reach light strong
Position, easily found by user.
The intelligent robot that the present invention is provided includes walking unit, functional unit, driver element and control unit, and walking is single
Member is arranged on the bottom of intelligent robot, and control unit is connected with driver element, in the presence of control unit, and driver element drives
Dynamic walking unit movement, the light sensor being arranged on intelligent robot is used to detect light intensity, the letter of light sensor
Number send control unit to, control unit includes:Information storing sub-units, the light intensity letter that storage light sensor is detected
Breath value;Information processing subelement, the light intensity information value of processing information storing sub-units storage, and judge the direction of light source.
Further, the light intensity information value that information processing subelement comparison information storing sub-units are stored, draws
Maximum light intensity information value.
A power threshold is preset in information storing sub-units, when battery electric quantity is less than the threshold value, robot, which starts, to be found
Light source mode, is moved to the most bright position of working space.
Further, light sensor is arranged at the front end in robot ambulation direction or is arranged on the middle part of robot.
Light sensor is connected with drive mechanism, and the drive mechanism driving light sensor is revolved at any angle
Turn.
The artificial robot for cleaning floor of intelligence machine or air purifying robot or security robot.
The present invention provides a kind of method that above-mentioned intelligent robot is moved to most bright position, and methods described includes following step
Suddenly:
Step A:Intelligent robot is rotated in place, and light sensor constantly detects the light intensity of intelligent robot surrounding;
Step B:The light intensity information value detected is compared by control unit, draws the first maximum light intensity letter
Breath value, and judge the direction of the first maximum light intensity information value;
Step C:Intelligent robot rotates to the direction of the first maximum light intensity information value, and walking unit starts walking,
Light sensor constantly detects the instant light intensity of the direction;
Step D:Control unit enters the instant light intensity information value detected with the first maximum light intensity information value
Row compares, when the light intensity information value detected is more than the first maximum light intensity information value, this light intensity information value
As the new first maximum light intensity information value, walking unit walks on;Otherwise, intelligent robot is rotated in place, photosensitive
Sensor constantly detects the light intensity of intelligent robot surrounding and is compared, and obtains the second maximum light intensity information value;
Step E:Control unit compares the size of first, second maximum light intensity information value, if the second maximum light is strong
Spend the value of information and be more than the first maximum light information intensity level, return to step A;Otherwise, intelligent robot stops walking.
It is further comprising the steps of before step A:Control unit will be preset in the electricity and control unit in intelligent robot
A power threshold be compared.
The present invention also provides the method that another intelligent robot is moved to most bright position, it is characterised in that:Methods described
Comprise the following steps:
Step A:Intelligent robot or light sensor are rotated in place, and light sensor constantly detects intelligent robot surrounding
Light intensity;
Step B:The light intensity information value detected is compared by control unit, draws the first maximum light intensity letter
Breath value, and judge the direction of the first maximum light intensity information value;
Step C:Intelligent robot rotates to the direction of the first maximum light intensity information value, and walking unit starts walking,
Light sensor constantly detects the instant light intensity of the direction;
Step D:Control unit enters the instant light intensity information value detected with the first maximum light intensity information value
Row compares, when the light intensity information value detected is more than the first maximum light intensity information value, this light intensity information value
As the new first maximum light intensity information value, walking unit walks on;Otherwise, intelligent robot or light sensor are former
Ground rotates, and light sensor constantly detects the light intensity of intelligent robot surrounding and is compared, and obtains the second maximum light
Strength information value;
Step E:Control unit compares the size of first, second maximum light intensity information value, if the second maximum light is strong
Spend the value of information and be more than the first maximum light information intensity level, then the first new maximum light is turned into the second light intensity information value
Strength information value, and return to step C;Otherwise, intelligent robot stops walking.
When intelligent robot works completion or low electricity, light sensor constantly detects intelligent robot surrounding environment
Brightness, allows intelligent robot to advance all the time towards highlighting direction by control unit, eventually finds a most bright position
When putting, intelligent robot is out of service.
Brief description of the drawings
Fig. 1 is intelligent robot of the present invention and light source position relation schematic diagram;
Fig. 2 is the structure connection block diagram of intelligent robot of the present invention.
Reference:
1. the functional unit of 2. walking unit of light source 3.
4. the control unit of light sensor 5.
Embodiment
As shown in Fig. 2 intelligent robot of the present invention includes walking unit 2, functional unit 3, control unit 5 and driver element
(Do not show in figure), walking unit 2 is arranged on the bottom of intelligent robot, and control unit 5 is connected with driver element, in control unit
In the presence of 5, driver element driving walking unit 2 is moved, and the light sensor 4 being arranged on intelligent robot is used for detection light
Line strength, the signal of light sensor sends control unit 5 to, and control unit 5 also includes:Information storing sub-units, store light
The light intensity information value that dependent sensor is detected;Information processing subelement, the light of processing information storing sub-units storage is strong
The value of information is spent, and judges the direction of light source.Preferably, light sensor 4 be arranged on intelligent robot direction of travel front end or
Person is arranged on the middle part of intelligent robot.The light intensity information that information processing subelement comparison information storing sub-units are stored
Value, draws maximum light intensity information value.Now, the maximum light intensity information that intelligent robot is sensed with light sensor
Direction where value is defined as light source(Or light)Direction.Due to robot control unit's recorded anglec of rotation pair in itself
The light intensity information value answered, when it is determined that during maximum light information intensity level, intelligent robot correspondence searches the anglec of rotation
Determine light source(Or light)The direction at place;Or intelligent robot rotates in place one week and maximum light intensity information is determined
Value, the position for continuing to rotate in place maximum light intensity information value can determine that light source(Or light)The direction at place;Or
Intelligent robot rotates in place a circle, the circle of the driving wheel rotation corresponding to encoder corresponding record maximum light intensity information value
Count to determine light source(Or light)The direction at place.It is emphasized that the present invention is not limited to above-mentioned various modes to determine
Maximum light intensity information value and light source(Or light)Position corresponding relation.
It is similar in addition to above-mentioned intelligent robot rotates in place light sensor and detects and determine the scheme of light source direction
Ground, it would however also be possible to employ light sensor is rotated in place behind the direction for determining light source or light in itself, and then the intelligence machine talent is revolved
Go to the direction walking of light source or light.Simply, light sensor connection drive mechanism, such as micro-driving motor, driving
Mechanism driving light sensor is rotated at any angle.
Intelligent robot can be various home-services robots, such as robot for cleaning floor or air purifying robot or
Security robot etc..
Wherein, a power threshold is also preset in information storing sub-units.Completed or battery electric quantity when intelligent robot works
During less than threshold value, intelligent robot begins look for light source and is moved to most bright position.
The method that intelligent robot of the present invention is moved to most bright position comprises the following steps:
Step A:Intelligent robot is rotated in place, the light intensity of the constantly detection intelligent robot surrounding of light sensor 4;
Step B:The light intensity information value detected is compared by control unit 5, draws the first maximum light intensity
The value of information, and judge the direction of the first maximum light intensity information value;
Step C:Intelligent robot rotates to the direction of the first maximum light intensity information value, and walking unit 2 starts walking,
The instant light intensity of the constantly detection direction of light sensor 4;
Step D:Control unit 5 enters the instant light intensity information value detected with the first maximum light intensity information value
Row compares, when the light intensity information value detected is more than the first maximum light intensity information value, this light intensity information value
As the new first maximum light intensity information value, walking unit 2 walks on;Otherwise, intelligent robot is rotated in place, photosensitive
The constantly light intensity of detection intelligent robot surrounding of sensor 4 is simultaneously compared, and obtains the second maximum light intensity information value;
Step E:Control unit 5 compares the size of first, second maximum light intensity information value, if the second maximum light is strong
Spend the value of information and be more than the first maximum light information intensity level, return to step A;Otherwise, intelligent robot stops walking.
It is further comprising the steps of before step A:Control unit 5 will be pre- in the electricity in intelligent robot and control unit 5
If a power threshold be compared.
The present invention also provides the method that another intelligent robot is moved to most bright position, comprises the following steps:
Step A:Intelligent robot or light sensor 4 are rotated in place, the constantly detection intelligent robot four of light sensor 4
The light intensity in week;
Step B:The light intensity information value detected is compared by control unit 5, draws the first maximum light intensity
The value of information, and judge the direction of the first maximum light intensity information value;
Step C:Intelligent robot rotates to the direction of the first maximum light intensity information value, and walking unit 2 starts walking,
The instant light intensity of the constantly detection direction of light sensor 4;
Step D:Control unit 5 enters the instant light intensity information value detected with the first maximum light intensity information value
Row compares, when the light intensity information value detected is more than the first maximum light intensity information value, this light intensity information value
As the new first maximum light intensity information value, walking unit 2 walks on;Otherwise, intelligent robot or light sensor 4
Rotate in place, the constantly light intensity of detection intelligent robot surrounding of light sensor 4 is simultaneously compared, and obtains the second maximum light
The line strength value of information;
Step E:Control unit 5 compares the size of first, second maximum light intensity information value, if the second maximum light is strong
Spend the value of information and be more than the first maximum light information intensity level, then the first new maximum light is turned into the second light intensity information value
Strength information value, and return to step C;Otherwise, intelligent robot stops walking.
The present invention constantly detects the brightness of intelligent robot surrounding environment by light sensor, allows intelligent robot all the time
Advance towards highlighting direction, when eventually finding a most bright position, intelligent robot is out of service.Pass through such a side
Formula, intelligent robot can leave the corner of dark automatically when electricity is low, user is easy to discovery, to be in time
It charges.