Summary of the invention
The technical problem to be solved in the present invention is in that, for the drawbacks described above of prior art, it is provided that a kind of unblock processing method based on mobile terminal and mobile terminal。By the detection method of the present invention, it is achieved automatic opening power after firing, after flame-out, close power supply, extend the service life of automobile batteries, improve safety, provide users with the convenient。
This invention address that the technical scheme that technical problem adopts is as follows:
A kind of electric power supply control system based on vehicle-state detection; wherein; including: the over-voltage over-current protection module that is sequentially connected with, attenuation module, filtration module, acquisition processing module, and a switch module being connected with described over-voltage over-current protection module, acquisition processing module respectively;
Over-voltage over-current protection module, is used for connecting automobile power source part, and detection absorbs the pulse shock produced in vehicle ignition situation, protects system, and is used for controlling damage vehicle circuit when supplying power for outside battery prevents supplying power for outside electric current excessive;
Attenuation module, for decaying to the voltage of input so that it is voltage is in the acceptable input range of acquisition processing module;
Filtration module, for filtering the voltage pulsation caused by vehicle interior electronic system, is the voltage being suitable for acquisition processing module input range by the photovoltaic conversion after filtering;
Acquisition processing module, is used for gathering voltage signal, converts digital signal to, and digital signal is carried out digital filtering;The variation tendency of detection voltage, it is judged that the state of vehicle, the variation tendency according to detection voltage, it is judged that vehicle motor is in operating condition or halted state, to control switch module, opens or closes supplying power for outside;
Switch module, the control signal for receiving acquisition processing module controls to open or close supplying power for outside。
The described electric power supply control system based on vehicle-state detection, wherein, described acquisition processing module includes:
Converting unit, for being changed by ADC by the voltage signal of collection, is converted to digital signal, and digital signal is carried out digital filtering;
The judgement control unit being connected with described converting unit, for the magnitude of voltage gathered in the scheduled time is analyzed, if be detected that voltage is in upward status, or the maximum Vmax that voltage is preset more than, then judge that vehicle motor is running status, and open supplying power for outside instruction to switch module transmission one;If voltage is decline state, or the minima Vmin that voltage is preset less than, then judge that vehicle motor is in halted state, and send a closedown supplying power for outside instruction to switch module。
The described electric power supply control system based on vehicle-state detection, wherein, described closedown supplying power for outside instruction includes controlling automobile power source and disconnects with supplying power for outside, or is a sleep signal, by making system dormancy reduce current drain。
The described electric power supply control system based on vehicle-state detection, wherein, described default maximum Vmax is 14V, and described default minima Vmin is 12.6V。
A kind of method for controlling power supply based on vehicle-state detection, wherein, including step:
Detect the variation tendency of voltage in real time, it is judged that the state of vehicle, the variation tendency according to detection voltage, it is judged that vehicle motor is in operating condition or halted state;
The magnitude of voltage gathered in one scheduled time is analyzed, if be detected that voltage is in upward status, or the maximum Vmax that voltage is preset more than, then judge that vehicle motor is running status, and open supplying power for outside instruction to switch module transmission one;Switch module Guan Bi can externally provide power supply;
If voltage is decline state, or the minima Vmin that voltage is preset less than, then judging that vehicle motor is in halted state, and send a closedown supplying power for outside instruction to switch module, switch module disconnects can not externally provide power supply。
The described method for controlling power supply based on vehicle-state detection, wherein, the step of the variation tendency of described real-time detection voltage also includes: the voltage signal of detection in real time is changed by ADC, converts digital signal to, and digital signal is carried out digital filtering。
The described method for controlling power supply based on vehicle-state detection, wherein, also includes before the step of the variation tendency of described real-time detection voltage:
Arrange and connect automobile power source part by an over-voltage over-current protection module; detection absorbs the pulse shock produced in vehicle ignition situation; protection system, and control to damage vehicle circuit when supplying power for outside battery prevents supplying power for outside electric current excessive by described over-voltage over-current protection module。
The described method for controlling power supply based on vehicle-state detection, wherein, also includes before the step of the variation tendency of described real-time detection voltage:
One attenuation module is set, for the voltage of input is decayed so that it is voltage is in the acceptable input range of acquisition processing module;
The described method for controlling power supply based on vehicle-state detection, wherein, also includes before the step of the variation tendency of described real-time detection voltage:
One filtration module is set, for filtering the voltage pulsation caused by vehicle interior electronic system, is the voltage being suitable for acquisition processing module input range by the photovoltaic conversion after filtering。
The described method for controlling power supply based on vehicle-state detection, wherein, described default maximum Vmax is 14V, and described default minima Vmin is 12.6V。
Unblock processing method based on mobile terminal provided by the present invention and mobile terminal; pass through the present invention; can low cost detect whether vehicle motor is in operating condition; protection accumulator prevents over-discharge; protection vehicle electronic device eliminates safe hidden trouble, and the detection method of the present invention is easy to install need not destroy the original circuit of vehicle。By the detection method of the present invention, it is achieved automatic opening power after firing, after flame-out, close power supply, extend the service life of automobile batteries, improve safety, provide users with the convenient。
The present invention can facilitate and low cost obtain vehicle state。It is capable of control vehicle supplying power for outside automatically, after flame-out, stop supplying power for outside, open supplying power for outside after igniting, it is not necessary to manual intervention。Vehicle battery can be protected, it is prevented that cross and put。Improve the safety of vehicle electronic device, it is prevented that the contingencies such as spontaneous combustion。The detection of vehicle-state is realized by voltage detecting, easy for installation, do not destroy vehicle line。
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment。Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention。
Refer to the functional schematic block diagram that Fig. 1, Fig. 1 are the preferred embodiments of a kind of electric power supply control system based on vehicle-state detection of the present invention。As shown in Figure 1; the described electric power supply control system based on vehicle-state detection; including: the over-voltage over-current protection module 110 that is sequentially connected with, attenuation module 120, filtration module 130, acquisition processing module 140, and a switch module being connected with described over-voltage over-current protection module 110, acquisition processing module 140 respectively;
Over-voltage over-current protection module 110, is used for connecting automobile power source part, and detection absorbs the pulse shock produced in vehicle ignition situation, protects system, and is used for controlling damage vehicle circuit when supplying power for outside battery prevents supplying power for outside electric current excessive;Namely, in the present invention, over-voltage over-current protection module can be used for absorbing the pulse shock produced when vehicle ignition, protects system。Vehicle circuit is damaged when also being able to prevent supplying power for outside electric current excessive。
Attenuation module 120, for decaying to the voltage of input so that it is voltage is in the acceptable input range of acquisition processing module 140。
Filtration module 130, for filtering the voltage pulsation caused by vehicle interior electronic system, is the voltage being suitable for acquisition processing module 140 input range by the photovoltaic conversion after filtering。
Acquisition processing module 140, is used for gathering voltage signal, converts digital signal to, and digital signal is carried out digital filtering;The variation tendency of detection voltage, it is judged that the state of vehicle, the variation tendency according to detection voltage, it is judged that vehicle motor is in operating condition or halted state, to control switch module, opens or closes supplying power for outside;
Switch module 150, the control signal for receiving acquisition processing module 140 controls to open or close supplying power for outside。
In the embodiment of the present invention, the power supply of vehicle, through over-voltage over-current protection module, attenuation module and filtration module, be converted into the voltage of applicable acquisition processing module input range。The analogue value of this voltage is converted to digital value by ADC by acquisition processing module, and it is carried out smothing filtering。Magnitude of voltage in a period of time is analyzed by acquisition processing module, if voltage is in upward status, or voltage is more than default maximum Vmax, then judge that vehicle motor is running status。If voltage is decline state, or voltage is less than default minima Vmin, then judge that vehicle motor is in halted state。After acquisition processing module detects engine operating state, control switch module, open or close supplying power for outside。Working condition chart is as shown in Figure 2。For the 12V power-supply system of kart in the present invention, maximum Vmax can be taken as 14V, and minima Vmin can be taken as 12.6V。
In the embodiment of the present invention, the application of the present invention is not limited to above-mentioned citing。The present invention can independent utility, it is also possible to the detection part as circuit system uses。
When using as the detection part of circuit system, over-voltage over-current protection module is probably and other partial commons of system。
When using as the detection part of circuit system, switch module is likely the some portion of sleep signal of system, by making system dormancy reduce current drain, and is not necessarily the break-make controlling power supply。
Over-voltage over-current protection module in citing, attenuation module and filtration module etc., it is possible to integrated by the conversion of circuit, but its function still can be decomposed into the function in citing。
Further, the described electric power supply control system based on vehicle-state detection, wherein, described acquisition processing module 140 includes:
Converting unit, for being changed by ADC by the voltage signal of collection, is converted to digital signal, and digital signal is carried out digital filtering。
The judgement control unit being connected with described converting unit, for the magnitude of voltage gathered in the scheduled time is analyzed, if be detected that voltage is in upward status, or the maximum Vmax that voltage is preset more than, then judge that vehicle motor is running status, and open supplying power for outside instruction to switch module transmission one;If voltage is decline state, or the minima Vmin that voltage is preset less than, then judge that vehicle motor is in halted state, and send a closedown supplying power for outside instruction to switch module。
The described electric power supply control system based on vehicle-state detection, wherein, described closedown supplying power for outside instruction includes controlling automobile power source and disconnects with supplying power for outside, or is a sleep signal, by making system dormancy reduce current drain。When namely using as the detection part of circuit system, switch module is likely the some portion of sleep signal of system, by making system dormancy reduce current drain, and is not necessarily the break-make controlling power supply。So, adopt sleep signal disconnect, when starting can start quickly efficiency, provide users with the convenient。
The described electric power supply control system based on vehicle-state detection, wherein, described default maximum Vmax is 14V, and described default minima Vmin is 12.6V。
The electric power supply control system based on vehicle-state detection provided in the embodiment of the present invention, it is possible to by detecting change in voltage, it is judged that vehicle motor is in operating condition or halted state。
Implementation is as follows: detection vehicle voltage change, if voltage is that propradation or voltage are higher than maximum Vmax, then it is assumed that accumulator is in charged state, and then show that the electromotor of vehicle is in running status。Now open switch SW, it is provided that power supply。If voltage is that decline state or voltage are lower than minima Vmin, then it is assumed that accumulator is in discharge condition, and then draws the engine stop-state of vehicle。Now closing switch SW, stops providing power supply。
Based on above-described embodiment, present invention also offers a kind of method for controlling power supply based on vehicle-state detection, as it is shown on figure 3, said method comprising the steps of:
The variation tendency of step S100, in real time detection voltage, it is judged that the state of vehicle, the variation tendency according to detection voltage, it is judged that vehicle motor is in operating condition or halted state;As detailed above。
Step S200, in the scheduled time gather magnitude of voltage be analyzed, if be detected that voltage is in upward status, or the maximum Vmax that voltage is preset more than, then judge that vehicle motor is running status, and open supplying power for outside instruction to switch module transmission one;Switch module Guan Bi can externally provide power supply;As detailed above。
If step S300 voltage is decline state, or the minima Vmin that voltage is preset less than, then judging that vehicle motor is in halted state, and send a closedown supplying power for outside instruction to switch module, switch module disconnects can not externally provide power supply;As detailed above。
The described method for controlling power supply based on vehicle-state detection, wherein, the step of the variation tendency of described real-time detection voltage also includes: the voltage signal of detection in real time is changed by ADC, converts digital signal to, and digital signal is carried out digital filtering;As detailed above。
Further, the described method for controlling power supply based on vehicle-state detection, as it is shown in figure 1, also include before the step of the variation tendency of described real-time detection voltage:
Arrange and connect automobile power source part by an over-voltage over-current protection module 110; detection absorbs the pulse shock produced in vehicle ignition situation; protection system, and control damage vehicle circuit when supplying power for outside battery prevents supplying power for outside electric current excessive by described over-voltage over-current protection module 110;As detailed above。
Further, the described method for controlling power supply based on vehicle-state detection, as it is shown in figure 1, also include before the step of the variation tendency of described real-time detection voltage:
One attenuation module 120 is set, for the voltage of input is decayed so that it is voltage is in the acceptable input range of acquisition processing module 140;As detailed above。
Further, the described method for controlling power supply based on vehicle-state detection, as it is shown in figure 1, also include before the step of the variation tendency of described real-time detection voltage:
One filtration module 130 is set, for filtering the voltage pulsation caused by vehicle interior electronic system, is the voltage being suitable for acquisition processing module 140 input range by the photovoltaic conversion after filtering;As detailed above。
The described method for controlling power supply based on vehicle-state detection, wherein, described default maximum Vmax is 14V, and described default minima Vmin is 12.6V。
In sum; unblock processing method based on mobile terminal provided by the present invention and mobile terminal; pass through the present invention; can low cost detect whether vehicle motor is in operating condition; protection accumulator prevents over-discharge; protection vehicle electronic device eliminates safe hidden trouble, and the detection method of the present invention is easy to install need not destroy the original circuit of vehicle。By the detection method of the present invention, it is achieved automatic opening power after firing, after flame-out, close power supply, extend the service life of automobile batteries, improve safety, provide users with the convenient。
The present invention can facilitate and low cost obtain vehicle state。It is capable of control vehicle supplying power for outside automatically, after flame-out, stop supplying power for outside, open supplying power for outside after igniting, it is not necessary to manual intervention。Vehicle battery can be protected, it is prevented that cross and put。Improve the safety of vehicle electronic device, it is prevented that the contingencies such as spontaneous combustion。The detection of vehicle-state is realized by voltage detecting, easy for installation, do not destroy vehicle line。
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, it is possible to improved according to the above description or convert, all these improve and convert the protection domain that all should belong to claims of the present invention。