Summary of the invention
This application provides a kind of selection method of operational mode and its selection system, the selection method of operational mode are specific
The following steps are included: receiving the conducting that power request is powered route;It is connected in response to circuit, is powered with the fixed cycle
The sampling of equipment voltage and or current;Judge power supply unit whether normal operation;It runs if normal, then calculates power supply unit
Power determines the type of power supply unit;According to power supply unit type, operation mode database is inquired, is obtained and power supply unit class
The operational mode that type matches;Power supply unit is powered according to operational mode.
As above, wherein judgement power supply includes following sub-step whether normal operation: sampled signal being converted to corresponding
Digital signal;Spectrum analysis is carried out to digital signal, obtains the signal characteristic value of digital signal;Comparison signal characteristic value, judgement
Power supply unit is whether normal operation;
Wherein signal characteristic value Xn=An/ (N/2) * cos (2*pi*Fn*t+Pn), n represent the steady of the n point for using complex representation
Determine signal, An is the mould of the plural number of n point signal, and pi indicates the period, and Pn is the phase of n point signal, and t is the time, and Fn is n point signal
Frequency, N be signal quantity, XnRepresent the signal characteristic value of n point signal.
As above, wherein if Xn-Xn-1< K, then power supply unit operates normally;If Xn-Xn-1> K, then power supply unit is not normal
Operation, then be powered the inspection of the operating status of equipment, and K is pre-set specified threshold.
As above, wherein spectrum analysis is carried out to N number of signal respectively, calculates the difference of the signal characteristic value of adjacent signals,
If the difference of the signal characteristic value of a certain continuous signal is greater than K, which is abnormal signal section, starts abnormal examination mechanism
Abnormal signal section is checked, abnormal service condition is sent to user.
As above, wherein the distance between abnormal signal section and normal signal section are calculated, analysis obtains the different of power supply unit
It is often used situation, wherein distance is expressed asyiRepresent the signal characteristic value of normal signal section
Mean value, ziRepresent the mean value of the signal characteristic value of abnormal signal section, the integer that the value range of i is 1 to N, the number of N representation signal
Amount.
As above, wherein if the abnormal service condition unrepairable obtained after analysis, interception signal is issued, prevents to supply
Electric equipment continues to run;If the abnormal service condition obtained after analysis can repair, reset signal is issued, equipment is powered
It reconnects.
As above, wherein the power P of power supply unit=1.732*I*U*cos φ, wherein I is the electric current of sampling, and U is to adopt
The voltage of sample, cos φ are power factor.
A kind of operational mode selection system, including receive transmission unit, sampling unit, running state analysis unit, calculate
Unit, query execution unit;Transmission unit is received for being communicated with power supply unit, power request is received and is powered route
Conducting, and final operational mode is sent to power supply unit;Sampling unit with receive transmission unit connect, be used in response to
Circuit conducting, samples the voltage and or current of power supply unit;Running state analysis unit is connect with sampling unit, is used
Power supply unit is analyzed according to the signal of acquisition;Computing unit is connect with running state analysis unit, is supplied for calculating
The power of electric equipment, and determine the type of power supply unit;Query execution unit is connect with computing unit, in operational mode number
According to inquiring operational mode corresponding with power supply unit in library, and operational mode is sent to and receives transmission unit and carries out operation mould
The execution of formula.
It is as above, wherein running state analysis unit includes that signal conversion module, signal processing module, signal compare mould
Block and abnormal examination module;Signal conversion module is used to sampled signal being converted to corresponding digital signal;Signal processing mould
Block is connect with signal conversion module, for carrying out spectrum analysis to digital signal, obtains the characteristic value of digital signal;Signal compares
Module is connect with signal processing module, is used for comparison signal characteristic value, is finally obtained the conclusion of power supply unit whether normal operation;
Abnormal examination module is connect with signal comparison module, if power supply unit is operating abnormally, starts abnormal examination mechanism to abnormal letter
Number section is checked, and abnormal results are sent to user.
As above, wherein abnormal examination module includes blocking module and reseting module;Blocking module intercepts letter for issuing
Number, prevent power supply unit from continuing to run;For issuing reset signal, the operation for stopping power supply unit being powered to be set reseting module
Standby reconnect.
The application has the advantages that
(1) selection method of operational mode provided by the present application and its selection system can be most suitable in selection power supply unit
Operational mode be powered, avoid the waste of electric power resource.
(2) selection method of operational mode provided by the present application and its selection system can pass through automatic identification power supply unit
Type, do not need user and be manually entered, save time and efforts, meanwhile, whether there is by judging automatically abnormal signal,
To realize the judgement to power supply unit exception, and automatically processed according to abnormality processing principle, and abnormal conditions are notified
User avoids the property loss of user.
Specific embodiment
Below with reference to the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Ground description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on the application
In embodiment, those skilled in the art's every other embodiment obtained without making creative work, all
Belong to the range of the application protection.
The application is the selection method and its selection system of a kind of operational mode.According to the application, power supply can be selected to set
Standby most suitable operational mode is powered, and avoids the waste of electric power resource.
It is as shown in Figure 1 the selection method flow chart of operational mode provided by the present application.
Step S110: the conducting that power request is powered route is received.
When the equipment such as electric appliance are inserted into power supply line, power request signal will be issued, in response to the power request signal, supplied
Electric line conducting.
Step S120: it is connected in response to circuit, the sampling of equipment voltage and or current is powered with the fixed cycle.
After circuit conducting, according to the voltage and or current of fixed periodic sampling power supply unit, wherein fixed cycle
It is pre-entered by user or is provided in advance by system.
Step S130: judge whether power supply unit is operating normally.
Preferably, sampled signal is converted to corresponding digital signal to go forward side by side line frequency spectrum analysis, is obtained according to spectrum analysis
Signal characteristic judges whether electric appliance can operate normally according to signal characteristic, as shown in Fig. 2, step S130 specifically include it is following
Sub-step:
Step S210: sampled signal is converted into corresponding digital signal.
Step S220: spectrum analysis is carried out to digital signal, obtains the characteristic value of digital signal.
It preferably, include N number of signal (N is the integer greater than 2) in digital signal, wherein two signals is taken to carry out frequency spectrum point
Analysis, respectively original signal and stabilization signal, wherein original signal is the initial signal in the digital signal of acquisition, stabilization signal
Signal when tending towards stability for digital signal.
Preferably, the signal characteristic of the stabilization signal under original signal and stable state is calculated according to Fourier transformation.
Further, signal characteristic value Xn=An/ (N/2) * cos (2*pi*Fn*t+Pn), wherein the stabilization signal of n point is used
Complex representation, pi indicate the period, and An is the mould of the plural number of n point signal, and Pn is the phase of n point signal, and t is the time, and Fn is n point letter
Number frequency, N be signal quantity.
Step S230: comparison signal characteristic value judges power supply unit whether normal operation.
It illustratively, can be by comparing signal characteristic value XnWith Xn-1If Xn-Xn-1< K illustrates that signal characteristic value is approximate
, then illustrate that power supply unit is able to carry out normal operation.
If Xn-Xn-1> K, then the fluctuation of signal characteristic value is larger, illustrates that power supply unit has not been able to operate normally, exits process simultaneously
It is powered the inspection of the operating status of equipment.
Illustratively, the inspection of operating status can be carries out spectrum analysis to N number of signal respectively, calculates adjacent signals
The difference of signal characteristic value illustrates the continuous signal if the difference for obtaining the signal characteristic value of a certain continuous signal is all larger than K
For abnormal signal section, starts abnormal examination mechanism and abnormal signal section is checked, abnormal service condition is sent to use
Family.
Preferably, the distance between abnormal signal section and normal signal section can be calculated, checks whether that abnormal signal section is
It is regular, anomaly analysis is carried out accordingly, to obtain Exception Type, and exception information is sent to user, it is preferred that can be with
The mobile device of user is sent to by wireless and/or wired mode, even if so that user not at the scene, can also obtain
Obtain the abnormal service condition of power supply unit.
Specifically, the distance between abnormal signal section and normal signal section are expressed as Its
Middle yiRepresent the mean value of the signal characteristic value of normal signal section, ziThe mean value of the signal characteristic value of abnormal signal section is represented, i's takes
It is worth the integer that range is 1 to N, same as above, the quantity of N representation signal.
Defining the distance between i-th of abnormal signal section and i-th of normal signal section is first distance, and i+1 is abnormal
The distance between signal segment and i+1 normal signal section are second distance, if first distance is identical as the value of second distance,
Be between specification exception signal it is regular, according to rule combine power supply unit type analyzed, to show that power supply is set
Standby abnormal service condition.
Illustratively, if obtained abnormal service condition unrepairable after analysis, such as supply current/voltage be not achieved or
More than the standard of power supply unit, then interception signal is issued, power supply unit is prevented to continue to run, if the abnormal use obtained after analysis
Situation can repair, such as need power supply unit to be reconnected in some cases, then issue reset signal, stop power supply and set
Standby operation is powered the reconnect of equipment.
If power supply unit operates normally, thens follow the steps S140: calculating the power of power supply unit, determine the class of power supply unit
Type.
Specifically, the power P of power supply unit=1.732*I*U*cos φ, wherein I is the electric current of sampling, and U is the electricity of sampling
Pressure, cos φ are power factor.
The power of every one kind power supply unit has fixed range, and illustratively, the power P of television set is generally 200W,
If obtaining 200-P < σ after calculating, judge power supply unit for television set or similar products (such as computer).
Specifically, σ is a fixed numbers, can be configured according to the actual situation by staff, herein without limit
It is fixed.
Step S150: according to power supply unit type, operation mode database is inquired, acquisition matches with power supply unit type
Operational mode.
Specifically, there are the various operational modes to match with power supply unit type in operation mode database.Wherein transport
Row mode is stored in advance in operation mode database, can carry out operational mode data by wireless and/or wired mode
The automatic or manual in library updates.
Step S160: power supply unit is powered according to operational mode.
According to the operational mode that inquiry obtains, it is powered for power supply unit.
Fig. 3 is that operational mode provided by the embodiments of the present application selects system.
As shown in figure 3, including receiving transmission unit 301, sampling unit 302, running state analysis unit 303, calculating list
First 304, query execution unit 305.
Wherein as shown in figure 4, running state analysis unit 303 includes signal conversion module 401, signal processing module 402
And signal comparison module 403.It preferably, further include abnormal examination module 404.
Preferably, abnormal examination module 404 includes cue module, blocking module and reseting module.
Transmission unit 301 is received for being communicated with power supply unit, reception power request is powered the conducting of route,
And final operational mode is sent to power supply unit.
Preferably, receiving transmission unit 301 can also include wireless communication module and wire communication module, radio communication mold
Block can realize that the wireless communication with power supply unit, wire communication module can be radio-frequency module, Neng Gouyu for Wi F i mode
Power supply unit carries out wire communication by power line.
Sampling unit 302 is connect with transmission unit 301 is received, for being connected in response to circuit, to the voltage of power supply unit
And/or electric current is sampled.
Preferably, the sampling of voltage and or current is carried out in a manner of the fixed cycle.
Running state analysis unit 303 is connect with sampling unit 302, for being carried out according to the signal of acquisition to power supply unit
Analysis.
Specifically, sampled signal is converted to corresponding digital signal to go forward side by side line frequency spectrum analysis, is obtained according to spectrum analysis
Signal characteristic judges whether electric appliance can operate normally according to signal characteristic.
Further, signal conversion module 401 is used to sampled signal being converted to corresponding digital signal.
Signal processing module 402 is connect with signal conversion module 401, for carrying out spectrum analysis to digital signal, is obtained
The characteristic value of digital signal.
Signal comparison module 403 is connect with signal processing module 402, is used for comparison signal characteristic value, is finally obtained power supply
The conclusion of equipment whether normal operation.
Abnormal examination module 404 is connect with signal comparison module 403, if power supply unit is operating abnormally, starts abnormal inspection
It looks into mechanism to check abnormal signal section, abnormal results is sent to by user by cue module.
Preferably, blocking module intercepts signal for issuing, and power supply unit is prevented to continue to run;Reseting module is for issuing
Reset signal, the operation for stopping power supply unit being powered the reconnect of equipment.
Computing unit 304 is connect with running state analysis unit 303, for calculating the power of power supply unit, and is determined and is supplied
The type of electric equipment.
Query execution unit 305 is connect with computing unit 304, is set for inquiring in operation mode database with power supply
Standby corresponding operational mode, and operational mode is sent to the execution for receiving transmission unit 301 and carrying out operational mode.
The application has the advantages that
(1) selection method of operational mode provided by the present application and its selection system can be most suitable in selection power supply unit
Operational mode be powered, avoid the waste of electric power resource.
(2) selection method of operational mode provided by the present application and its selection system can pass through automatic identification power supply unit
Type, do not need user and be manually entered, save time and efforts, meanwhile, whether there is by judging automatically abnormal signal,
To realize the judgement to power supply unit exception, and automatically processed according to abnormality processing principle, and abnormal conditions are notified
User avoids the property loss of user.
Although the example of present application reference is described, it is intended merely to the purpose explained rather than the limit to the application
System, the change to embodiment, increase and/or deletion can be made without departing from scope of the present application.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.