Distance of near field adjusting method, system, storage medium and the electronic equipment of charging pile
Technical field
The present embodiments relate to equipment debugging technical field more particularly to a kind of adjusting sides of the distance of near field of charging pile
Method, system, storage medium and electronic equipment.
Background technique
With the progress of social science and technology, home-services robot industry has obtained development at full speed, has occurred in the market very
Most automatic cleaning devices.This kind of cleaning device by the way that the cleaning function of artificial intelligence and standard vacuum is combined,
Form the automatic cleaning robot that a kind of pair of ground carries out automatic cleaning.Automatic cleaning robot can be certainly after completing cleaning task
The dynamic charging pile that returns charges.Specifically, the fan-shaped infrared emission of several infrared transmitting tubes composition is provided on charging pile
Array, infrared transmitting tube interval therein alternately emit infrared pulse signal to surrounding.It is provided in automatic cleaning robot
The infrared receiver lamp docked with charging pile, automatic cleaning robot collect the infrared of infrared transmitting tube transmitting by infrared receiver lamp
Pulse signal, and the region being currently located is parsed according to the infrared pulse signal, so as to adjust the direction of traveling, so that from
Body is close to charging pile.
However, influence of several infrared transmitting tubes being arranged on charging pile due to batch or the accuracy of manufacture etc., Wu Fafa
The preferable infrared pulse signal of distance of near field consistency is projected, it is strong that this will lead to the formation signal in a certain range of charging pile
Weak inconsistent signal radiation region.Specifically, referring to Fig.1, between L1 and L2 apart from range be charging pile infrared hair
The normal acceptable distance of near field range of pipe transmitting signal is penetrated, wherein 2 signal lamps, 3 signal lamps, 4 signal lamps these three lamps emit respectively
The distance of near field of infrared pulse signal b, c, d be regarded as in the normal range, however the infrared pulse signal of 1 signal lamp transmitting
The distance of near field of a obviously exceeds distance L2 as stronger infrared pulse signal.So it will cause when robot enters beyond L2
The region a ' when, have received 1 signal lamp transmitting infrared pulse signal, will be considered that the distance between itself and charging pile have been mesh
Mark the distance of near field.However, actually the distance between robot and charging pile can thus make not in Target near field distance
At robot localization inaccuracy.Specifically, when robot enters the region a ', robot thinks itself to enter near-field region simultaneously
And can the above stake charge, then rotate and go to e point along camber line, e point alignment charging pile on stake, however e point robot but
The signal that can not receive 2 signal lamps and the transmitting of 3 signal lamps, can not carry out being directed at stake.
Now the technical problem to be solved is that the distance of near field for the infrared pulse signal for how adjusting the transmitting of 1 signal lamp, make
The distance of near field for obtaining 4 lamps is consistent substantially.After this technical problem is resolved, robot in cleaning process,
The reasonable distance of comparison can be remain with charging pile, and guarantee the region except the distance of near field range around charging pile
Effectively cleaned.Referring to Fig. 2, in the case where the distance of near field of 4 lamps compares unanimous circumstances, robot goes to f along camber line near field
Place, can receive the infrared pulse signal b and c emitted respectively to 2 signal lamps and 3 signal lamps, to realize the upper stake of alignment.
In order to solve the above-mentioned technical problem, existing solution, which can be, installs resistance additional on the circuit of lamp to adjust lamp
The distance of near field of the signal of transmitting, but this method needs the circuit to each lamp for not meeting distance of near field requirement to carry out more
Change, higher cost is not suitable for volume production.
Summary of the invention
The embodiment of the present invention provides adjusting method, system, storage medium and the electronics of a kind of distance of near field of charging pile
Equipment can easily adjust the distance of near field of charging pile automatically, so that the distance of near field of charging pile reaches Target near field distance
Range.
According to a first aspect of the embodiments of the present invention, a kind of adjusting method of the distance of near field of charging pile is provided.The side
Method includes: reception result obtaining step: obtaining sender unit of at least one signal receiving device about the charging pile
The reception result data of the near-field-communication signal of transmitting, at least one described signal receiving device is respectively between the charging pile
Every in the signal radiation region that different distance is set to the sender unit;Distance range determines step: being connect according to described
Result data and at least one described signal receiving device are received respectively the distance between with the charging pile, determine the signal
The distance of near field range of the near-field-communication signal of emitter transmitting;Parameter tuning step: the distance of near field range is being determined
When mismatching with Target near field distance range, the signal characteristic parameter for adjusting the distance of near field range is determined, and will be true
Fixed signal characteristic parameter is sent to the charging pile, so that the charging pile is controlled according to the signal characteristic parameter of the determination
The sender unit emits near-field-communication signal.
Optionally, the signal characteristic parameter includes the carrier frequency or carrier duty cycle of the near-field-communication signal.
Optionally, the method also includes: be iteratively performed reception result obtaining step, distance range determines step and ginseng
Number set-up procedure, until determining distance of near field range is matched with the Target near field distance range.
Optionally, in iterative processing for the first time, the determination is used to adjust the signal characteristic ginseng of the distance of near field range
Number, comprising: the signal characteristic parameter is determined so as to the near field of the near-field-communication signal of the sender unit transmitting
Apart from farthest carrier-frequency data;In non-iterative processing for the first time, the determination is for adjusting the distance of near field range
Signal characteristic parameter, comprising: the value for the signal characteristic parameter that previous iteration determines is subtracted into the first predeterminated frequency step-length as working as
The value of the signal characteristic parameter of preceding determination.
Optionally, in non-iterative processing for the first time, the determination is used to adjust the signal characteristic of the distance of near field range
Parameter, further includes: the value for the signal characteristic parameter for determining previous iteration is determined plus the second predeterminated frequency step-length as current
Signal characteristic parameter value.
Optionally, in iterative processing for the first time, the determination is used to adjust the signal characteristic ginseng of the distance of near field range
Number, comprising: the signal characteristic parameter is determined as to the carrier wave duty of the near-field-communication signal of the sender unit transmitting
Compare default value;In non-iterative processing for the first time, the determination is used to adjust the signal characteristic parameter of the distance of near field range, packet
It includes: if the upper limit value of the distance of near field range of the determination is less than or equal to the lower limit value of the Target near field distance range,
The value for the signal characteristic parameter that previous iteration is determined is plus the first default duty ratio step-length as currently determining signal characteristic
The value of parameter.
Optionally, in non-iterative processing for the first time, the determination is used to adjust the signal characteristic of the distance of near field range
Parameter, comprising: if the lower limit value of the distance of near field range of the determination is greater than or equal to the Target near field distance range
The value for the signal characteristic parameter that previous iteration determines is subtracted the second default duty ratio step-length as currently determining letter by upper limit value
The value of number characteristic parameter.
Optionally, the near-field-communication signal includes infrared pulse signal.
According to a second aspect of the embodiments of the present invention, a kind of regulating system of the distance of near field of charging pile is provided.The system
System includes: at least one signal receiving device, respectively to be set to the charging pile with charging pile interval different distance
In the signal radiation region of sender unit;Regulating device, at least one described signal receiving device and the charging pile
It connects, corresponding to the adjusting method of the distance of near field for executing the charging pile as described in the first aspect of the embodiment of the present invention
Operation.
According to a third aspect of the embodiments of the present invention, a kind of computer readable storage medium is provided, calculating is stored thereon with
Machine program instruction, wherein described program instruction is realized when being executed by processor fills described in the first aspect of the embodiment of the present invention
The step of adjusting method of the distance of near field of electric stake.
According to a fourth aspect of the embodiments of the present invention, a kind of electronic equipment is provided, comprising: processor, memory, communication member
Part and communication bus, the processor, the memory and the communication device are completed each other by the communication bus
Communication;The memory makes the processor execute such as this hair for storing an at least executable instruction, the executable instruction
The step of adjusting method of the distance of near field of charging pile described in bright embodiment first aspect.
The technical solution provided according to embodiments of the present invention, in the signal radiation region of the sender unit of charging pile
An at least signal receiving device is respectively set with the different distance between charging pile, according at least one signal receiving device
The reception result data for the near-field-communication signal that sender unit about charging pile emits and at least one signal receive
The distance of near field range for the near-field-communication signal that device emits with the determining sender unit of the distance between charging pile respectively,
When determining that the distance of near field range and Target near field distance range mismatch, determine for adjusting the distance of near field range
Signal characteristic parameter, and determining signal characteristic parameter is sent to charging pile, so that charging pile is according to determining signal characteristic
Parameter control signal emitter emits near-field-communication signal, and iteration executes above method step, until the determining distance of near field
Until range is matched with Target near field distance range, compared with prior art, the near field of charging pile can be easily adjusted automatically
Distance, so that the distance of near field of charging pile reaches Target near field distance range.In addition, technical solution provided in an embodiment of the present invention
It is easy to realize in batch production, and the cost of batch production can also be reduced.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described.It should be evident that the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these figures.
Fig. 1 is the schematic diagram of the distance of near field miss the mark distance of near field range of the charging pile provided in the prior art;
Fig. 2 is that the distance of near field of the charging pile provided in the prior art reaches the schematic diagram of Target near field distance range;
Fig. 3 is the flow chart of the adjusting method of the distance of near field of according to embodiments of the present invention one charging pile provided;
Fig. 4 is the change curve between according to embodiments of the present invention one relative frequency and relative sensitivity provided;
Fig. 5 is the schematic diagram of the distance of near field of the according to embodiments of the present invention one adjusting charging pile provided;
Fig. 6 is the structural schematic diagram of the regulating system of the distance of near field of according to embodiments of the present invention two charging piles provided;
Fig. 7 is the schematic diagram of according to embodiments of the present invention two charging piles provided;
Fig. 8 is the schematic diagram of according to embodiments of the present invention two signal receiving devices provided;
Fig. 9 is the structural schematic diagram of according to embodiments of the present invention three electronic equipments provided.
Specific embodiment
(identical label indicates identical element in several attached drawings) and embodiment with reference to the accompanying drawing, implement the present invention
The specific embodiment of example is described in further detail.The following examples are intended to illustrate the invention, but is not limited to the present invention
Region.
It will be understood by those skilled in the art that the terms such as " first ", " second " in the embodiment of the present invention are only used for distinguishing
Different step, equipment or module etc., neither represent any particular technology meaning, also do not indicate that the inevitable logic between them is suitable
Sequence.
Embodiment one
Fig. 3 is the flow chart of the adjusting method of the distance of near field of according to embodiments of the present invention one charging pile provided.Such as Fig. 3
It is shown, the embodiment of the present invention one provide charging pile the distance of near field adjusting method the following steps are included:
In step s101, the sender unit for obtaining at least one signal receiving device about the charging pile emits
Near-field-communication signal reception result data.
Here, the signal receiving device may include that signal receives lamp, for example, when near-field-communication signal is infrared pulse letter
Number when, the signal receiving device can be infrared pulse signal reception lamp.The charging pile can be indoor automatic cleaning equipment
Charging pile, can be also the charging pile of outdoor automatic cleaning equipment, certainly can also be the charging pile of other automatic equipments, the present invention
Embodiment is not limited in any way this.The sender unit can be optical signal launcher, for example, infrared transmitting tube, it can
Light-exposed emitter.The near-field-communication signal is used for the communication between automatic equipment matched with charging pile and charging pile, with
Automatic equipment is enabled to find charging pile matched with its according to the near-field-communication signal, to carry out upper stake charging.It is described
Reception result data include two kinds of signal reception results, and one is signal receiving devices to receive the close of sender unit transmitting
Field signal of communication, another kind are the near-field-communication signals that signal receiving device is not received by sender unit transmitting.
In a particular embodiment, at least one described signal receiving device is respectively with different from the charging pile interval
Distance is set in the signal radiation region of the sender unit.Specifically, at least one described signal receiving device point
It is not set on the same straight line in the signal radiation region of the sender unit, respectively the distance between with charging pile
It is not identical, and the interval between every two signal receiving device is identical.Certainly, at least one described signal receiving device
It can be not provided on the same straight line in the signal radiation region of the sender unit, the every two signal receives dress
Interval between setting can not be identical, and the embodiment of the present invention is not intended to be limited in any this.In addition, the reception result obtaining step can
To be executed by any suitable equipment with data-handling capacity.
In step s 102, according to the reception result data and at least one described signal receiving device respectively with institute
The distance between charging pile is stated, determines the distance of near field range of the near-field-communication signal of the sender unit transmitting.
Wherein, the distance of near field of the near-field-communication signal of the sender unit transmitting is specially the signal transmitting dress
Set the radiation length of the near-field-communication signal of transmitting.So, the near field of the near-field-communication signal of the sender unit transmitting
Distance range is specially the radiation length range of the near-field-communication signal of the sender unit transmitting.In addition, this is apart from model
Enclosing determining step can be executed by any suitable equipment with data-handling capacity.
As an example it is assumed that the quantity of signal receiving device is three, and these three signal receiving devices and charging pile
Distance respectively 30cm, 35cm, 40cm, when the signal receiving device at a distance from charging pile being 30cm receives signal transmitting dress
It sets the near-field-communication signal of transmitting, for the signal receiving device of 35cm be not received by sender unit at a distance from charging pile
The near-field-communication signal of transmitting, the signal receiving device at a distance from charging pile for 40cm are not received by sender unit hair
When the near-field-communication signal penetrated, it may be determined that the distance of near field range of the near-field-communication signal of sender unit transmitting is
[30,35);When the signal receiving device at a distance from charging pile being 30cm receives the near-field communication that sender unit emits
Signal, at a distance from charging pile for 35cm signal receiving device receive sender unit transmitting near-field-communication signal,
When being not received by the near-field-communication signal of sender unit transmitting with the signal receiving device at a distance from charging pile for 40cm,
The distance of near field range that can determine the near-field-communication signal of sender unit transmitting be [35,40).
In step s 103, it when determining that the distance of near field range and Target near field distance range mismatch, determines and uses
In the signal characteristic parameter of the adjusting distance of near field range, and determining signal characteristic parameter is sent to the charging pile,
So that the charging pile, which controls the sender unit according to the signal characteristic parameter of the determination, emits near-field-communication signal.
Wherein, the Target near field distance range can be set according to actual needs by those skilled in the art, this hair
Bright embodiment is not limited in any way this.The signal characteristic parameter includes the carrier frequency or carrier wave of the near-field-communication signal
Duty ratio.In a particular embodiment, when determining that the distance of near field range and Target near field distance range mismatch, really
Determine the signal characteristic parameter for adjusting the distance of near field range, and determining signal characteristic parameter is sent to the charging
The controller of stake, so that the controller of the charging pile controls the signal transmitting dress according to the signal characteristic parameter of the determination
Set transmitting near-field-communication signal.In addition, the parameter tuning step can be by any suitable equipment with data-handling capacity
It executes.
For example, when the distance of near field range is specially [30,35), and the Target near field distance range is specific
For [35,40) when, it may be determined that the distance of near field range and the Target near field distance range mismatch.When the distance of near field
Range be specially [35,40), and the Target near field distance range be specially [35,40) when, it may be determined that the distance of near field
Range is matched with the Target near field distance range.Specifically, when the upper and lower bound of the distance of near field range respectively with institute
When stating the upper and lower bound matching of Target near field distance range, it may be determined that the distance of near field range and the Target near field distance
Commensurate in scope.
In a particular embodiment, it is iteratively performed reception result obtaining step, distance range determines step and parameter
Set-up procedure, until determining distance of near field range is matched with the Target near field distance range.Specifically, it changes for the first time
In generation processing, the signal characteristic parameter is determined so as to the near field of the near-field-communication signal of the sender unit transmitting
Apart from farthest carrier-frequency data;In non-iterative processing for the first time, the value for the signal characteristic parameter that previous iteration determines is subtracted
Go the first predeterminated frequency step-length as the value of currently determining signal characteristic parameter.Optionally, in non-iterative processing for the first time, also
The value for the signal characteristic parameter that can determine previous iteration is plus the second predeterminated frequency step-length as currently determining signal characteristic
The value of parameter.Wherein, the first predeterminated frequency step-length is specially the carrier frequency of near-field-communication signal in gradually decrementing procedure
In difference between two adjacent carrier-frequency datas, for example, the first predeterminated frequency step-length can be 1KHz or 0.5KHz,
The second predeterminated frequency step-length be specially near-field-communication signal carrier frequency in gradually increasing process two adjacent loads
Difference between wave frequency rate data, for example, the second predeterminated frequency step-length can be 1KHz or 0.5KHz.
Here, so that the farthest number of carrier frequencies of the distance of near field of the near-field-communication signal of sender unit transmitting
According to can determine to obtain by change curve as shown in Figure 4.As shown in figure 4, abscissa indicates the opposite frequency of near-field-communication signal
Rate, ordinate indicate the relative sensitivity of near-field-communication signal.Specifically, f indicates the carrier frequency of near-field-communication signal, f0For
So that the numerical value of the farthest carrier frequency of the distance of near field of near-field-communication signal, for example, 38KHz, EeTo work as near-field-communication signal
Carrier frequency be f0When near-field-communication signal sensitivity numerical value, Ee minIndicate the sensitivity of near-field-communication signal, phase
To frequency by f/f0It is calculated, relative sensitivity is by Ee min/EeIt is calculated.As seen from the figure, when relative frequency is in 0.7 He
When between 1.0, relative sensitivity increases with the increase of relative frequency, when relative frequency is between 1.0 and 1.3, relatively
Sensitivity reduces with the increase of relative frequency.In addition, present inventor also found in the course of the study, near field is logical
The distance of near field of letter signal increases with the increase of the sensitivity of near-field-communication signal.It is can determine that as a result, when relative frequency exists
When between 0.7 and 1.0, the distance of near field of near-field-communication signal increases with the increase of relative frequency;When relative frequency is 1.0
And when between 1.3, the distance of near field of near-field-communication signal reduces with the increase of relative frequency.Further, it may be determined that: when
When relative frequency is 1.0, the distance of near field of near-field-communication signal is maximum.It is can get as a result, so that sender unit hair
The farthest carrier-frequency data of the distance of near field for the near-field-communication signal penetrated.
Under normal conditions, the setting of Target near field distance range does not exceed the farthest distance of near field.Therefore, in iteration for the first time
In processing, signal characteristic parameter is determined so that the distance of near field of the near-field-communication signal of sender unit transmitting is farthest
Then the value for the signal characteristic parameter that previous iteration determines in non-iterative processing for the first time, is subtracted first by carrier-frequency data
Value of the predeterminated frequency step-length as currently determining signal characteristic parameter, to be steadily decreasing the close of sender unit transmitting
The distance of near field of field signal of communication, so that the distance of near field range and target of the near-field-communication signal of sender unit transmitting
Distance of near field commensurate in scope.It, can also be true by previous iteration by the analysis above with respect to Fig. 4 it is found that in non-iterative processing for the first time
Value of the value of fixed signal characteristic parameter plus the second predeterminated frequency step-length as currently determining signal characteristic parameter, thus not
Reduce the distance of near field of the near-field-communication signal of sender unit transmitting disconnectedly, so that the near field of sender unit transmitting
The distance of near field range of signal of communication is matched with Target near field distance range.Wherein, the first predeterminated frequency step-length and second is preset
Frequency step can be set according to actual needs by those skilled in the art, and the embodiment of the present invention is not limited in any way this.
In addition, the first predeterminated frequency step-length and the second predeterminated frequency step-length can be equal, it can also be unequal, the present invention is real
It applies example and this is not limited in any way.
Fig. 5 is the schematic diagram of the distance of near field of the according to embodiments of the present invention one adjusting charging pile provided.As shown in figure 5,
Signal receiving device 1, signal receiving device 2, signal receiving device 3 and signal receiving device 4 are separately positioned on position 1, position
2, position 3 and position 4, and position 1, position 2, position 3 and position 4 are with the distance between 1 signal lamp of charging pile respectively
50cm, 45cm, 40cm and 35cm.In addition, Target near field distance range is set as between 40cm to 45cm, and pre- by first
If frequency step is set as 1KHz.When the micro-control unit of charging pile is with the carrier frequency control signal transmitting of received 38KHz
When device emits near-field-communication signal, signal receiving device 1, signal receiving device 2, signal receiving device 3 and signal receive dress
It sets 4 and is respectively received near-field-communication signal.Thus, it may be determined that in the case where carrier frequency is 38KHz, the near field of 1 signal lamp is logical
The distance of near field range for believing signal is more than or equal to 50cm, and Target near field distance range is between 40cm to 45cm, therefore,
The distance of near field range and Target near field distance range of near-field-communication signal mismatch, can be by the carrier frequency of near-field-communication signal
It is reduced to 37KHz.When the micro-control unit of charging pile is close with the carrier frequency control sender unit transmitting of received 37KHz
When the signal of communication of field, signal receiving device 2, signal receiving device 3 and signal receiving device 4 are respectively received near-field communication letter
Number, and signal receiving device 1 does not receive near-field-communication signal.Thus, it may be determined that in the case where carrier frequency is 37KHz, 1
The distance of near field range of the near-field-communication signal of signal lamp is between 45cm to 50cm, and Target near field distance range arrives for 40cm
Between 45cm, therefore, the distance of near field range and Target near field distance range of near-field-communication signal are mismatched, can be by near-field communication
The carrier frequency of signal is reduced to 36KHz.When the micro-control unit of charging pile controls signal with the carrier frequency of received 36KHz
When emitter emits near-field-communication signal, signal receiving device 2, signal receiving device 3 and signal receiving device 4 receive respectively
To near-field-communication signal, and signal receiving device 1 does not receive near-field-communication signal.Thus, it may be determined that be in carrier frequency
In the case where 36KHz, the distance of near field range of the near-field-communication signal of 1 signal lamp between 45cm to 50cm, and Target near field away from
From range between 40cm to 45cm, therefore, the distance of near field range of near-field-communication signal and Target near field distance range are not
Match, the carrier frequency of near-field-communication signal can be reduced to 35KHz.When the micro-control unit of charging pile is with received 35KHz's
When carrier frequency controls sender unit transmitting near-field-communication signal, signal receiving device 3 and signal receiving device 4 connect respectively
Near-field-communication signal is received, and signal receiving device 1 and signal receiving device 2 all do not receive near-field-communication signal.As a result, may be used
Determine in the case where carrier frequency is 35KHz, the distance of near field range of the near-field-communication signal of 1 signal lamp be 40cm to 45cm it
Between, and Target near field distance range, between 40cm to 45cm, therefore, the distance of near field range of near-field-communication signal is close with target
Field distance range matching, the carrier frequency that the micro-control unit of charging pile can store 35KHz are used for next time.
In an of the invention optional embodiment, except through determining the near-field-communication signal of sender unit transmitting
It, can also be logical by determining the near field of sender unit transmitting except the distance of near field of the carrier frequency to adjust near-field-communication signal
The carrier duty cycle of signal is believed to adjust the distance of near field of near-field-communication signal.It specifically, can be by institute in iterative processing for the first time
State the carrier duty cycle default value that signal characteristic parameter is determined as the near-field-communication signal of the sender unit transmitting;Non-
For the first time in iterative processing, if the upper limit value of the distance of near field range of the determination is less than or equal to the Target near field apart from model
The value of the lower limit value enclosed, the signal characteristic parameter that previous iteration is determined is determined plus the first default duty ratio step-length as current
Signal characteristic parameter value.Optionally, in non-iterative processing for the first time, if the lower limit of the distance of near field range of the determination
Value is greater than or equal to the upper limit value of the Target near field distance range, and the value for the signal characteristic parameter that previous iteration determines is subtracted
Value of the second default duty ratio step-length as currently determining signal characteristic parameter.Wherein, the described first default duty ratio step-length
Specially the carrier duty cycle of near-field-communication signal is between carrier duty cycle data two adjacent in gradually increasing process
Difference, for example, the first default duty ratio step-length can be 10% or 20%, the second default duty ratio step-length is specially close
Difference of the carrier duty cycle of field signal of communication between carrier duty cycle data two adjacent in gradually decrementing procedure, example
Such as, the described second default duty ratio step-length can be 10% or 20%.
Present inventor also found that the distance of near field of near-field-communication signal is logical also as near field in the course of the study
Believe the increase of the carrier duty cycle of signal and increases, the carrier wave of the distance of near field of near-field-communication signal also as near-field-communication signal
The reduction of duty ratio and reduce.Therefore, in iterative processing for the first time, signal characteristic parameter can be determined as to sender unit hair
The carrier duty cycle default value for the near-field-communication signal penetrated.In non-iterative processing for the first time, if it is determined that distance of near field range
Upper limit value be less than or equal to the lower limit value of Target near field distance range, the value of signal characteristic parameter that previous iteration determines is added
Value of the upper first default duty ratio step-length as currently determining signal characteristic parameter, to constantly increase sender unit
The distance of near field of the near-field-communication signal of transmitting, so that the distance of near field model of the near-field-communication signal of sender unit transmitting
It encloses and is matched with Target near field distance range.In non-iterative processing for the first time, if it is determined that distance of near field range lower limit value it is big
In or equal to Target near field distance range upper limit value, the value for the signal characteristic parameter that previous iteration determines is subtracted second and presets
Value of the duty ratio step-length as currently determining signal characteristic parameter, to be steadily decreasing the near field of sender unit transmitting
The distance of near field of signal of communication, so that the distance of near field range of the near-field-communication signal of sender unit transmitting is close with target
Field distance range matching.Wherein, the first default duty ratio step-length and the second default duty ratio step-length can be by those skilled in the art
It is set according to actual needs, the embodiment of the present invention is not limited in any way this.In addition, the first default duty ratio step-length and
Two default duty ratio step-lengths can be equal, can also be unequal, the embodiment of the present invention is not limited in any way this.
As shown in figure 5, the micro-control unit when charging pile controls signal with received 50% carrier duty cycle default value
When emitter emits near-field-communication signal, signal receiving device 1, signal receiving device 2, signal receiving device 3 and signal are connect
Receiving apparatus 4 does not receive near-field-communication signal.Thus, it may be determined that carrier duty cycle be 50% in the case where, 1 signal lamp it is close
The distance of near field range of signal of communication is less than 35cm, and Target near field distance range is between 40cm to 45cm, therefore, closely
The distance of near field range and Target near field distance range of field signal of communication mismatch, can be by the carrier duty cycle of near-field-communication signal
Increase is 60%.When the micro-control unit of charging pile is close with received 60% carrier duty cycle control sender unit transmitting
When the signal of communication of field, signal receiving device 1, signal receiving device 2 and signal receiving device 3 do not receive near-field communication letter
Number, and signal receiving device 4 receives near-field-communication signal.Thus, it may be determined that in the case where carrier duty cycle is 60%, 1
The distance of near field range of the near-field-communication signal of signal lamp is between 35cm to 40cm, and Target near field distance range arrives for 40cm
Between 45cm, therefore, the distance of near field range and Target near field distance range of near-field-communication signal are mismatched, can be by near-field communication
It is 70% that the carrier duty cycle of signal, which increases,.When the micro-control unit of charging pile controls letter with received 70% carrier duty cycle
When number emitter transmitting near-field-communication signal, signal receiving device 1, signal receiving device 2 and signal receiving device 3 are received
Less than near-field-communication signal, and signal receiving device 4 receives near-field-communication signal.Thus, it may be determined that be in carrier duty cycle
In the case where 70%, the distance of near field range of the near-field-communication signal of 1 signal lamp is between 35cm to 40cm, and Target near field distance
Range is between 40cm to 45cm, and therefore, the distance of near field range and Target near field distance range of near-field-communication signal mismatch,
The carrier duty cycle of near-field-communication signal can be increased is 80%.When the micro-control unit of charging pile is with received 80% carrier wave
When duty cycle control signal emitter emits near-field-communication signal, signal receiving device 3 and signal receiving device 4 are received
Near-field-communication signal, and signal receiving device 1 and signal receiving device 2 do not receive near-field-communication signal.Thus, it may be determined that
Carrier duty cycle be 80% in the case where, the distance of near field range of the near-field-communication signal of 1 signal lamp between 40cm to 45cm,
And Target near field distance range is between 40cm to 45cm, and therefore, the distance of near field range and Target near field of near-field-communication signal
Distance range matching, the carrier duty cycle that the micro-control unit of charging pile can store 80% are used for next time.
According to the adjusting method of the distance of near field of charging pile provided in this embodiment, in the sender unit of charging pile
An at least signal receiving device is respectively set with charging pile interval different distance in signal radiation region, according at least one
The reception result data and at least for the near-field-communication signal that signal receiving device emits about the sender unit of charging pile
One signal receiving device is close with the near-field-communication signal of the determining sender unit transmitting of the distance between charging pile respectively
Field distance range determines described for adjusting when determining that the distance of near field range and Target near field distance range mismatch
The signal characteristic parameter of distance of near field range, and determining signal characteristic parameter is sent to charging pile so that charging pile according to
Determining signal characteristic parameter control sender unit emits near-field-communication signal, and iteration executes above method step, until
Until determining distance of near field range is matched with Target near field distance range, compared with prior art, can easily it adjust automatically
The distance of near field for saving charging pile, so that the distance of near field of charging pile reaches Target near field distance range.
For embodiment of the method, for simple description, therefore, it is stated as a series of action combinations, but this field
Technical staff should be aware of, and embodiment of that present invention are not limited by the describe sequence of actions, because implementing according to the present invention
Example, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, specification
Described in embodiment belong to preferred embodiment, the actions involved are not necessarily necessary for embodiments of the present invention.
Embodiment two
Fig. 6 is the structural schematic diagram of the regulating system of the distance of near field of according to embodiments of the present invention two charging piles provided.
As shown in fig. 6, the regulating system of the distance of near field of charging pile provided by Embodiment 2 of the present invention includes: that at least one signal receives
Device 10, respectively to be set to the signal of the sender unit of the charging pile 20 with the 20 interval different distance of charging pile
In radiation areas;Regulating device 30 is connect, for executing at least one described signal receiving device 10 and the charging pile 20
Operation corresponding to the adjusting method of the distance of near field of charging pile as described in the embodiment of the present invention one.
Wherein, the charging pile 20 may include micro-control unit and at least one signal connecting with micro-control unit hair
Injection device.The micro-control unit controls corresponding sender unit according to the signal characteristic parameter that regulating device 30 determines and sends out
Penetrate near-field-communication signal.Referring to Fig. 7, at least one described sender unit is arranged in the translucent cover 40 of charging pile 20.It can
Selection of land, the quantity of the sender unit of charging pile 20 can be 4, and sender unit can be infrared transmitting tube.With reference to Fig. 8,
Signal receiving device 10 may include that signal receives lamp 50, for example, signal receives when near-field-communication signal is infrared pulse signal
Lamp 50 is specially IR signal reception lamp, in another example, when near-field-communication signal is visible light signal, it is specific that signal receives lamp 50
Lamp is received for visible light signal.The regulating device 30 includes but is not limited to: terminal, mobile terminal, PC machine, server, individual
Digital assistant (PDA), tablet computer, laptop, handheld device, smart glasses, smart watches, wearable device, void
Quasi- display equipment or display enhancing equipment (such as Google Glass, Oculus Rift, Hololens, Gear VR).
In a particular embodiment, for a sender unit in charging pile 20, it is first determined signal hair
Whether the distance of near field range of the near-field-communication signal of injection device matches with Target near field distance range.If mismatched, adjust
The adjusting method of the distance of near field of the charging pile of the offer of the embodiment of the present invention one can be performed in device 30, so that the sender unit
The distance of near field range of near-field-communication signal matched with Target near field distance range.If it does, in charging pile 20
Another sender unit carries out the adjusting of the distance of near field of near-field-communication signal.Take this, be easy to realize in batch production,
And the cost of batch production can also be reduced.
Embodiment three
The embodiment of the invention also provides a kind of electronic equipment, such as can be mobile terminal, personal computer (PC), put down
Plate computer, server etc..Below with reference to Fig. 9, it illustrates the terminal device or the services that are suitable for being used to realize the embodiment of the present invention
The structural schematic diagram of the electronic equipment 200 of device.As shown in figure 9, electronic equipment 200 includes one or more processors, communication member
Part etc., one or more of processors for example: one or more central processing unit (CPU) 201, and/or one or more
Image processor (GPU) 213 etc., processor can according to the executable instruction being stored in read-only memory (ROM) 202 or
From the executable instruction that storage section 208 is loaded into random access storage device (RAM) 203 execute it is various it is appropriate movement and
Processing.In the present embodiment, read-only memory 202 and random access storage device 203 are referred to as memory.Communication device includes communication
Component 212 and/or communication interface 209.Wherein, communication component 212 may include but be not limited to network interface card, and the network interface card may include but not
It is limited to IB (Infiniband) network interface card, communication interface 209 includes the logical of the network interface card of LAN card, modem etc.
Believe interface, communication interface 209 executes communication process via the network of such as internet.
Processor can with communicate in read-only memory 202 and/or random access storage device 203 to execute executable instruction,
It is connected by communication bus 204 with communication component 212 and is communicated through communication component 212 with other target devices, to completes this
The corresponding operation of adjusting method of the distance of near field for any one charging pile that inventive embodiments provide, for example, obtaining at least one
The reception result data for the near-field-communication signal that signal receiving device emits about the sender unit of the charging pile, it is described
At least one signal receiving device is respectively to be set to the letter of the sender unit with charging pile interval different distance
In number radiation areas;According to the reception result data and at least one described signal receiving device respectively with the charging pile
The distance between, determine the distance of near field range of the near-field-communication signal of the sender unit transmitting;It is described close determining
When field distance range and Target near field distance range mismatch, determine that the signal characteristic for adjusting the distance of near field range is joined
Number, and determining signal characteristic parameter is sent to the charging pile, so that the charging pile is special according to the signal of the determination
It levies sender unit described in state modulator and emits near-field-communication signal.
In addition, in RAM 203, various programs and data needed for being also stored with device operation.CPU201 or
GPU213, ROM202 and RAM203 are connected with each other by communication bus 204.In the case where there is RAM203, ROM202 is can
Modeling block.RAM203 stores executable instruction, or executable instruction is written into ROM202 at runtime, and executable instruction makes to locate
It manages device and executes the corresponding operation of above-mentioned communication means.Input/output (I/O) interface 205 is also connected to communication bus 204.Communication
Component 212 can integrate setting, may be set to be with multiple submodule (such as multiple IB network interface cards), and in communication bus chain
It connects.
I/O interface 205 is connected to lower component: the importation 206 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 207 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 208 including hard disk etc.;
And the communication interface 209 of the network interface card including LAN card, modem etc..Driver 210 also connects as needed
It is connected to I/O interface 205.Detachable media 211, such as disk, CD, magneto-optic disk, semiconductor memory etc. are pacified as needed
On driver 210, in order to be mounted into storage section 208 as needed from the computer program read thereon.
It should be noted that framework as shown in Figure 9 is only a kind of optional implementation, it, can root during concrete practice
The component count amount and type of above-mentioned Fig. 9 are selected, are deleted, increased or replaced according to actual needs;It is set in different function component
It sets, separately positioned or integrally disposed and other implementations, such as the separable setting of GPU and CPU or can be by GPU collection can also be used
At on CPU, the separable setting of communication device, can also be integrally disposed on CPU or GPU, etc..These interchangeable embodiment party
Formula each falls within protection scope of the present invention.
Particularly, according to embodiments of the present invention, it is soft to may be implemented as computer for the process above with reference to flow chart description
Part program.For example, the embodiment of the present invention includes a kind of computer program products comprising be tangibly embodied in computer-readable Jie
Computer program in matter, computer program include the computer program instructions for method shown in execution flow chart, are calculated
Machine program instruction may include the corresponding instruction of corresponding execution method and step provided in an embodiment of the present invention, for example, obtaining at least one
The reception result data for the near-field-communication signal that a signal receiving device emits about the sender unit of the charging pile, institute
At least one signal receiving device is stated respectively to be set to the sender unit with charging pile interval different distance
In signal radiation region;According to the reception result data and at least one described signal receiving device respectively with the charging
The distance between stake determines the distance of near field range of the near-field-communication signal of the sender unit transmitting;Described in determination
When distance of near field range and Target near field distance range mismatch, the signal characteristic for adjusting the distance of near field range is determined
Parameter, and determining signal characteristic parameter is sent to the charging pile, so that signal of the charging pile according to the determination
Characteristic parameter controls the sender unit and emits near-field-communication signal.In such embodiments, which can
To be downloaded and installed from network by communication device, and/or it is mounted from detachable media 211.In the computer program
When being executed by processor, the above-mentioned function of limiting in the method for the embodiment of the present invention is executed.
It may be noted that all parts/step described in the embodiment of the present invention can be split as more according to the needs of implementation
The part operation of two or more components/steps or components/steps can also be combined into new component/step by multi-part/step
Suddenly, to realize the purpose of the embodiment of the present invention.
It is above-mentioned to be realized in hardware, firmware according to the method for the embodiment of the present invention, or be implemented as being storable in note
Software or computer code in recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through net
The original storage of network downloading in long-range recording medium or nonvolatile machine readable media and will be stored in local recording medium
In computer code, so that method described herein can be stored in using general purpose computer, application specific processor or can compile
Such software processing in journey or the recording medium of specialized hardware (such as ASIC or FPGA).It is appreciated that computer, processing
Device, microprocessor controller or programmable hardware include can store or receive software or computer code storage assembly (for example,
RAM, ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and execute, realize
Processing method described herein.In addition, when general purpose computer accesses the code for realizing the processing being shown here, code
Execute the special purpose computer that general purpose computer is converted to and is used for executing the processing being shown here.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The range of the embodiment of the present invention.
Embodiment that the above embodiments are only used to illustrate the present invention, and the limitation not to the embodiment of the present invention, related skill
The those of ordinary skill in art field can also make various in the case where not departing from the spirit and scope of the embodiment of the present invention
Variation and modification, therefore all equivalent technical solutions also belong to the scope of the embodiment of the present invention, the patent of the embodiment of the present invention
Protection scope should be defined by the claims.