Summary of the invention
It, can be according to current electricity the purpose of the present invention is in view of the drawbacks of the prior art, providing a kind of power supply processing method
The powering mode of threshold range selection power supply where the electricity of source saves electric energy to realize the intelligent power supply of power supply, thus
Substantially increase user experience.
In view of this, the embodiment of the invention provides power supply processing methods, comprising:
The electric quantity of power supply of chip duplet lens system is monitored;
When the electric quantity of power supply is in first threshold range, the powering mode of the lens system is to continuously adjust mould
Formula, the chip generate continuous control data according to the range data that distance measurement element is sent;Motor is according to the continuous control
Data work, to control film continuous vari-focus;
When the electric quantity of power supply is within the scope of second threshold, the powering mode of the lens system is sectional-regulated mould
Formula, the chip match pre-determined distance threshold range according to the range data that distance measurement element is sent;It is described pre- according to what is be matched to
If distance threshold range generates Discrete control data, the motor works according to the Discrete control data, to control
Make the film segmentation zoom;
When the electric quantity of power supply is in third threshold range, the powering mode of the lens system is energy-saving mode, institute
It states chip controls gas-liquid control valve to block catheter, so that the focal length for controlling the film is fixed;Also, it controls described electronic
Machine stops working;
When the electric quantity of power supply is in the 4th threshold range, the powering mode of the lens system is close pattern, institute
State chip controls power outage.
Preferably, the chip generates continuous control data according to the range data that distance measurement element is sent;Motor according to
The continuous control data work, to control film continuous vari-focus specifically:
The range difference of current distance data and original range data that the chip is sent according to the distance measurement element calculates
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, to adjust
The film continuous vari-focus.
Preferably, the chip matches pre-determined distance threshold range according to the range data that distance measurement element is sent;According to
The pre-determined distance threshold range being fitted on generates Discrete control data, and the motor is carried out according to the Discrete control data
Work, to control the film segmentation zoom specifically:
The current distance Data Matching that the chip is sent according to distance measurement element obtains the first pre-determined distance threshold range;
It is 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 corresponding first focal length;It is 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 change of first fluid in the first internal cavity is 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 are sent to motor;
The motor controls the liquid inlet volume or liquid outlet quantity of the first fluid according to the Discrete control data, 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
State method further include:
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 electricity of the chip to power supply is monitored, the method also includes:
The automatic management mode that lens system receives user's selection selects information.
Preferably, the method also includes:
The lens system receives the manual administration mode selecting information of user's selection;
Receive the powering mode type of user's selection;
The chip is powered the lens system according to the powering mode Selective type.
Preferably, described when the electric quantity of power supply is in the 4th threshold range, the powering mode of the lens system
For close pattern, after the chip controls power outage, the method also includes:
The lens system receives the open command of user's input;
Power supply described in the chip controls is lens system power supply.
Preferably, the first threshold range be [100%, 70%), the second threshold range be [70%, 30%),
The third threshold range be [30%, 10%), the 4th threshold range be [10%, 0%).
Preferably, when the electric quantity of power supply is in third threshold range, the method also includes:
Close the vibrating sensor and locating module of the lens system.
Power supply processing method provided in an embodiment of the present invention can be selected according to the threshold range where current power electricity
The powering mode of power supply saves electric energy, to substantially increase user experience to realize the intelligent power supply of power supply.
Specific embodiment
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Power supply processing method provided in an embodiment of the present invention is applied in lens system, and duplet lens system carries out first below
It introduces.
Fig. 1 is the perspective view of the explosion of lens system provided in an embodiment of the present invention, as shown in Figure 1, lens system 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
Out) and motor 10.
Shell 1 includes first shell 11 and second shell 12, has the first inner via hole 111 in first shell 11, for the
One fluid flows in or out;There is the second inner via hole 121, for flowing in or out for second fluid in second shell 12.
Fig. 2 be lens system provided in an embodiment of the present invention partial cutaway schematic, specially shell 1, film 2 and
Ring holder 3 assemble after diagrammatic cross-section, as shown in Fig. 2, film 2 be encapsulated in first shell 11 and second shell 12 it
Between, first shell 11 and film 2 form the first internal cavity 112, and the first internal cavity 112 is for accommodating first fluid;Second shell
12 and film 2 form the second internal cavity 122, the second internal cavity 122 is for accommodating 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 in the first internal cavity 112, so that shape occurs for film 2
Become, to form 2 curvature of film;So injection rate of the adjustable first fluid in the first internal cavity 112, to adjust thin
The curvature of film 2, and then achieve the purpose that focus.
The effect of second fluid is filled in the second internal cavity 122, is passively, 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;It can certainly be gas
Body, such as air or inert gas.
Similarly, second fluid is also possible to gas, such as air or inert gas, is also possible to liquid, such as water, silicone oil
Or transparent reflective liquid.
Referring to figs. 1 and 2, ring holder 3 is socketed in 1 outer ring portion of shell, specifically, tool in ring holder 3
There is annular protrusion 30, annular protrusion 30 supports shell 1, and annular protrusion 30 forms two grooves in the inside of ring holder 3,
The outer of two grooves is socketed in the outer of first shell 11 and second shell 12, the outer of shell 1 and ring holder 3 respectively
Between have certain interval, to make to form the first external cavity 33 between first shell 11 and ring holder 3;Second shell 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 connected by the first inner via hole 111 and the first external cavity 33, and the second internal cavity 122, which passes through in second, to be led to
Hole 121 and the second external cavity 34 are connected.
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,
To make the film 2 being clipped between the first internal cavity 112 and the second internal cavity 122 generate quantitative shape under the pressure of first fluid
Become, change the curvature of film 2, to realize the adjusting to system focal length;While deformation occurs for film 2, the second internal cavity
Second fluid in 122 flows out to the second external cavity 34 from the second inner via hole 121 according to the deformation of film 2, then passes through outside second
The outflow of through-hole 32 or second fluid are by the second accessibke porosity 32 the second external cavity 34 of inflow, then are flowed 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 system provided in an embodiment of the present invention, in conjunction with Fig. 1 to Fig. 3
Shown, piston gas-liquid capsule 4 includes liquid storage chamber 41 and piston push rod 42.First fluid is equipped in liquid storage chamber 41, liquid storage chamber 41
There is connector on 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 chamber 41, and motor 10 is pushed away with piston
Bar 42 connects, and controls piston push rod 42, makes the horizontal movement along the direction for being parallel to liquid storage chamber 41 of pushing part 421, to change
Become the liquid pressure in liquid storage chamber 41, so that the first fluid in liquid storage chamber 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 made to flow out to liquid storage chamber 41 through the first external cavity 33, catheter 5.
Again as shown in Figure 1, gas-liquid control valve 6, is arranged in the outside of catheter 5, the caliber for adjusting catheter 5 is big
It is small.
Distance measurement element 71 is used for detecting distance, generates current distance data, preferably ranging camera lens, uses image with sharp
Degree measures distance to determine relative distance, or by ultrasonic wave, infrared, microwave etc. to receive the electric wave time.
Chip (not shown) is connected with distance measurement element 71, gas-liquid control valve 6 and motor 10, for generating control number
According to.
Motor 10, is connected with chip, and for receiving the control data of chip, motor 10 controls piston push rod 42
Stepping, so that changing the amount of the first fluid of the first internal cavity 112 makes lens system so that the curvature of film 2 changes
Focal length is adjusted.
Again as shown in Figure 1, lens system further includes cover board 7 and bottom plate 8, the lid of cover board 7 is closed in the outside of first shell 11,
The lid of bottom plate 8 closes in the outside of second shell 12, and cover board 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 carry out using;In addition, being
Easy to use two lens systems can be placed in spectacle frame 9 carries out using specific as shown in figure 4, spectacle frame 9 includes left branch
Frame 91, right support 92 and connecting rod 93, motor 10 of the connecting rod 93 for connecting two lens systems, in two lens systems
It can be placed in connecting rod 93, can also be respectively placed in left support 91 and right support 92 with chip.
Preferably, system further includes vibrating sensor 94, is arranged in left support 91 close to temporal position, according to the sun
The frequency that bounce is set at acupuncture point is close with the frequency that human heart is beated, it can be achieved that detecting the function of human pulse.
It is further preferred that system further includes locating module 95, it is arranged on right support 92, for positioning, can uses
GPS positioning system.
Lens system 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, based on lens system to provided by the invention for electric treatment
Method is introduced.Fig. 5 is power supply processing method flow chart provided in an embodiment of the present invention, as shown in figure 5, the method packet
It includes:
Step 101, the electric quantity of power supply of chip duplet lens system is monitored;
Specifically, the automatic management mode that lens system receives user's selection selects information, the automatic pipe of lens system starting
Reason mode.Automatic management mode refers to the intelligentized selection power supply mould of variation that system real-time monitors electric quantity of power supply according to chip
Formula.
Wherein, powering mode includes continuously adjusting mode, sectional-regulated mode, energy-saving mode and close pattern.
Step 102, when electric quantity of power supply is in first threshold range, the powering mode of lens system is to continuously adjust mould
Formula, chip generate continuous control data according to the range data that distance measurement element is sent;Motor is carried out according to continuous control data
Work, to control film continuous vari-focus;
Wherein, first threshold range be [100%, 70%), it should be noted that those skilled in the art can be according to need
Threshold range is set.
Under the mode that continuously adjusts, refer to that chip according to real-time distance change, changes the focal length of lens system in real time, thus
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 unlatching continuously adjust mode,
Distance measurement element in real time detects current distance, 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 change 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, so that it is continuous to adjust film
Zoom.
In addition, distance measurement element, vibrating sensor and locating module are in normally when powering mode continuously adjusts mode
Working condition.
Specifically, vibrating sensor is measured in real time user's heart rate, works as testing result when user's wear lenses system
When beyond preset value, prompt information is generated, to prompt user's Current heart rate beyond preset value.
Locating module presets one using family as starting point, and L is the circular radiation range 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 range, when the range that user leaves home exceeds the model
When enclosing, system can issue the alarm of drop drop, and user is prompted to exceed security activity region.
Step 103, when electric quantity of power supply is within the scope of second threshold, the powering mode of lens system is sectional-regulated mould
Formula, chip match pre-determined distance threshold range according to the range data that distance measurement element is sent;According to the pre-determined distance threshold being matched to
It is worth range and generates Discrete control data, motor works according to Discrete control data, to control film segmentation zoom;
Wherein, second threshold range be [70%, 30%).
It under sectional-regulated mode, adjusts the distance be segmented in advance, obtain multiple pre-determined distance threshold ranges, it is each default
Distance threshold range corresponds to a focal length;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 mode,
Distance measurement element in real time detects current distance, 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;It is 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 range and obtains corresponding first focal length;Corresponding second 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;It is 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, 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, to reduce the consumption of power supply energy.
In a specific example, focal length f is corresponded within 1 meter of set distance0, 1 meter~1.99 meters corresponding focal length f1, away from
From 2 meters~2.99 meters corresponding focal length f2, 3 meters~3.99 meters of distance corresponding focal length f3, 4 meters~4.99 meters of distance corresponding focal length f4, away from
From 5 meters or more corresponding focal length f5.It should be noted that those skilled in the art can according to need threshold range progress of adjusting the distance
Setting.
When user sees object from the distant to the near, 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, chip is 2 meters according to the distance threshold that current distance matches
~2.99 meters, then current distance threshold range is different from original distance threshold range, chip according to 2 meters of current distance threshold value~
2.99 meters of focal lengths acquired are f2, 4 meters~4.99 meters focal lengths acquired of original distance threshold range are f4;According to f4
And f2Focal length reduction amount is calculated, curvature is calculated according to the relationship between focal length reduction amount and focal length and curvature and is increased
Amount, the injection rate of first fluid, root are calculated according to the relationship between curvature increase and curvature and first fluid volume
Motor stepping-in amount, root is calculated according to the relationship 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 controls piston push rod to the stepping close to liquid storage cavity direction, thus by piston according to Discrete control data
A certain amount of first fluid is injected by the first accessibke porosity to the first external cavity by catheter in gas-liquid capsule, and first fluid is logical
It crosses multiple first inner via holes and uniformly flows into the first internal cavity, film increases quantitative deformation under the pressure of first fluid, film
Curvature increases, so that adjusting film reaches diminution control focal length, 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 from multiple second inner via holes under the extruding of film
Chamber, then flowed out by the second accessibke porosity.
If the current distance that distance measurement element detects be 4.2 meters, chip according to current distance match apart from threshold
Value is 4 meters~4.99 meters, and identical as 4.8 meters of corresponding distance thresholds of original distance, the focal length of system does not change at this time, motor
It does not work.
When user sees object from the near to the distant, 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, distance threshold that chip current distance matches is 2 meters~
2.99 meters, then current distance threshold range is different from original distance threshold range, and chip is according to current distance threshold value 2 meters~2.99
The focal length that rice acquires is f2, 1 meter~1.99 meters focal lengths acquired of original distance threshold range are f1;According to f1And f2
Focal length increase is calculated, curvature reduction amount is calculated according to the relationship between focal length increase and focal length and curvature,
The extracted amount of first fluid is calculated according to the relationship between curvature reduction amount and curvature and first fluid volume, according to
Motor stepping-in amount is calculated in relationship 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, thus by piston gas according to Discrete control data
The second quantitative first fluid is injected by the first accessibke porosity to the first external cavity by catheter 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, so that adjusting film reaches diminution control focal length;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 be 1.9 meters, chip according to current distance match apart from threshold
Value is 1 meter~1.99 meters, and identical as 1.8 meters of corresponding distance thresholds of original distance, the focal length of system does not change at this time, motor
It does not work.
Step 105, when electric quantity of power supply is in third threshold range, the powering mode of lens system is energy-saving mode, core
Piece control gas-liquid control valve blocks catheter, so that the focal length for controlling film is fixed;Also, control motor stall;
Wherein, third threshold range be [30%, 10%).
In a power saving mode, when distance changes, focal length remains constant, to save electricity, extends and uses the 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 to 0, there is no the inflows of first fluid
And outflow, so that it is constant to be kept fixed the focal length of film.
Meanwhile motor stall is controlled, and close the vibrating sensor and locating module of lens system, to save
Electricity extends and uses the time.
Step 106, when electric quantity of power supply is in the 4th threshold range, the powering mode of lens system is close pattern, core
Piece controls power outage.
Wherein, the 4th threshold range be [10%, 0%).
Specifically, for the protection to power supply, system is opened when chip monitors that current power electric energy is below 10%
Close pattern, chip controls power outage.
In a preferred embodiment, manual administration mode is additionally provided based on lens system, under manual administration mode, used
Family, which can according to need, carries out any selection to the mode that continuously adjusts, sectional-regulated mode, energy-saving mode and close pattern.Specifically
, lens system 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, energy-saving mode, section may be selected in the case where long-distance driving etc. maintains same focal length constant substantially for a long time
About electricity, which extends, uses the time;It in the case where frequently a wide range of adjustment focal length, may be selected to continuously adjust mode, with quickly continuous
Adjustment focal length adapt to the variation of environment;It can choose close pattern when electricity is lower, it is in the off mode, urgent when having
When situation user wants to open, releasing the button for system can be pressed, lens system receives the open command of user's input;Chip
Power supply is controlled as lens system power supply.
Power supply processing method provided in an embodiment of the present invention can be selected according to the threshold range where current power electricity
The powering mode of power supply saves electric energy, to substantially increase user experience to realize the intelligent power supply of power supply.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(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 specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.