CN104597813A - Intelligent socket capable of automatically identifying electric appliance running state - Google Patents
Intelligent socket capable of automatically identifying electric appliance running state Download PDFInfo
- Publication number
- CN104597813A CN104597813A CN201410803274.4A CN201410803274A CN104597813A CN 104597813 A CN104597813 A CN 104597813A CN 201410803274 A CN201410803274 A CN 201410803274A CN 104597813 A CN104597813 A CN 104597813A
- Authority
- CN
- China
- Prior art keywords
- characteristic quantity
- time window
- prefabricated
- electric operation
- set time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 33
- 238000005070 sampling Methods 0.000 claims abstract description 19
- 230000008859 change Effects 0.000 claims description 36
- 238000004891 communication Methods 0.000 claims description 31
- 238000000354 decomposition reaction Methods 0.000 claims description 25
- 230000002159 abnormal effect Effects 0.000 claims description 24
- 230000006870 function Effects 0.000 claims description 24
- 230000008569 process Effects 0.000 claims description 20
- 230000009466 transformation Effects 0.000 claims description 11
- 238000001228 spectrum Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000013011 mating Effects 0.000 claims description 5
- 238000011002 quantification Methods 0.000 claims description 5
- 230000006855 networking Effects 0.000 claims description 3
- 230000008030 elimination Effects 0.000 abstract 2
- 238000003379 elimination reaction Methods 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 239000008358 core component Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
Abstract
The invention discloses an intelligent socket control method which includes the steps: sampling voltage/current data in a fixed time window; performing noise elimination for the sampled data; calculating the characteristic quantity of the data noise elimination; fuzzily matching the acquired characteristic quantity with characteristic quantity in a prefabricated electric appliance pattern base to obtain an electric appliance running state; judging whether the characteristic quantity in the fixed time window changes or not; executing fuzzy pattern matching if the characteristic quantity in the fixed time window changes; displaying a proximal matching pattern in the prefabricated electric appliance pattern base by a display unit. The electric appliance running state is accurately identified through a pre-built pattern base, connection and disconnection of a socket are controlled by the aid of electronic means, and overvoltage protection is provided for frequent connection and disconnection.
Description
Technical field
The present invention relates to a kind of socket, particularly a kind of smart jack that automatically can identify electrical operation state.
Background technology
Along with the appearance of the advanced technology such as Smart Home, Internet of Things, traditional socket is to intelligentized future development.Although existing intelligent socket has certain intelligent ability, go back the functions such as the electricity statistics of primary limitation on basis or passive control break-make, not there is further intelligent functions.Simultaneously in order to reduce the electricity loss of electrical equipment; the running status of electrical equipment is preferably shown in real time to electricity consumption user; and make user by the break-make of the real-time control apparatus of electronic means, and the circuit protection function preventing immediate current excessive can be provided when frequent on-off circuit.
Summary of the invention
For solving the deficiencies in the prior art, the object of the present invention is to provide a kind of smart jack of automatic identification electrical operation state.
In order to realize above-mentioned target, the present invention adopts following technical scheme:
A kind of smart jack control method, comprising: the voltage/current data in sampling set time window; Sampled data denoising; Calculate the characteristic quantity of the data after denoising; Characteristic quantity in the characteristic quantity and the prefabricated electrical equipment pattern base that obtain carries out fuzzy matching, and acquisition electric operation state, comprising: judge in set time window, whether characteristic quantity exists change; If there is change, then perform fuzzy pattern matching; The immediate pattern of mating from prefabricated electric operation pattern base is shown by display unit.
The method comprises further: the voltage/current data in sampling set time window comprise: sample to the data in the set time window on socket inlet wire, can comprise sampled voltage and sample rate current, wherein set time window can be specified in advance by system or be specified by user.
The method comprises further: sampled data denoising comprises: utilize Wavelet Transform to carry out Denoising disposal to the data obtained, Wavelet Transform comprises the following steps:
(1), signals and associated noises pre-service and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition; Pre-service judges the integrity degree of Wave data; Choose db small echo as wavelet basis function, and adopt Mallat algorithm to carry out multi-resolution decomposition to db small echo, decomposition level can be chosen according to actual electrical equipment situation;
(2), wavelet decomposition high frequency coefficient threshold process, low frequency signal remains unchanged, high-frequency signal selects appropriate threshold value to carry out quantification treatment, the threshold value form that Threshold selection is fixing, selection of threshold function soft-threshold function (sgn (w) (| w|-λ), | w| > λ), in this function, λ is the threshold value of minimum very big variance, and w is high-frequency signal numerical value;
(3) wavelet inverse transformation, will carry out the wavelet coefficient reconstruct that threshold process crosses, the original signal estimated value after being restored.
The method comprises further: judge that the concrete steps whether characteristic quantity in set time window exists change comprise: select the characteristic quantity in set time window, to detect the change of characteristic quantity, namely consider whether formula (1) is set up,
X (k+1)-X (k) > ε formula (1),
In formula (1), the characteristic quantity that X (k) and X (k+1) is adjacent two set time windows, ε is setting threshold values; The characteristic quantity of two adjacent time windows refers to the adjacent periods characteristic quantity of voltage or electric current; The span of ε and set time window can be preset by system or be specified by user; If formula (1) is set up, then represent to there is abnormal data wave band, thus need to mate prefabricated electric operation pattern base, change the display of display module, then continue fuzzy pattern matching step; If formula (1) is false, then there is not abnormal data wave band, prefabricated electric operation pattern base can not be mated, do not change the display of display module, continue the voltage/current data in sampling future time window.
The method comprises further: if there is change, then the step performing fuzzy pattern matching comprises:
Utilize formula (2), the characteristic quantity in the characteristic quantity of expression abnormal data wave band and prefabricated electric operation pattern base carried out fuzzy pattern distance and calculates,
formula (2),
In formula (2), d intermediate scheme distance, x
irepresent the characteristic quantity in prefabricated electric operation pattern base, c
irepresent the characteristic quantity of abnormal data wave band, the span of i is the integer of 1 to n, the number of n representation feature amount; Minimum pattern distance d formula (2) calculated and the pattern similarity threshold values β of setting compares; The pattern similarity threshold values β of setting is the similar threshold values of pattern distance that custom system provides; If d≤β, then represent the operational mode of abnormal data wave band and be immediate regime mode for the pattern compared in prefabricated electric operation pattern base, then show this immediate regime mode; If d > β, then continue other patterns chosen in prefabricated electrical equipment pattern base and mate, until all patterns of prefabricated electrical equipment pattern base are not all mated, at this moment by communication unit to user's alarm.
The invention still further relates to a kind of smart jack, comprising: sample circuit, the data on socket inlet wire are sampled, the voltage/current data in sampling set time window; Communication unit, receives the instruction to the break-make instruction of socket or timing break-make, and by obtaining prefabricated electric operation pattern base with the communication of external unit; Storage chip, stores the sampled data of prefabricated electric operation pattern base and sample circuit acquisition and the pattern match result of embedded intelligence treatment circuit chip; Display module, shows the running status of the access electric equipment determined; Embedded intelligence treatment circuit chip, comprising: control circuit, controls socket inner part; Break-make control module, the break-make instruction received according to communication unit or the instruction of timing break-make, control the break-make of socket; Pattern Matching Module, the real-time voltage gathered according to sample circuit and current signal, automatic calculating realtime power, frequency, and carry out fast signal process, the frequency spectrum of analytical calculation voltage, electric current, power, calculate individual features amount, according to the prefabricated electric operation pattern base of characteristic quantity Auto-matching obtained, thus determine the operation conditions of electric equipment.
Configure smart jack by two kinds of modes: the first, electrical equipment classification is set by communication unit, thus only store the prefabricated electric operation pattern base of corresponding electric appliance classification in storage chip; When changing the electrical equipment classification on socket, reset electrical equipment classification by communication unit, fresh warp thread of laying equal stress on is downloaded the prefabricated electric operation pattern base of up-to-date corresponding electric appliance classification by communication unit; The second, allow smart jack by communication module networking operation a period of time, smart jack will identify electrical equipment classification automatically, and automatically download the prefabricated electric operation pattern base of corresponding electric appliance classification via communication module 4.
This smart jack also comprises: make socket can not produce the overcurrent protection circuit of immediate current when the frequent break-make socket of user, it is connected with executive circuit, exports control signal by executive circuit, controls the on off operating mode of overcurrent protection circuit; Executive circuit, receives the instruction that embedded intelligence treatment circuit chip sends, and performs the instruction of break-make or timing break-make socket, the break-make of the protection circuit that controls to pass by one's way.
Wherein, data in the set time window that Pattern Matching Module utilizes Wavelet Transform to obtain sample circuit carry out Denoising disposal, calculate the characteristic quantity of the data after denoising, obtain characteristic quantity and prefabricated electrical equipment pattern base in characteristic quantity carry out fuzzy matching, obtain electric operation state, comprising: judge in set time window, whether characteristic quantity exists change; If there is change, then perform fuzzy pattern matching; The immediate pattern of mating from prefabricated electric operation pattern base is shown by display unit.
To judge in set time window whether characteristic quantity exists change to comprise: select the characteristic quantity in set time window, to detect the change of characteristic quantity, namely consider whether formula (1) is set up,
X (k+1)-X (k) > ε formula (1),
In formula (1), the characteristic quantity that X (k) and X (k+1) is adjacent two set time windows, ε is setting threshold values; The characteristic quantity of two adjacent time windows refers to the adjacent periods characteristic quantity of voltage or electric current; The span of ε and set time window can be preset by system or be specified by user; If formula (1) is set up, then represent to there is abnormal data wave band, thus need to mate prefabricated electric operation pattern base, change the display of display module, then continue fuzzy pattern matching step; If formula (1) is false, then there is not abnormal data wave band, prefabricated electric operation pattern base can not be mated, do not change the display of display module, continue the voltage/current data in sampling future time window.
Usefulness of the present invention is: accurately identify electric operation state by the pattern base set up in advance, for user provides electronic means to control the break-make of socket, and provides overcurrent protection function for break-make frequently.
Accompanying drawing explanation
Fig. 1 is the structural drawing of the exemplary socket of the present invention;
Fig. 2 is the internal structural map of the embedded intelligence treatment circuit chip in the exemplary socket of the present invention;
Fig. 3 is the workflow diagram of the exemplary socket of the present invention;
Fig. 4 is the process of establishing process flow diagram of the exemplary prefabricated electric operation pattern base of the present invention;
Fig. 5 is the exemplary fuzzy pattern matching method flow diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, concrete introduction is done to the present invention.
Fig. 1 shows the structural representation of example socket of the present invention, and this smart jack comprises overcurrent protection circuit 1, sampled point road 2, executive circuit 3, communication unit 4, embedded intelligence treatment circuit chip 5, storage chip 6, display module 7.Introduce each circuit/chip below respectively.
Overcurrent protection circuit 1 is the control device that a kind of security performance is high; such as can be controllable silicon or relay, make socket to produce immediate current when the frequent break-make socket of user, it is connected with executive circuit 3; export control signal by executive circuit 3, control the on off operating mode of overcurrent protection circuit 1.
Data on sample circuit 2 pairs of socket inlet wires are sampled, and can comprise voltage sampling circuit and current sampling circuit, and wherein voltage sampling circuit adopts electric resistance partial pressure, is 0-5V voltage division signal by socket inlet wire 220V voltage.Current sampling circuit utilizes 0.01 ohm of small resistor that big current is converted into small voltage signal.Be specially: the voltage/current data in sampling set time window.Data in set time window on socket inlet wire are sampled, sampled voltage and sample rate current can be comprised.Set time window can be specified in advance by system or be specified by user.
Executive circuit 3 receives the instruction that embedded intelligence treatment circuit chip 5 sends, and performs the instruction of break-make or timing break-make socket, the break-make of the protection circuit 1 that controls to pass by one's way.
Communication unit 4 can use wireless signal such as WIFI, bluetooth etc. and external device communication, receives the instruction to the break-make instruction of socket or timing break-make, and by obtaining prefabricated electric operation pattern base with the communication of external unit.
Embedded intelligence treatment circuit chip 5 is core components of this socket, and its structure as shown in Figure 2, comprises break-make control module 501, Pattern Matching Module 502 and control circuit 503.Wherein control circuit 503 controls miscellaneous part and break-make control module 501 in socket, the work of Pattern Matching Module 502; Break-make control module 501 implements the break-make to overcurrent protection circuit 1 according to the break-make instruction control executive circuit 3 that communication unit 4 receives, further according to the timing break-make instruction that communication unit 4 receives, when arriving the time of timing, the break-make to overcurrent protection circuit 1 implemented by control executive circuit 3; The real-time voltage that Pattern Matching Module 502 gathers according to sample circuit 2 and current signal; automatic calculating realtime power, frequency; and carry out fast signal process; the frequency spectrum of analytical calculation voltage, electric current, power; calculate individual features amount; according to the prefabricated electric operation pattern base of characteristic quantity Auto-matching obtained; thus determine the operation conditions of electric equipment; such as shutdown, standby, normal operation, defect operation etc.; and the operation conditions of acquisition is supplied to display module 7 shows, the specific works process of this Pattern Matching Module 502 is:
Data in the set time window that step 1. utilizes Wavelet Transform to obtain sampled point road carry out Denoising disposal.Wavelet Transform mainly comprises the following steps:
(1), signals and associated noises pre-service and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition (low frequency and high frequency coefficient).Pre-service judges the integrity degree of Wave data; Choosing db (English omnidistance: Daubechies, to be called for short: db in literary composition) small echo as wavelet basis function, and adopts Mallat algorithm to carry out multi-resolution decomposition to db small echo, and decomposition level can be chosen according to actual electrical equipment situation.
(2), wavelet decomposition high frequency coefficient threshold process.Low frequency signal remains unchanged, high-frequency signal selects appropriate threshold value to carry out quantification treatment, the threshold value form (being multiplied by a coefficient N from the threshold value λ obtaining minimum very big variance is data length) that Threshold selection is fixing, selection of threshold function soft-threshold function (sgn (w) (| w|-λ), | w| > λ), in this function, λ is the threshold value of minimum very big variance, and w is high-frequency signal numerical value.
(3) wavelet inverse transformation.The wavelet coefficient reconstruct that threshold process crosses, the original signal estimated value after being restored will be carried out.
Step 2. calculates characteristic quantity.
Calculate realtime power, the frequency after denoising, and carry out fast signal process, the frequency spectrum of analytical calculation voltage, electric current, power, calculate individual features amount, characteristic quantity is the reflection periodically variable average of test waveform or amplitude, or the power quality index that user pays close attention to.
Step 3. electric operation state model mates.
Characteristic quantity in the characteristic quantity and the prefabricated electrical equipment pattern base that obtain carries out fuzzy matching, acquisition electric operation state, and concrete steps see Fig. 5, can comprise:
Step 3.1, judge in set time window, whether characteristic quantity exists change.
Select the characteristic quantity in set time window, to detect the change of characteristic quantity, namely consider whether formula (1) is set up,
X (k+1)-X (k) > ε formula (1),
In formula (1), the characteristic quantity that X (k) and X (k+1) is adjacent two set time windows, ε is setting threshold values.The characteristic quantity of two adjacent time windows refers to the adjacent periods characteristic quantity of voltage or electric current.The span of ε and set time window can be preset by system or be specified by user.
If formula (1) is set up, then represent to there is abnormal data wave band, thus need to mate prefabricated electric operation pattern base, change the display of display module, then continue step 3.2; If formula (1) is false, then there is not abnormal data wave band, prefabricated electric operation pattern base can not be mated, do not change the display of display module, continue the voltage/current data in sampling future time window.
If step 3.2. exists change, then perform fuzzy pattern matching.
Utilize formula (2), the characteristic quantity in the characteristic quantity of expression abnormal data wave band and prefabricated electric operation pattern base carried out fuzzy pattern distance and calculates,
formula (2),
In formula (2), d intermediate scheme distance, x
irepresent the characteristic quantity in prefabricated electric operation pattern base, c
irepresent the characteristic quantity of abnormal data wave band, the span of i is the integer of 1 to n, the number of n representation feature amount.
Minimum pattern distance d formula (2) calculated and the pattern similarity threshold values β of setting compares.The pattern similarity threshold values β of setting is the similar threshold values of pattern distance that custom system provides.If d≤β, then represent the operational mode of abnormal data wave band and be immediate regime mode for the pattern compared in prefabricated electric operation pattern base, enter step 5; If d > β, then continue other patterns chosen in prefabricated electrical equipment pattern base and mate, until all patterns of prefabricated electrical equipment pattern base are not all mated, at this moment by communication unit to user's alarm.
Storage chip 6 stores the sampled data of prefabricated electric operation pattern base and sample circuit acquisition and the pattern match result of embedded intelligence treatment circuit chip 5.Further, in order to save memory capacity, user configures smart jack by two kinds of modes: the first, arrange electrical equipment classification by communication unit 4, thus only stores the prefabricated electric operation pattern base of corresponding electric appliance classification in storage chip 6; When changing the electrical equipment classification on socket, reset electrical equipment classification by communication unit 4, fresh warp thread of laying equal stress on is downloaded the prefabricated electric operation pattern base of up-to-date corresponding electric appliance classification by communication unit 4; The second, allow smart jack by communication module 4 networking operation a period of time, smart jack will identify electrical equipment classification automatically, and automatically download the prefabricated electric operation pattern base of corresponding electric appliance classification via communication module 4.
The running status of display module 7 to the access electric equipment determined shows, such as, represent the different conditions of electric operation by the color of LED.
The course of work of this smart jack is described in detail below in conjunction with Fig. 3.
Step 1. is sampled the voltage/current data in set time window.
Sampling to the data in the set time window on socket inlet wire, can comprise sampled voltage and sample rate current, is 0-5V voltage division signal by socket inlet wire 220V voltage, and utilizes 0.01 ohm of small resistor that big current is converted into small voltage signal.Set time window can be specified in advance by system or be specified by user.
The denoising of step 2. sampled data.
Wavelet Transform is utilized to carry out Denoising disposal to the data obtained.Wavelet Transform mainly comprises the following steps:
(1), signals and associated noises pre-service and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition (low frequency and high frequency coefficient).Pre-service judges the integrity degree of Wave data; Choosing db (English omnidistance: Daubechies, to be called for short: db in literary composition) small echo as wavelet basis function, and adopts Mallat algorithm to carry out multi-resolution decomposition to db small echo, and decomposition level can be chosen according to actual electrical equipment situation.
(2), wavelet decomposition high frequency coefficient threshold process.Low frequency signal remains unchanged, high-frequency signal selects appropriate threshold value to carry out quantification treatment, the threshold value form (being multiplied by a coefficient N from the threshold value λ obtaining minimum very big variance is data length) that Threshold selection is fixing, selection of threshold function soft-threshold function (sgn (w) (| w|-λ), | w| > λ), in this function, λ is the threshold value of minimum very big variance, and w is high-frequency signal numerical value.
(3) wavelet inverse transformation.The wavelet coefficient reconstruct that threshold process crosses, the original signal estimated value after being restored will be carried out.
Step 3. calculates characteristic quantity.
Calculate realtime power, the frequency after denoising, and carry out fast signal process, the frequency spectrum of analytical calculation voltage, electric current, power, calculate individual features amount, characteristic quantity is the reflection periodically variable average of test waveform or amplitude, or the power quality index that user pays close attention to.
Step 4. electric operation state model mates.
Characteristic quantity in the characteristic quantity and the prefabricated electrical equipment pattern base that obtain carries out fuzzy matching, acquisition electric operation state, and concrete steps see Fig. 5, can comprise:
Step 4.1, judge in set time window, whether characteristic quantity exists change.
Select the characteristic quantity in set time window, to detect the change of characteristic quantity, namely consider whether formula (1) is set up,
X (k+1)-X (k) > ε formula (1),
In formula (1), the characteristic quantity that X (k) and X (k+1) is adjacent two set time windows, ε is setting threshold values.The characteristic quantity of two adjacent time windows refers to the adjacent periods characteristic quantity of voltage or electric current.The span of ε and set time window can be preset by system or be specified by user.
If formula (1) is set up, then represent to there is abnormal data wave band, thus need to mate prefabricated electric operation pattern base, change the display of display module, then continue step 4.2; If formula (1) is false, then there is not abnormal data wave band, prefabricated electric operation pattern base can not be mated, do not change the display of display module, forward step 1 to, continue the voltage/current data in sampling future time window.
If step 4.2. exists change, then perform fuzzy pattern matching.
Utilize formula (2), the characteristic quantity in the characteristic quantity of expression abnormal data wave band and prefabricated electric operation pattern base carried out fuzzy pattern distance and calculates,
formula (2),
In formula (2), d intermediate scheme distance, x
irepresent the characteristic quantity in prefabricated electric operation pattern base, c
irepresent the characteristic quantity of abnormal data wave band, the span of i is the integer of 1 to n, the number of n representation feature amount.
Minimum pattern distance d formula (2) calculated and the pattern similarity threshold values β of setting compares.The pattern similarity threshold values β of setting is the similar threshold values of pattern distance that custom system provides.If d≤β, then represent the operational mode of abnormal data wave band and be immediate regime mode for the pattern compared in prefabricated electric operation pattern base, enter step 5; If d > β, then continue other patterns chosen in prefabricated electrical equipment pattern base and mate, until all patterns of prefabricated electrical equipment pattern base are not all mated, at this moment by communication unit to user's alarm.
Step 5. shows electric operation state.
The immediate pattern of mating from prefabricated electric operation pattern base is shown by display unit, comprises the different conditions such as representing electric operation by the color of LED.
Fig. 4 is the process of establishing process flow diagram of the exemplary prefabricated electric operation pattern base of electrical equipment of the present invention, comprises the following steps:
Step 1. sets the variable representing each electric operation feature.
Setting needs the electric operation characteristic variable obtained, and can comprise the frequency spectrum of the realtime power of electrical equipment, frequency, voltage, electric current, power, and various characteristic quantity.
Step 2. is sorted out the various measured datas obtained, denoising.
The various measured datas of the electrical equipment obtained are classified according to above-mentioned characteristic variable, and denoising is carried out to these data, Wavelet Transform can be used to carry out Denoising disposal to the variable obtained.Wavelet Transform mainly comprises the following steps:
(1), signals and associated noises pre-service and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition (low frequency and high frequency coefficient).Pre-service judges the integrity degree of Wave data; Choosing db (English omnidistance: Daubechies, to be called for short: db in literary composition) small echo as wavelet basis function, and adopts Mallat algorithm to carry out multi-resolution decomposition to db small echo, and decomposition level can be chosen according to actual electrical equipment situation.
(2), wavelet decomposition high frequency coefficient threshold process.Low frequency signal remains unchanged, high-frequency signal selects appropriate threshold value to carry out quantification treatment, the threshold value form (being multiplied by a coefficient N from the threshold value λ obtaining minimum very big variance is data length) that Threshold selection is fixing, selection of threshold function soft-threshold function (sgn (w) (| w|-λ), | w| > λ), in this function, λ is the threshold value of minimum very big variance, and w is high-frequency signal numerical value.
(3) wavelet inverse transformation.The wavelet coefficient reconstruct that threshold process crosses, the original signal estimated value after being restored will be carried out.
Step 3. sets up prefabricated electric operation pattern base.
By the characteristic quantity after classification, denoising stored in pattern base, form the prefabricated electric operation pattern base of each electrical equipment.
It should be noted that, above-described embodiment does not limit the present invention in any form, the technical scheme that the mode that all employings are equal to replacement or equivalent transformation obtains, and all drops in protection scope of the present invention.
Claims (10)
1. a smart jack control method, is characterized in that, the method comprises:
Voltage/current data in sampling set time window;
Sampled data denoising;
Calculate the characteristic quantity of the data after denoising;
Characteristic quantity in the characteristic quantity and the prefabricated electrical equipment pattern base that obtain carries out fuzzy matching, and acquisition electric operation state, comprising: judge in set time window, whether characteristic quantity exists change; If there is change, then perform fuzzy pattern matching; The immediate pattern of mating from prefabricated electric operation pattern base is shown by display unit.
2. smart jack control method according to claim 1, is characterized in that,
Voltage/current data in sampling set time window comprise: sample to the data in the set time window on socket inlet wire, can comprise sampled voltage and sample rate current, wherein set time window can be specified in advance by system or be specified by user.
3. smart jack control method according to claim 1, is characterized in that: sampled data denoising comprises: utilize Wavelet Transform to carry out Denoising disposal to the data obtained, Wavelet Transform comprises the following steps:
(1), signals and associated noises pre-service and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition; Pre-service judges the integrity degree of Wave data; Choose db small echo as wavelet basis function, and adopt Mallat algorithm to carry out multi-resolution decomposition to db small echo, decomposition level can be chosen according to actual electrical equipment situation;
(2), wavelet decomposition high frequency coefficient threshold process, low frequency signal remains unchanged, high-frequency signal selects appropriate threshold value to carry out quantification treatment, the threshold value form that Threshold selection is fixing, selection of threshold function soft-threshold function (sgn (w) (| w|-λ), | w| > λ), in this function, λ is the threshold value of minimum very big variance, and w is high-frequency signal numerical value;
(3) wavelet inverse transformation, will carry out the wavelet coefficient reconstruct that threshold process crosses, the original signal estimated value after being restored.
4. smart jack control method according to claim 1, is characterized in that: judge that the concrete steps whether characteristic quantity in set time window exists change comprise:
Select the characteristic quantity in set time window, to detect the change of characteristic quantity, namely consider whether formula (1) is set up,
X (k+1)-X (k) > ε formula (1),
In formula (1), the characteristic quantity that X (k) and X (k+1) is adjacent two set time windows, ε is setting threshold values; The characteristic quantity of two adjacent time windows refers to the adjacent periods characteristic quantity of voltage or electric current; The span of ε and set time window can be preset by system or be specified by user; If formula (1) is set up, then represent to there is abnormal data wave band, thus need to mate prefabricated electric operation pattern base, change the display of display module, then continue fuzzy pattern matching step; If formula (1) is false, then there is not abnormal data wave band, prefabricated electric operation pattern base can not be mated, do not change the display of display module, continue the voltage/current data in sampling future time window.
5. smart jack control method according to claim 1, is characterized in that: if there is change, then the step performing fuzzy pattern matching comprises:
Utilize formula (2), the characteristic quantity in the characteristic quantity of expression abnormal data wave band and prefabricated electric operation pattern base carried out fuzzy pattern distance and calculates,
formula (2),
In formula (2), d intermediate scheme distance, x
irepresent the characteristic quantity in prefabricated electric operation pattern base, c
irepresent the characteristic quantity of abnormal data wave band, the span of i is the integer of 1 to n, the number of n representation feature amount;
Minimum pattern distance d formula (2) calculated and the pattern similarity threshold values β of setting compares; The pattern similarity threshold values β of setting is the similar threshold values of pattern distance that custom system provides; If d≤β, then represent the operational mode of abnormal data wave band and be immediate regime mode for the pattern compared in prefabricated electric operation pattern base, then show this immediate regime mode; If d > β, then continue other patterns chosen in prefabricated electrical equipment pattern base and mate, until all patterns of prefabricated electrical equipment pattern base are not all mated, at this moment by communication unit to user's alarm.
6. a smart jack, is characterized in that, this socket comprises:
Sample circuit, samples to the data on socket inlet wire, the voltage/current data in sampling set time window;
Communication unit, receives the instruction to the break-make instruction of socket or timing break-make, and by obtaining prefabricated electric operation pattern base with the communication of external unit;
Storage chip, stores the sampled data of prefabricated electric operation pattern base and sample circuit acquisition and the pattern match result of embedded intelligence treatment circuit chip;
Display module, shows the running status of the access electric equipment determined;
Embedded intelligence treatment circuit chip, comprising:
Control circuit, controls socket inner part;
Break-make control module, the break-make instruction received according to communication unit or the instruction of timing break-make, control the break-make of socket;
Pattern Matching Module, the real-time voltage gathered according to sample circuit and current signal, automatic calculating realtime power, frequency, and carry out fast signal process, the frequency spectrum of analytical calculation voltage, electric current, power, calculate individual features amount, according to the prefabricated electric operation pattern base of characteristic quantity Auto-matching obtained, thus determine the operation conditions of electric equipment.
7. smart jack according to claim 6, is characterized in that: configure smart jack by two kinds of modes: the first, arrange electrical equipment classification by communication unit, thus only stores the prefabricated electric operation pattern base of corresponding electric appliance classification in storage chip; When changing the electrical equipment classification on socket, reset electrical equipment classification by communication unit, fresh warp thread of laying equal stress on is downloaded the prefabricated electric operation pattern base of up-to-date corresponding electric appliance classification by communication unit; The second, allow smart jack by communication module networking operation a period of time, smart jack will identify electrical equipment classification automatically, and automatically download the prefabricated electric operation pattern base of corresponding electric appliance classification via communication module 4.
8. smart jack according to claim 6, is characterized in that: this smart jack also comprises:
Make socket can not produce the overcurrent protection circuit of immediate current when the frequent break-make socket of user, it is connected with executive circuit, exports control signal by executive circuit, controls the on off operating mode of overcurrent protection circuit;
Executive circuit, receives the instruction that embedded intelligence treatment circuit chip sends, and performs the instruction of break-make or timing break-make socket, the break-make of the protection circuit that controls to pass by one's way.
9. smart jack according to claim 6, it is characterized in that: the data in the set time window that Pattern Matching Module utilizes Wavelet Transform to obtain sample circuit carry out Denoising disposal, calculate the characteristic quantity of the data after denoising, obtain characteristic quantity and prefabricated electrical equipment pattern base in characteristic quantity carry out fuzzy matching, obtain electric operation state, comprising: judge in set time window, whether characteristic quantity exists change; If there is change, then perform fuzzy pattern matching; The immediate pattern of mating from prefabricated electric operation pattern base is shown by display unit.
10. smart jack according to claim 9, is characterized in that: to judge in set time window whether characteristic quantity exists change and comprise:
Select the characteristic quantity in set time window, to detect the change of characteristic quantity, namely consider whether formula (1) is set up,
X (k+1)-X (k) > ε formula (1),
In formula (1), the characteristic quantity that X (k) and X (k+1) is adjacent two set time windows, ε is setting threshold values; The characteristic quantity of two adjacent time windows refers to the adjacent periods characteristic quantity of voltage or electric current; The span of ε and set time window can be preset by system or be specified by user; If formula (1) is set up, then represent to there is abnormal data wave band, thus need to mate prefabricated electric operation pattern base, change the display of display module, then continue fuzzy pattern matching step; If formula (1) is false, then there is not abnormal data wave band, prefabricated electric operation pattern base can not be mated, do not change the display of display module, continue the voltage/current data in sampling future time window.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410803274.4A CN104597813B (en) | 2014-12-23 | 2014-12-23 | A kind of smart jack of automatic identification electric operation state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410803274.4A CN104597813B (en) | 2014-12-23 | 2014-12-23 | A kind of smart jack of automatic identification electric operation state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104597813A true CN104597813A (en) | 2015-05-06 |
CN104597813B CN104597813B (en) | 2017-11-03 |
Family
ID=53123676
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410803274.4A Active CN104597813B (en) | 2014-12-23 | 2014-12-23 | A kind of smart jack of automatic identification electric operation state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104597813B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105974223A (en) * | 2016-04-27 | 2016-09-28 | 深圳职业技术学院 | Method used for carrying out on-line detection on electric equipment work state and system thereof |
CN107255788A (en) * | 2017-04-18 | 2017-10-17 | 广东浪潮大数据研究有限公司 | A kind of power supply cut-offs the method for testing, system and smart jack of surge |
CN107750140A (en) * | 2015-05-19 | 2018-03-02 | 生物医药公司 | For the device of radio transition equipment state inside and outside instruction of signaling, the equipment for being especially provided with X-ray tube |
CN108627689A (en) * | 2018-04-03 | 2018-10-09 | 珠海格力电器股份有限公司 | Abnormity prompting method and intelligent socket |
CN109103882A (en) * | 2018-10-30 | 2018-12-28 | 张家口浩扬科技有限公司 | A kind of selection method and its selection system of operational mode |
TWI839213B (en) * | 2023-05-10 | 2024-04-11 | 象量科技股份有限公司 | Intelligent socket device and schedule setting method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1359214A (en) * | 2000-12-13 | 2002-07-17 | Lg电子株式会社 | Device and method for long distance controlling domestic electric appliance |
US20100070214A1 (en) * | 2008-09-18 | 2010-03-18 | Searete Llc, A Limited Liability Corporation Of The State Of Delaware | System and method for identifying appliances by electrical characteristics |
CN101848151A (en) * | 2010-04-27 | 2010-09-29 | 南京乐金熊猫电器有限公司 | Household appliance device diagnosis system and method |
CN103116098A (en) * | 2013-01-25 | 2013-05-22 | 重庆大学 | Household appliance operating state identification method based on cross correlation coefficient |
-
2014
- 2014-12-23 CN CN201410803274.4A patent/CN104597813B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1359214A (en) * | 2000-12-13 | 2002-07-17 | Lg电子株式会社 | Device and method for long distance controlling domestic electric appliance |
US20100070214A1 (en) * | 2008-09-18 | 2010-03-18 | Searete Llc, A Limited Liability Corporation Of The State Of Delaware | System and method for identifying appliances by electrical characteristics |
CN101848151A (en) * | 2010-04-27 | 2010-09-29 | 南京乐金熊猫电器有限公司 | Household appliance device diagnosis system and method |
CN103116098A (en) * | 2013-01-25 | 2013-05-22 | 重庆大学 | Household appliance operating state identification method based on cross correlation coefficient |
Non-Patent Citations (1)
Title |
---|
刘酩: "家用电器状态监测若干关键技术的研究", 《中国优秀硕士学位论文全文数据库(电子期刊) 工程科技Ⅱ辑》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107750140A (en) * | 2015-05-19 | 2018-03-02 | 生物医药公司 | For the device of radio transition equipment state inside and outside instruction of signaling, the equipment for being especially provided with X-ray tube |
CN107750140B (en) * | 2015-05-19 | 2022-01-11 | 生物医药公司 | Device for signalling the status of internal and external radio transmission equipment |
CN105974223A (en) * | 2016-04-27 | 2016-09-28 | 深圳职业技术学院 | Method used for carrying out on-line detection on electric equipment work state and system thereof |
CN105974223B (en) * | 2016-04-27 | 2018-12-07 | 深圳职业技术学院 | A kind of method and system for on-line checking electrical equipment working condition |
CN107255788A (en) * | 2017-04-18 | 2017-10-17 | 广东浪潮大数据研究有限公司 | A kind of power supply cut-offs the method for testing, system and smart jack of surge |
CN108627689A (en) * | 2018-04-03 | 2018-10-09 | 珠海格力电器股份有限公司 | Abnormity prompting method and intelligent socket |
US11374368B2 (en) | 2018-04-03 | 2022-06-28 | Gree Electric Appliances, Inc. Of Zhuhai | Abnormality prompting method and intelligent socket |
CN109103882A (en) * | 2018-10-30 | 2018-12-28 | 张家口浩扬科技有限公司 | A kind of selection method and its selection system of operational mode |
TWI839213B (en) * | 2023-05-10 | 2024-04-11 | 象量科技股份有限公司 | Intelligent socket device and schedule setting method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104597813B (en) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104597813A (en) | Intelligent socket capable of automatically identifying electric appliance running state | |
CN108021736A (en) | A kind of load switching action monitoring method based on sliding window Remanent Model | |
CN108390217A (en) | Attaching plug | |
CN110412347B (en) | Electricity stealing behavior identification method and device based on non-invasive load monitoring | |
CN103792425B (en) | Power measurement system based on wireless network and power-saving method | |
CN105143892A (en) | Power entry point energy measuring apparatus and energy measurement information labeling system using same | |
CN106654739B (en) | A kind of socket and housed device intelligence power-off implementation method of band intelligence power down function | |
WO2012103138A1 (en) | Automatic detection of appliances | |
CN113779751B (en) | Low-voltage HPLC (high performance liquid chromatography) platform area topology identification method and system | |
CN109840691A (en) | Non-intrusion type subitem electricity estimation method based on deep neural network | |
CN111708925A (en) | Intelligent household appliance load identification system and method for residential user | |
CN114184870A (en) | Non-invasive load identification method and equipment | |
CN115792479A (en) | Intelligent power consumption monitoring method and system for intelligent socket | |
CN104215279B (en) | Online environment monitoring system and environment monitoring method | |
CN115980519A (en) | Early warning method and system for potential safety hazard of electric bicycle during charging | |
CN113922361B (en) | Potential safety hazard and fault protection method based on non-invasive distribution and utilization electricity information decomposition | |
CN113281625B (en) | Low-voltage user non-invasive arc fault accurate detection method and system | |
CN106502121A (en) | A kind of intelligent home control system | |
CN113629701A (en) | Power load decomposition method and system based on sequence-to-point model and transfer learning | |
WO2017125605A1 (en) | Method and device for detecting users present in a supply network | |
CN109616997B (en) | Air switch, circuit optimization method and device | |
CN102879636B (en) | Office energy consumption collect and transmit pressure out-of-limit alarming device | |
CN104968121B (en) | A kind of lamp light control method and device learnt automatically | |
CN206807149U (en) | A kind of Electrical Safety control system based on broadband power line carrier | |
CN115563583A (en) | Non-invasive load monitoring method based on multi-physical quantity fusion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Gao Feng Inventor before: Li Fenglan |
|
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20170914 Address after: 215004 26 times garden, hi tech Zone, Jiangsu, Suzhou 201 Applicant after: Gao Feng Address before: 075000 Zhangjiakou City, Hebei province Qiaodong District of Chahar Century Square East three floor B District No. 04 Applicant before: Li Fenglan |
|
GR01 | Patent grant | ||
GR01 | Patent grant |