Mobile phone with solar power supply function
Technical field
The present invention relates to a kind of mobile phone that utilizes solar cell, especially utilize solar cell to charging mobile phone battery and direct mobile phone to the mobile phone power supply.
Background technology
In the present mobile phone products, cellular phone power supplies is all supplied with by battery module, and battery electric quantity can only replenish by charger.If travel outside, do not have alternating current for a long time and can't use charger, just can only place hope on the mobile phone battery saving mode.Even so, battery still can exhaust very soon, causes very big inconvenience for the people who goes on business.
Solar mobile phone battery has also appearred at present, and supporting portable type solar energy charger for mobile phone.But these inventions all have an identical problem, are exactly under the insufficient situation of sunray, and can't bring into play to have effect.
Present Chinese utility model patent 00259388.2, a kind of mobile phone with solar power supply function also is provided, and it directly links to each other solar cell with the battery of mobile phone circuit, though structure is simple, but can't control it by mobile phone, performance is comparatively single.
And present mobile phone though store knowledge such as health care, does not have substantial health monitoring and security function.
Summary of the invention
The invention provides the mobile phone with solar power supply function, it can be realized to charging mobile phone battery and or directly power to mobile phone.
In order to solve the problems of the technologies described above, the invention provides following technical scheme: a kind of mobile phone with solar power supply function, it comprises solar cell and battery of mobile phone, it also comprises a circuit for testing voltage, described circuit for testing voltage is used to detect the voltage signal of described solar cell, and described voltage signal is input among the mobile phone CPU, an electronic switch, described electronic switch is used to control the conducting of described solar cell and described mobile phone circuit and battery of mobile phone circuit, described electronic switch comprises a circuit that prevents battery of mobile phone or outer handset alternating current circuit to the reverse charging of described solar cell, described electronic switch is the MOS switching circuit, drain electrode is connected with solar cell as input, source electrode is connected with the battery of mobile phone circuit with mobile phone circuit as output, grid is connected with mobile phone CPU as signal end, be provided with a common crystal diode between the source electrode of described MOS transistor and the drain electrode, the anode of this crystal diode is connected with the source electrode of MOS transistor, negative electrode is connected with the drain electrode of MOS transistor, be provided with a voltage stabilizing didoe between the grid of described MOS transistor and the source electrode, the anode of this voltage stabilizing didoe is connected with the source electrode of MOS transistor, negative electrode is connected with the grid of MOS transistor, and described mobile phone CPU controls the action of described electronic switch according to the described voltage signal that obtains.
The action that described mobile phone CPU controls described electronic switch according to the described voltage signal that obtains is meant that mobile phone CPU is behind described circuit for testing voltage acquisition voltage signal, described voltage signal and setting voltage signal are compared, if described voltage is higher than setting voltage, mobile phone CPU will make it be in conducting state to opening signal of described electronic switch so; Otherwise it is in off-state, and this moment mobile phone CPU starting resistor-illuminance conversion, and the value of the illuminance that obtains is input on the mobile phone display screen; And maybe illuminance value and the set point that obtains compared, if not in range of set value, then mobile phone sends alarm signal.
The present invention compared with prior art, has following progress: because adopted circuit for testing voltage and mobile phone CPU in conjunction with after judging, directly power or to cell-phone charging to mobile phone through electronic switch control solar cell, and electronic switch comprises a circuit that prevents battery of mobile phone or outer handset alternating current circuit to the reverse charging of described solar cell at least, so not only can realize to charging mobile phone battery and or directly to mobile phone power supply, and effectively prevent to destroy solar cell; Cost aspect, the price of small-sized solar battery, are compared with simple increase battery of mobile phone capacity as replenishing of battery of mobile phone far below cellular li-ion battery, can obtain bigger income, and solar energy has also improved the value of environmental protection of mobile phone as eco-friendly power source simultaneously.Another characteristics of the present invention are, the voltage signal that also can utilize circuit for testing voltage to obtain, change through mobile phone CPU starting resistor illuminance, the value of the illuminance that obtains is input on the mobile phone display screen, and maybe illuminance value and the set point that obtains compared, if not in range of set value, then mobile phone sends alarm signal.
Description of drawings
Fig. 1 is a circuit diagram of the present invention;
Fig. 2 is a structural representation of the present invention;
Fig. 3 control flow chart of the present invention;
Fig. 4 a kind of electronic switch figure of the present invention.
Embodiment
As shown in Figure 1, it is a circuit diagram of the present invention.The magnitude of voltage of circuit for testing voltage 2 sampling solar cells 1, be entered into then in the mobile phone CPU 5, the voltage of 5 pairs of detected magnitudes of voltage of mobile phone CPU and setting compares, if the former is higher than the latter, send signal by mobile phone CPU 5 so, electronic switch 3 is opened, this moment solar cell 1 can to mobile phone power supply or and to battery of mobile phone 4 chargings, wherein mobile phone CPU 5 comprises mobile phone CPU and mobile phone circuit.
Because operating handset voltage is generally 3.3-4.0V, therefore the about 3mA of standby current can selection work voltage be 4.0V, and size is at 600mm
2About the solar cell 1 of model.And the layout of solar cell 1 can be embedded in mobile phone to be easy on the position of daylighting, around the exterior display screen that is embedded in clamshell phone, as shown in Figure 2, solar cell 1 inlay exterior display screen 7 on the protecgulum 6 of clamshell phone around.
As shown in Figure 3, it is a control flow schematic diagram of the present invention.The magnitude of voltage of circuit for testing voltage 2 sampling solar cells 1 at first, the voltage to detected test voltage and setting compares in the mobile phone CPU 5 then, described setting voltage can be the voltage of battery of mobile phone 4, when test voltage is higher than setting voltage, send signal by mobile phone CPU 5, electronic switch 3 is opened, this moment, solar cell 1 provided most of operating current to mobile phone circuit, if illumination is too strong, when the open circuit voltage of solar cell 1 is higher than battery of mobile phone 4 voltages at this moment, solar cell 1 can carry out low current charge to it simultaneously with unnecessary current direction battery of mobile phone 4; When if test voltage is lower than setting voltage, then send signal by mobile phone CPU 5, electronic switch 3 cuts out, this moment, solar cell 1 was no longer to the mobile phone power supply or to battery of mobile phone 4 chargings.
The comparison of the open circuit voltage of above-mentioned solar cell 1 and the voltage of battery of mobile phone 4, can pass through circuit or program control, such as comparing the open circuit voltage of solar cell 1 and the voltage of battery of mobile phone 4, perhaps compare realization by the real-time voltage of CPU sampling battery of mobile phone 4 and the sampled voltage of solar cell 1 by two diodes.
Another big characteristics of the present invention are under the situation of illumination deficiency, utilize solar cell 1 to carry out ambient light intensity and detect, thereby realization is to the health care of human eye.
Solar cell 1 is to cause voltage difference to produce because Guang Touch bumps against the N type with the different phenomenons that P type semiconductor produces afterwards.Therefore, the battery two ends will produce voltage difference under the situation of light having.Under the not enough unsaturated situation of illumination, especially under the situation that electronic switch 3 cuts out, this moment, voltage became certain direct ratio functional relation with intensity of illumination.Utilize this proportionate relationship, utilize above-mentioned detected test voltage again, can calculate current intensity of illumination.
Because also amateur photometer device is low to voltage-illuminance function required precision, can adopt look-up table conversion, as subordinate list 1, concrete numerical value can be recorded by test.According under the situation, solar cell 1 still can be kept certain voltage value, so photometric range of the present invention is wider at indoor weak light.
Subordinate list 1
Open circuit voltage (V) |
5.00 |
4.90 |
4.80 |
...... |
Illuminance (Lux) |
150000 |
135000 |
...... |
...... |
Mobile phone CPU 5 is according to obtaining prevailing circumstances illuminance numerical value after voltage-illuminance transfer function conversion, then with described numerical value or be converted into literal and be input on the display screen of mobile phone, and the illuminance numerical value of above-mentioned numerical value and setting can be compared, if be lower than set point then mobile phone sends alarm signal, alarm signal can be sound or vibrations or flash of light, sound can be realized by the loud speaker of mobile phone itself, vibrations can realize that flash of light then can realize by the color lamp of mobile phone itself by the electromagnetic shaker of mobile phone itself.
As shown in Figure 4, it is electronic switch a kind of among the present invention, it is the MOS switching circuit, drain electrode connects solar cell 1 as input IN, source electrode links to each other with battery of mobile phone 4 circuit with mobile phone circuit as output OUT, and grid links to each other with mobile phone CPU as signal end S_EN, when signal end S_EN input high level, conducting between input IN and the output OUT, on the contrary end between the two.And be provided with a common crystal diode between the source electrode of described MOS transistor and the drain electrode, the anode of this crystal diode is connected with the source electrode of MOS transistor, negative electrode is connected with the drain electrode of MOS transistor, be provided with a voltage stabilizing didoe between the grid of described MOS transistor and the source electrode, the anode of this voltage stabilizing didoe is connected with the source electrode of MOS transistor, and negative electrode is connected with the grid of MOS transistor.This MOS switching circuit has unidirectional conduction, and electric current can only flow to output OUT from input IN, so can prevent that battery of mobile phone or outer handset alternating current circuit are to the reverse charging of described solar cell.