The content of the invention
The purpose of the present invention is the defects of being directed to prior art, there is provided one kind power supply processing method, can be according to current electricity
The powering mode of threshold range selection power supply where the electricity of source, so as to realize the intelligent power supply of power supply, electric energy is saved, so as to
Substantially increase user experience.
In view of this, the embodiments of the invention provide power supply processing method, including:
The electric quantity of power supply of chip duplet lens system is monitored;
When the electric quantity of power supply is in the range of first threshold, the powering mode of the lens combination is to continuously adjust mould
Formula, the range data that the chip is sent according to distance measurement element generate continuous control data;Motor is according to the continuous control
Data are operated, so as to control film continuous vari-focus;
When the electric quantity of power supply is in the range of Second Threshold, the powering mode of the lens combination is sectional-regulated mould
Formula, the range data that the chip is sent according to distance measurement element match pre-determined distance threshold range;It is described pre- according to what is matched
If distance threshold scope generates Discrete control data, the motor is operated according to the Discrete control data, so as to control
Make the film segmentation zoom;
When the electric quantity of power supply is in the 3rd threshold range, the powering mode of the lens combination is energy-saving mode, institute
State chip controls gas-liquid control valve to block catheter, so as to control the focal length of the film to fix;Also, control is described electronic
Machine is stopped;
When the electric quantity of power supply is in the 4th threshold range, the powering mode of the lens combination is close pattern, institute
State chip controls power outage.
Preferably, the range data that the chip is sent according to distance measurement element generates continuous control data;Motor according to
The continuous control data are operated, so as to control film continuous vari-focus to be specially:
The chip calculates according to the range difference of the current distance data that the distance measurement element is sent and original range data
Focal length variations amount;The Curvature varying amount of the film is calculated according to the focal length variations amount;According to the Curvature varying of the film
Amount calculates the volume change of first fluid in the first internal cavity;Motor step is calculated according to the volume change of the first fluid
Input;Continuous control data are generated according to the motor stepping-in amount, are sent to motor;The motor is according to the continuous control
The liquid inlet volume or liquid outlet quantity of first fluid described in data continuous control processed, change the continual curvature of the film, so as to adjust
The film continuous vari-focus.
Preferably, the range data that the chip is sent according to distance measurement element matches pre-determined distance threshold range;According to
The pre-determined distance threshold range generation Discrete control data being fitted on, the motor are carried out according to the Discrete control data
Work, so as to control the film segmentation zoom to be specially:
The current distance Data Matching that the chip is sent according to distance measurement element obtains the first pre-determined distance threshold range;
Matched to obtain the second pre-determined distance threshold range according to original range data;
When the first pre-determined distance threshold range and the second pre-determined distance threshold range difference, according to described
One pre-determined distance threshold range obtains the first corresponding focal length;Obtained according to the second pre-determined distance threshold range corresponding
The second focal length;
Focal length variations amount is calculated according to first focal length and second focal length;Institute is calculated according to the focal length variations amount
State the Curvature varying amount of film;The Volume Changes of first fluid in the first internal cavity are calculated according to the Curvature varying amount of the film
Amount;Motor stepping-in amount is calculated according to the volume change of the first fluid;Discrete control is generated according to the motor stepping-in amount
Data, it is sent to motor;
The motor controls the liquid inlet volume or liquid outlet quantity of the first fluid according to the Discrete control data, so as to adjust
Save the film segmentation zoom.
It is further preferred that described match after obtaining the second pre-determined distance threshold range according to original range data, institute
Stating method also includes:
When the first pre-determined distance threshold range is identical with the second pre-determined distance threshold range, keep described thin
The focal length of film is constant.
Preferably, before the chip is monitored to the electricity of power supply, methods described also includes:
Lens combination receives the automatic management mode selection information of user's selection.
Preferably, methods described also includes:
The lens combination receives the manual administration mode selecting information of user's selection;
Receive the powering mode type of user's selection;
The chip is powered according to the powering mode Selective type to the lens combination.
Preferably, described when the electric quantity of power supply is in the 4th threshold range, the powering mode of the lens combination
For close pattern, after the chip controls power outage, methods described also includes:
The lens combination receives the open command of user's input;
Power supply described in the chip controls is powered for the lens combination.
Preferably, the first threshold scope for [100%, 70%), the Second Threshold scope for [70%, 30%),
3rd threshold range for [30%, 10%), the 4th threshold range for [10%, 0%).
Preferably, when the electric quantity of power supply is in the 3rd threshold range, methods described also includes:
Close the vibrating sensor and locating module of the lens combination.
Power supply processing method provided in an embodiment of the present invention, it can be selected according to the threshold range where current power electricity
The powering mode of power supply, so as to realize the intelligent power supply of power supply, electric energy is saved, so as to substantially increase user experience.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
Power supply processing method provided in an embodiment of the present invention is applied in lens combination, and duplet lens system is carried out first below
Introduce.
Fig. 1 is the exploded perspective view of lens combination provided in an embodiment of the present invention, as shown in figure 1, lens combination includes:Shell
Body 1, film 2, ring holder 3, piston gas-liquid capsule 4, gas-liquid control valve 6, distance measurement element 71, power supply 96, chip (do not show in figure
Go out) and motor 10.
Housing 1 includes the first housing 11 and the second housing 12, has the first inner via hole 111 on the first housing 11, for
One fluid flows in or out;There is the second inner via hole 121, for flowing in or out for second fluid on second housing 12.
Fig. 2 be lens combination provided in an embodiment of the present invention partial cutaway schematic, specially housing 1, film 2 and
Ring holder 3 assemble after diagrammatic cross-section, as shown in Fig. 2 film 2 be encapsulated in the first housing 11 and the second housing 12 it
Between, the first housing 11 and film 2 form the first internal cavity 112, and the first internal cavity 112 is used to house first fluid;Second housing
12 and film 2 formed the second internal cavity 122, the second internal cavity 122 be used for house second fluid, the first internal cavity 112 and second
It is closed between internal cavity 122.
It should be noted that the effect of first fluid is filled with the first internal cavity 112, so that shape occurs for film 2
Become, so as to form the curvature of film 2;So injection rate of the first fluid in the first internal cavity 112 can be adjusted, it is thin so as to adjust
The curvature of film 2, and then the purpose focused.
The effect of second fluid is filled with the second internal cavity 122, is passive, that is to say, that as first fluid is filled
When entering the first internal cavity 112, because between the first internal cavity 112 and the second internal cavity 122 being closed, the second internal cavity
The volume of 122 second fluid changes therewith.
Optionally, first fluid can be liquid, such as water, silicone oil or transparent reflective liquid;Can certainly be gas
Body, such as air or inert gas.
Similarly, second fluid can also be gas, such as air or inert gas or liquid, such as water, silicone oil
Or transparent reflective liquid.
With reference to shown in Fig. 1 and Fig. 2, ring holder 3 is socketed in the outer ring portion of housing 1, specifically, having in ring holder 3
There is annular protrusion 30, annular protrusion 30 supports housing 1, and annular protrusion 30 forms two grooves in the inner side of ring holder 3,
The outer of two grooves is socketed in the outer of the first housing 11 and the second housing 12, outer and the ring holder 3 of housing 1 respectively
Between there is certain interval so that forming the first external cavity 33 between the first housing 11 and ring holder 3;Second housing 12
The second external cavity 34 is formed between ring holder 3, closed between the first external cavity 33 and the second external cavity 34, mutual not phase
It is logical;First internal cavity 112 is turned on by the first inner via hole 111 and the first external cavity 33, and the second internal cavity 122 is by leading in second
Hole 121 turns on the second external cavity 34.
Further, the outer ring portion of ring holder 3 has the first accessibke porosity 31 and the second accessibke porosity 32, the first accessibke porosity
31 are conducted with the first external cavity 33, and the second accessibke porosity 32 is conducted with the second external cavity 34, and such first fluid passes through first
Accessibke porosity 31 is flowed in or out to the first external cavity 33, then flows in or out the first internal cavity 112 by the first inner via hole 111,
So that the film 2 being clipped between the first internal cavity 112 and the second internal cavity 122 produces quantitative shape under the pressure of first fluid
Become, change the curvature of film 2, so as to realize the regulation to system focal length;While film 2 deforms upon, the second internal cavity
Second fluid in 122 flows out to the second external cavity 34 according to the deformation of film 2 from the second inner via hole 121, then by outside second
Through hole 32 flows out, or second fluid flows into the second external cavity 34 by the second accessibke porosity 32, then is flowed into by the second inner via hole 121
Second internal cavity 122.
Fig. 3 is the diagrammatic cross-section of the piston gas-liquid capsule of lens combination provided in an embodiment of the present invention, with reference to Fig. 1 to Fig. 3
Shown, piston gas-liquid capsule 4 includes liquid storage cylinder 41 and piston push rod 42.First fluid is equipped with liquid storage cylinder 41, liquid storage cylinder 41
There is connector in side wall, for connecting one end of catheter 5, the other end of catheter 5 and the first external cavity 33 first outside
Through hole 31 connects;Piston push rod 42 has pushing part 421, and pushing part 421 is plugged in liquid storage cylinder 41, and motor 10 pushes away with piston
Bar 42 connects, and controls piston push rod 42, makes the horizontal movement along the direction parallel to liquid storage cylinder 41 of pushing part 421, so as to change
The liquid pressure become in liquid storage cylinder 41, so as to which the first fluid in liquid storage cylinder 41 is pressed into catheter 5, hence into the first outer space
Chamber 33, or the first fluid of the first internal cavity 112 is flowed out to liquid storage cylinder 41 through the first external cavity 33, catheter 5.
Again as shown in figure 1, gas-liquid control valve 6, the outside of catheter 5 is arranged in, the caliber for adjusting catheter 5 is big
It is small.
Distance measurement element 71, for detecting distance, current distance data, preferably ranging camera lens are generated, use image with sharp
Degree judges relative distance, or by ultrasonic wave, infrared, microwave etc. to receive the electric wave time come mensuration distance.
Chip (not shown) is connected with distance measurement element 71, gas-liquid control valve 6 and motor 10, and number is controlled for generating
According to.
Motor 10, is connected with chip, and for the control data of reception chip, motor 10 controls piston push rod 42
Stepping, so as to change the amount of the first fluid of the first internal cavity 112 so that the curvature of film 2 changes, and makes lens combination
Focal length is adjusted.
Again as shown in figure 1, lens combination also includes cover plate 7 and bottom plate 8, cover plate 7 is covered in the outside of the first housing 11,
Bottom plate 8 is covered in the outside of the second housing 12, and cover plate 7 and bottom plate 8 are interlocked, and forms sealing area.
Said lens system can individually wear use, can also be placed in optical detecting instrument and be used;In addition, it is
Easy to use two lens combinations can be placed in spectacle frame 9 is used, specifically as shown in figure 4, spectacle frame 9 includes left branch
Frame 91, right support 92 and connecting rod 93, connecting rod 93 are used to connect two lens combinations, the motor 10 in two lens combinations
It can be placed in connecting rod 93, can also be respectively placed in left socle 91 and right support 92 with chip.
Preferably, system also includes vibrating sensor 94, is arranged on left socle 91 and presses close to temporal position, according to the sun
The frequency that bounce is put at acupuncture point is close with the frequency that human heart is beated, and the function of detection human pulse can be achieved.
It is further preferred that system also includes locating module 95, it is arranged on right support 92, for positioning, can uses
GPS positioning system.
Lens combination is chip, distance measurement element 71, vibrating sensor 94, locating module 95 and motor 10 by power supply 96
Power supply.
On the basis of the structure of duplet lens system is understood, power supply provided by the invention is handled based on lens combination
Method is introduced.Fig. 5 is power supply process flow figure provided in an embodiment of the present invention, as shown in figure 5, methods described bag
Include:
Step 101, the electric quantity of power supply of chip duplet lens system is monitored;
Specifically, lens combination receives the automatic management mode selection information of user's selection, lens combination starts automatic pipe
Reason pattern.Automatic management mode refers to that system real-time monitors the intelligentized selection power supply mould of change of electric quantity of power supply according to chip
Formula.
Wherein, powering mode includes continuously adjusting pattern, sectional-regulated pattern, energy-saving mode and close pattern.
Step 102, when electric quantity of power supply is in the range of first threshold, the powering mode of lens combination is to continuously adjust mould
Formula, the range data that chip is sent according to distance measurement element generate continuous control data;Motor is carried out according to continuous control data
Work, so as to control film continuous vari-focus;
Wherein, first threshold scope for [100%, 70%), it is necessary to explanation, those skilled in the art can be according to need
Threshold range is set.
Under the pattern that continuously adjusts, refer to focal length of the chip according to real-time distance change, in real time change lens combination, so as to
Current focus is set to be maintained at the state of most suitable human eye.
Specifically, when chip monitor current power electric energy [100%, 70%) when, system open continuously adjust pattern,
Distance measurement element detects to current distance in real time, and is sent to chip;The current distance number that chip is sent according to distance measurement element
Focal length variations amount is calculated according to the range difference of original range data;The Curvature varying amount of film is calculated according to focal length variations amount;Root
The volume change of first fluid in the first internal cavity is calculated according to the Curvature varying amount of film;According to the Volume Changes of first fluid
Amount calculates motor stepping-in amount;Continuous control data are generated according to motor stepping-in amount, are sent to motor;Motor is according to continuous control
The liquid inlet volume or liquid outlet quantity of data continuous control first fluid processed, change the continual curvature of film, it is continuous so as to adjust film
Zoom.
In addition, when powering mode continuously adjusts pattern, distance measurement element, vibrating sensor and locating module are in normally
Working condition.
Specifically, during user's wear lenses system, vibrating sensor is detected in real time to user's heart rate, works as testing result
During beyond preset value, prompt message is generated, so as to prompt user's Current heart rate to exceed preset value.
Locating module pre-sets one using family as starting point, and L is the circular radiation scope of radius at a certain distance;When
When the scope of activities of user is in circular coverage area, it is believed that be security activity scope, when the scope that user leaves home exceeds the model
When enclosing, system can send the alarm of drop drop, prompt user to exceed security activity region.
Step 103, when electric quantity of power supply is in the range of Second Threshold, the powering mode of lens combination is sectional-regulated mould
Formula, the range data that chip is sent according to distance measurement element match pre-determined distance threshold range;According to the pre-determined distance threshold matched
It is worth scope generation Discrete control data, motor is operated according to Discrete control data, so as to control film to be segmented zoom;
Wherein, Second Threshold scope for [70%, 30%).
Under sectional-regulated pattern, adjust the distance be segmented in advance, obtain multiple pre-determined distance threshold ranges, it is each default
The corresponding focal length of distance threshold scope;The pre-determined distance threshold range where current distance is determined, so that it is determined that system change
Focal length.
Specifically, when chip monitor current power electric energy [70%, 30%) when, system opens sectional-regulated pattern,
Distance measurement element detects to current distance in real time, and is sent to chip;The current distance number that chip is sent according to distance measurement element
The first pre-determined distance threshold range is obtained according to matching;Matched to obtain the second pre-determined distance threshold range according to original range data.
When the first pre-determined distance threshold range and the second pre-determined distance threshold range difference, according to the first pre-determined distance threshold
It is worth scope and obtains the first corresponding focal length;The second corresponding focal length is obtained according to the second pre-determined distance threshold range;According to
First focal length and the second focal length calculate focal length variations amount;The Curvature varying amount of film is calculated according to focal length variations amount;According to film
Curvature varying amount calculate the first internal cavity in first fluid volume change;Calculated according to the volume change of first fluid
Motor stepping-in amount;Discrete control data are generated according to motor stepping-in amount, are sent to motor;Motor is according to Discrete control data
The liquid inlet volume or liquid outlet quantity of first fluid are controlled, so as to adjust film segmentation zoom.
When the first pre-determined distance threshold range and identical the second pre-determined distance threshold range, the focal length of film is kept not
Become, so as to reduce the consumption of power supply energy.
In a specific example, focal length f is corresponded within 1 meter of setpoint distance0, 1 meter~1.99 meters corresponding focal length f1, away from
From 2 meters~2.99 meters corresponding focal length f2, the corresponding focal length f of 3 meters~3.99 meters of distance3, the corresponding focal length f of 4 meters~4.99 meters of distance4, away from
Focal length f is corresponded to from more than 5 meters5.It should be noted that those skilled in the art can adjust the distance as needed, threshold range is carried out
Setting.
When user, which draws near, sees object, for example original distance is 4.8 meters, and corresponding distance threshold is 4 meters~4.99
Rice, when the current distance that distance measurement element detects is 2.5 meters, the distance threshold that chip matches to obtain according to current distance is 2 meters
~2.99 meters, then current distance threshold range is different from original distance threshold scope, chip according to 2 meters of current distance threshold value~
2.99 meters of focal lengths acquired are f2, original 4 meters~4.99 meters focal lengths acquired of distance threshold scope are f4;According to f4
And f2Focal length reduction amount is calculated, curvature increase is calculated according to the relation between focal length reduction amount and focal length and curvature
Amount, the injection rate of first fluid, root are calculated according to the relation between curvature increase and curvature and first fluid volume
Motor stepping-in amount, root is calculated according to the relation between the injection rate and first fluid volume and motor parameter of first fluid
Discrete control data are generated according to motor stepping-in amount, are sent to motor.
Motor is according to Discrete control data, and control piston push rod is to the stepping close to liquid storage cavity direction, so as to by piston
A certain amount of first fluid is injected by catheter by the first accessibke porosity to the first external cavity in gas-liquid capsule, and first fluid leads to
Cross multiple first inner via holes and uniformly flow into the first internal cavity, film increases quantitative deformation under the pressure of first fluid, film
Curvature increases, and reaches diminution control focal length so as to adjust film, wherein, first is quantitatively the increase of first fluid;In this
Meanwhile the second second fluid in internal cavity uniformly flows out to the second outer space under the extruding of film from multiple second inner via holes
Chamber, then flowed out by the second accessibke porosity.
If the current distance that distance measurement element detects is 4.2 meters, chip according to current distance match to obtain apart from threshold
Be worth for 4 meters~4.99 meters, with original 4.8 meters of distance corresponding to distance threshold it is identical, now the focal length of system does not change, motor
Do not work.
When user from the close-by examples to those far off sees object, for example original distance is 1.8 meters, and corresponding distance threshold is 1 meter~1.99
Rice, when the current distance that distance measurement element detects is 2.5 meters, chip current distance match obtained distance threshold for 2 meters~
2.99 meters, then current distance threshold range is different from original distance threshold scope, and chip is according to current distance threshold value 2 meters~2.99
The focal length that rice acquires is f2, original 1 meter~1.99 meters focal lengths acquired of distance threshold scope are f1;According to f1And f2
Focal length increase is calculated, curvature reduction amount is calculated according to the relation between focal length increase and focal length and curvature,
The extracted amount of first fluid is calculated according to the relation between curvature reduction amount and curvature and first fluid volume, according to
Motor stepping-in amount is calculated in relation between the extracted amount and first fluid volume and motor parameter of one fluid, according to electricity
Machine stepping-in amount generates Discrete control data, is sent to motor.
Motor controls piston push rod to the stepping close to liquid storage cavity direction according to Discrete control data, so as to by piston gas
The second quantitative first fluid is injected by catheter by the first accessibke porosity to the first external cavity in liquid capsule, and first fluid passes through
Multiple first inner via holes uniformly flow into the first internal cavity, and film increases quantitative deformation, the song of film under the pressure of first fluid
Rate increases, and reaches diminution control focal length so as to adjust film;Simultaneously, the squeezing in film of the second fluid in the second internal cavity
Pressure uniformly flows out to the second external cavity from multiple second inner via holes, then is flowed out by the second accessibke porosity.
If the current distance that distance measurement element detects is 1.9 meters, chip according to current distance match to obtain apart from threshold
Be worth for 1 meter~1.99 meters, with original 1.8 meters of distance corresponding to distance threshold it is identical, now the focal length of system does not change, motor
Do not work.
Step 105, when electric quantity of power supply is in the 3rd threshold range, the powering mode of lens combination is energy-saving mode, core
Piece control gas-liquid control valve blocks catheter, so as to control the focal length of film to fix;Also, control motor stall;
Wherein, the 3rd threshold range for [30%, 10%).
In a power saving mode, when distance changes, focal length remains constant, so as to save electricity, extends usage time.
Specifically, when chip monitor current power electric energy [30%, 10%) when, system open node mode, chip
Control gas-liquid control valve blocks catheter, that is to say, that the diameter of catheter is adjusted into 0, there is no the inflow of first fluid
And outflow, so that the focal length of film keeps immobilizing.
Meanwhile motor stall is controlled, and the vibrating sensor and locating module of lens combination are closed, so as to save
Electricity, extend usage time.
Step 106, when electric quantity of power supply is in the 4th threshold range, the powering mode of lens combination is close pattern, core
Piece controls power outage.
Wherein, the 4th threshold range for [10%, 0%).
Specifically, when chip monitors that current power electric energy is below 10%, for the protection to power supply, system is opened
Close pattern, chip controls power outage.
In a preferred embodiment, manual administration pattern is additionally provided based on lens combination, under manual administration pattern, used
Family can carry out any selection to continuously adjusting pattern, sectional-regulated pattern, energy-saving mode and close pattern as needed.Specifically
, lens combination receives the manual administration mode selecting information of user's selection;Receive the powering mode type of user's selection;Chip
It is powered according to powering mode Selective type duplet lens system.
For example in the case where long-distance driving etc. maintains same focal length constant substantially for a long time, energy-saving mode, section may be selected
About electricity extends usage time;In the case of frequently a wide range of adjustment focal length, it may be selected to continuously adjust pattern, with quick continuous
Adjustment focal length adapt to the change of environment;Close pattern can be selected when electricity is relatively low, it is in the off mode, urgent when having
When situation user wants to open, releasing the button for system can be pressed, lens combination receives the open command of user's input;Chip
Power supply is controlled to be powered for lens combination.
Power supply processing method provided in an embodiment of the present invention, it can be selected according to the threshold range where current power electricity
The powering mode of power supply, so as to realize the intelligent power supply of power supply, electric energy is saved, so as to substantially increase user experience.
Professional should further appreciate that, each example described with reference to the embodiments described herein
Unit and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, it is hard in order to clearly demonstrate
The interchangeability of part and software, the composition and step of each example are generally described according to function in the above description.
These functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.
Professional and technical personnel can realize described function using distinct methods to each specific application, but this realization
It is it is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm
Software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further
Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., all should include
Within protection scope of the present invention.