CN104597813B - A kind of smart jack of automatic identification electric operation state - Google Patents
A kind of smart jack of automatic identification electric operation state Download PDFInfo
- Publication number
- CN104597813B CN104597813B CN201410803274.4A CN201410803274A CN104597813B CN 104597813 B CN104597813 B CN 104597813B CN 201410803274 A CN201410803274 A CN 201410803274A CN 104597813 B CN104597813 B CN 104597813B
- Authority
- CN
- China
- Prior art keywords
- characteristic quantity
- electric operation
- prefabricated
- pattern
- 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.)
- Active
Links
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 a kind of smart jack control method, including:The voltage/current data sampled in set time window;Sampled data denoising;Calculate the characteristic quantity of the data after denoising;The characteristic quantity of acquisition carries out fuzzy matching with the characteristic quantity in prefabricated electrical equipment pattern base, obtains electric operation state, including:Judge that characteristic quantity is with the presence or absence of change in set time window;If there is change, then fuzzy pattern matching is performed;The immediate pattern matched from prefabricated electric operation pattern base is shown by display unit.The present invention accurately recognizes electric operation state by the pattern base pre-established, provides the user electronic means and controls the break-make of socket, and provides overcurrent protection function for frequently break-make.
Description
Technical field
The present invention relates to a kind of socket, it is particularly a kind of can be with the smart jack of automatic identification electrical operation state.
Background technology
With the appearance of the advanced technologies such as smart home, Internet of Things, traditional socket develops in the intelligentized direction of warp-wise.
Although existing intelligent socket is with certain intelligent ability, electricity statistics or passive of the primary limitation on basis is gone back
The function such as control break-make, and without further intelligent functions.Simultaneously in order to reduce the electricity loss of electrical equipment, preferably to
Electricity consumption user shows the running status of electrical equipment in real time, and allows user to pass through the logical of the real-time control apparatus of electronic means
It is disconnected, and offer prevents the excessive circuit protection function of immediate current in frequent on-off circuit.
The content of the invention
To solve the deficiencies in the prior art, it is an object of the invention to provide a kind of intelligence of automatic identification electrical operation state
Can socket.
In order to realize above-mentioned target, the present invention is adopted the following technical scheme that:
A kind of smart jack control method, including:The voltage/current data sampled in set time window;Sampled data is gone
Make an uproar;Calculate the characteristic quantity of the data after denoising;The characteristic quantity of acquisition carries out fuzzy with the characteristic quantity in prefabricated electrical equipment pattern base
Match somebody with somebody, obtain electric operation state, including:Judge that characteristic quantity is with the presence or absence of change in set time window;If there is change, then hold
Row fuzzy pattern matching;The immediate pattern matched from prefabricated electric operation pattern base is shown by display unit
Show.
This method further comprises:Voltage/current data in sampling set time window include:To consolidating on socket inlet wire
The data fixed time in window are sampled, it may include sampled voltage and sample rate current, and wherein set time window can be advance by system
Specify or specified by user.
This method further comprises:Sampled data denoising includes:Denoising is carried out to the data of acquisition using Wavelet Transform
Sonication, Wavelet Transform comprises the following steps:
(1), signals and associated noises pretreatment and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition;Pretreatment
Judge the integrity degree of Wave data;Db small echos are chosen as wavelet basis function, and it is many to the progress of db small echos using Mallat algorithms
Scale Decomposition, decomposition level can be chosen according to actual electrical equipment situation;
(2), wavelet decomposition high frequency coefficient threshold process, low frequency signal keeps constant, and high-frequency signal selection appropriate threshold value enters
Row quantification treatment, the fixed threshold value form of threshold value selection, selection of threshold function soft-threshold function (sgn (w) (| w |-λ), | w | >
λ), in the function, λ is the threshold value of minimum greatly variance, and w is high-frequency signal numerical value;
(3) wavelet inverse transformation, will carry out the wavelet coefficient reconstruct that threshold process is crossed, the primary signal estimation after being restored
Value.
This method further comprises:Judge that characteristic quantity includes with the presence or absence of the specific steps of change in set time window:Choosing
The characteristic quantity in set time window is selected, to detect the change of characteristic quantity, that is, formula is considered(1)Whether set up,
X (k+1)-X (k) > ε formulas (1),
In formula (1), X (k) and the characteristic quantity that X (k+1) is two adjacent set time windows, ε are setting threshold values;It is adjacent
The characteristic quantities of two time windows refer to the adjacent periods characteristic quantity of voltage or electric current;ε span and set time window
It can be preset or be specified by user by system;If formula (1) is set up, then it represents that there is abnormal data wave band, so as to need
With prefabricated electric operation pattern base, the display of display module is changed, then continues fuzzy pattern matching step;If formula (1) not into
It is vertical, then in the absence of abnormal data wave band, prefabricated electric operation pattern base can be mismatched, the display of display module is not changed, is continued
The voltage/current data sampled in future time window.
This method further comprises:If there is change, then the step of performing fuzzy pattern matching includes:
Using formula (2), the characteristic quantity for representing abnormal data wave band is entered with the characteristic quantity in prefabricated electric operation pattern base
Row fuzzy pattern distance is calculated,
Formula (2),
In formula (2), d intermediate scheme distances, xiRepresent the characteristic quantity in prefabricated electric operation pattern base, ciRepresent abnormal
The characteristic quantity of data wave band, i span is 1 to n integer, and n represents the number of characteristic quantity;Formula (2) is calculated most
Small pattern distance d threshold values βs similar to the pattern set is compared;The similar threshold values β of pattern of setting is that custom system is provided
The similar threshold values of pattern distance;If d≤β, then it represents that the operational mode of abnormal data wave band and prefabricated electric operation pattern base
In be used for the regime mode that the pattern that compares is closest to, then show the immediate regime mode;If d > β, continue to select
Other patterns in prefabricated electrical equipment pattern base are taken to be matched, until all patterns of prefabricated electrical equipment pattern base are mismatched, this
When alerted by communication unit to user.
The invention further relates to a kind of smart jack, including:Data on socket inlet wire are sampled, adopted by sample circuit
Voltage/current data in sample set time window;Communication unit, receives the break-make instruction or the instruction of timing break-make to socket,
And prefabricated electric operation pattern base can be obtained by the communication with external equipment;Storage chip, stores prefabricated electric operation pattern
Sampled data and the pattern match result of embedded intelligence process circuit chip that storehouse and sample circuit are obtained;Display module,
Pair running status of access electric equipment determined is shown;Embedded intelligence process circuit chip, including:Control circuit,
Control socket inner part;Break-make control module, the break-make instruction received according to communication unit or timing break-make are instructed, and control socket
Break-make;Pattern Matching Module, the real-time voltage and current signal gathered according to sample circuit calculates realtime power, frequency automatically
Rate, and fast signal processing is carried out, analysis calculates voltage, electric current, the frequency spectrum of power, individual features amount is calculated, according to acquisition
The prefabricated electric operation pattern base of characteristic quantity Auto-matching, so that it is determined that the operation conditions of electric equipment.
Smart jack can be configured by two ways:Firstth, electrical equipment classification is set by communication unit, so that storage chip
In only store corresponding electric appliance classification prefabricated electric operation pattern base;Change socket on electrical equipment classification when, can pass through communication
Unit resets electrical equipment classification, and fresh warp thread of laying equal stress on is downloaded the prefabricated electric operation mould of newest corresponding electric appliance classification by communication unit
Formula storehouse;Secondth, allow smart jack by communication module networking operation for a period of time, smart jack is by automatic identification electric type
Not, and via communication module 4 the prefabricated electric operation pattern base of corresponding electric appliance classification is downloaded automatically.
The smart jack also includes:The electricity excessively that immediate current will not be produced by causing socket in the frequent break-make socket of user is protected
Protection circuit, it is connected with execution circuit, by execution circuit output control signal, controls the on off operating mode of overcurrent protection circuit;Hold
Row circuit, receives the instruction transmitted by embedded intelligence process circuit chip, performs the instruction of break-make or timing break-make socket, control
Make the break-make for protection circuit of passing by one's way.
Wherein, the data in set time window that Pattern Matching Module is obtained using Wavelet Transform to sample circuit are carried out
Denoising disposal, calculates the characteristic quantity of the data after denoising, and the characteristic quantity of acquisition enters with the characteristic quantity in prefabricated electrical equipment pattern base
Row fuzzy matching, obtains electric operation state, including:Judge that characteristic quantity is with the presence or absence of change in set time window;If there is
Change, then perform fuzzy pattern matching;The immediate pattern matched from prefabricated electric operation pattern base is single by showing
Member is shown.
Judge that characteristic quantity includes with the presence or absence of change in set time window:The characteristic quantity in set time window is selected, to examine
The change of characteristic quantity is surveyed, that is, considers formula(1)Whether set up,
X (k+1)-X (k) > ε formulas (1),
In formula (1), X (k) and the characteristic quantity that X (k+1) is two adjacent set time windows, ε are setting threshold values;It is adjacent
The characteristic quantities of two time windows refer to the adjacent periods characteristic quantity of voltage or electric current;ε span and set time window
It can be preset or be specified by user by system;If formula (1) is set up, then it represents that there is abnormal data wave band, so as to need
With prefabricated electric operation pattern base, the display of display module is changed, then continues fuzzy pattern matching step;If formula (1) not into
It is vertical, then in the absence of abnormal data wave band, prefabricated electric operation pattern base can be mismatched, the display of display module is not changed, is continued
The voltage/current data sampled in future time window.
The present invention is advantageous in that:Electric operation state is accurately recognized by the pattern base pre-established, is user
Electronic means are provided and control the break-make of socket, and overcurrent protection function is provided for frequently break-make.
Brief description of the drawings
Fig. 1 is the structure chart of exemplary socket of the invention;
Fig. 2 be exemplary socket of the invention in embedded intelligence process circuit chip internal structural map;
Fig. 3 is the workflow diagram of exemplary socket of the invention;
Fig. 4 sets up process flow diagram flow chart for the exemplary prefabricated electric operation pattern base of the present invention;
Fig. 5 is exemplary fuzzy pattern matching method flow diagram of the invention.
Embodiment
Make specific introduce to the present invention below in conjunction with the drawings and specific embodiments.
Fig. 1 shows the structural representation of example socket of the present invention, and the smart jack includes overcurrent protection circuit 1, adopts
Sampling point road 2, execution circuit 3, communication unit 4, embedded intelligence process circuit chip 5, storage chip 6, display module 7.Below
Each circuit/chip is introduced respectively.
Overcurrent protection circuit 1 is a kind of high control device of security performance, for example, can be controllable silicon or relay, in user
Socket is caused not produce immediate current during frequent break-make socket, it is connected with execution circuit 3, by the output control of execution circuit 3
Signal, the on off operating mode of control overcurrent protection circuit 1.
Sample circuit 2 is sampled to the data on socket inlet wire, it may include voltage sampling circuit and current sampling circuit,
Wherein voltage sampling circuit uses electric resistance partial pressure, is 0-5V voltage division signals by socket inlet wire 220V voltages.Current sample electricity
High current is converted into small voltage signal by road using 0.01 ohm of small resistor.Specially:Voltage/the electricity sampled in set time window
Flow data.Data in set time window on socket inlet wire are sampled, it may include sampled voltage and sample rate current.It is fixed
Time window can be preassigned by system or specified by user.
Execution circuit 3 receives the instruction transmitted by embedded intelligence process circuit chip 5, performs break-make or timing break-make is inserted
The instruction of seat, control is passed by one's way the break-make of protection circuit 1.
Communication unit 4 can be used wireless signal such as WIFI, bluetooth and external device communication, receive the break-make to socket
Instruction or the instruction of timing break-make, and prefabricated electric operation pattern base can be obtained by the communication with external equipment.
Embedded intelligence process circuit chip 5 is the core component of the socket, and it is constructed as shown in Fig. 2 including break-make control
Molding block 501, Pattern Matching Module 502 and control circuit 503.Wherein control circuit 503 control socket in miscellaneous part with
And break-make control module 501, the work of Pattern Matching Module 502;Break-make control module 501 is according to leading to that communication unit 4 is received
Severed finger order control execution circuit 3 implements the break-make to overcurrent protection circuit 1, the timing further received according to communication unit 4
Break-make is instructed, and when reaching the time of timing, control execution circuit 3 implements the break-make to overcurrent protection circuit 1;Pattern match mould
Real-time voltage and current signal that block 502 is gathered according to sample circuit 2, calculate realtime power, frequency, and quickly believed automatically
Number processing, analysis calculate voltage, electric current, the frequency spectrum of power, calculate individual features amount, it is pre- according to the characteristic quantity Auto-matching of acquisition
Electric operation pattern base processed, so that it is determined that the operation conditions of electric equipment, such as shutdown, standby, normal operation, defect operation
Deng, and it is supplied to display module 7 to be shown the operation conditions of acquisition, the specific work process of the Pattern Matching Module 502
For:
The data in set time window that step 1. is obtained using Wavelet Transform to sampled point road carry out Denoising disposal.
Wavelet Transform is mainly included the following steps that:
(1), signals and associated noises pretreatment and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition (low frequency and
High frequency coefficient).Pretreatment judges the integrity degree of Wave data;Choosing db, (English is whole:In Daubechies, text referred to as:db)
Small echo carries out multi-resolution decomposition as wavelet basis function, and using Mallat algorithms to db small echos, and decomposition level can be according to reality
Electrical equipment situation is chosen.
(2), wavelet decomposition high frequency coefficient threshold process.Low frequency signal keeps constant, and high-frequency signal selection appropriate threshold value enters
Row quantification treatment, (it is number to be multiplied by a coefficient N from the threshold value λ for obtaining minimum greatly variance to the fixed threshold value form of threshold value selection
According to length), and selection of threshold function soft-threshold function (sgn (w) (| w |-λ), | w | > λ), in the function, λ is minimum greatly variance
Threshold value, w is high-frequency signal numerical value.
(3) wavelet inverse transformation.The wavelet coefficient reconstruct that threshold process is crossed, the primary signal estimation after being restored will be carried out
Value.
Step 2. calculates characteristic quantity.
The realtime power after denoising, frequency are calculated, and carry out fast signal processing, analysis calculates voltage, electric current, power
Frequency spectrum, calculates individual features amount, characteristic quantity is to reflect the periodically variable average of test waveform or amplitude, or the electricity that user pays close attention to
Can quality index.
Step 3. electric operation state model is matched.
The characteristic quantity of acquisition carries out fuzzy matching with the characteristic quantity in prefabricated electrical equipment pattern base, obtains electric operation state,
Specific steps can be found in Fig. 5, including:
Step 3.1, judge in set time window characteristic quantity with the presence or absence of change.
The characteristic quantity in set time window is selected, to detect the change of characteristic quantity, that is, formula is considered(1)Whether set up,
X (k+1)-X (k) > ε formulas (1),
In formula (1), X (k) and the characteristic quantity that X (k+1) is two adjacent set time windows, ε are setting threshold values.It is adjacent
The characteristic quantities of two time windows refer to the adjacent periods characteristic quantity of voltage or electric current.ε span and set time window
It can be preset or be specified by user by system.
If formula (1) is set up, then it represents that there is abnormal data wave band, so that need to match prefabricated electric operation pattern base,
The display of display module is changed, then continues step 3.2;If formula (1) is invalid, in the absence of abnormal data wave band, can not
With prefabricated electric operation pattern base, the display of display module is not changed, continues the voltage/current number sampled in future time window
According to.
Step 3.2. then performs fuzzy pattern matching if there is change.
Using formula (2), the characteristic quantity for representing abnormal data wave band is entered with the characteristic quantity in prefabricated electric operation pattern base
Row fuzzy pattern distance is calculated,
Formula (2),
In formula (2), d intermediate scheme distances, xiRepresent the characteristic quantity in prefabricated electric operation pattern base, ciRepresent abnormal
The characteristic quantity of data wave band, i span is 1 to n integer, and n represents the number of characteristic quantity.
The minimum pattern distance d that formula (2) is calculated threshold values βs similar to the pattern set is compared.The mould of setting
The similar threshold values β of formula is the similar threshold values of pattern distance that custom system is provided.If d≤β, then it represents that the operation of abnormal data wave band
The regime mode that pattern is closest to the pattern for being used to be compared in prefabricated electric operation pattern base, into step 5;If d >
β, then other patterns for continuing to choose in prefabricated electrical equipment pattern base are matched, until all patterns of prefabricated electrical equipment pattern base are equal
Mismatch, at this moment alerted by communication unit to user.
Storage chip 6 stores sampled data and the embedded intelligence that prefabricated electric operation pattern base and sample circuit are obtained
The pattern match result of process circuit chip 5.Further, in order to save memory capacity, user can be configured by two ways
Smart jack:Firstth, electrical equipment classification is set by communication unit 4, so as to only store the pre- of corresponding electric appliance classification in storage chip 6
Electric operation pattern base processed;Change socket on electrical equipment classification when, electrical equipment classification can be reset by communication unit 4, and
Again the prefabricated electric operation pattern base of newest corresponding electric appliance classification is downloaded via communication unit 4;Secondth, smart jack is allowed
By the networking operation of communication module 4 for a period of time, smart jack is by automatic identification electrical equipment classification, and automatic via communication module 4
Download the prefabricated electric operation pattern base of corresponding electric appliance classification.
The running status of the access electric equipment of 7 pairs of display module determination shows, for example can be by the color of LED
Represent the different conditions of electric operation.
The course of work of the smart jack is described in detail with reference to Fig. 3.
Voltage/current data in step 1. sampling set time window.
Data in set time window on socket inlet wire are sampled, it may include sampled voltage and sample rate current, will
Socket inlet wire 220V voltages are 0-5V voltage division signals, and high current is converted into small voltage letter using 0.01 ohm of small resistor
Number.Set time window can be preassigned by system or specified by user.
Step 2. sampled data denoising.
Denoising disposal is carried out to the data of acquisition using Wavelet Transform.Wavelet Transform is mainly included the following steps that:
(1), signals and associated noises pretreatment and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition (low frequency and
High frequency coefficient).Pretreatment judges the integrity degree of Wave data;Choosing db, (English is whole:In Daubechies, text referred to as:db)
Small echo carries out multi-resolution decomposition as wavelet basis function, and using Mallat algorithms to db small echos, and decomposition level can be according to reality
Electrical equipment situation is chosen.
(2), wavelet decomposition high frequency coefficient threshold process.Low frequency signal keeps constant, and high-frequency signal selection appropriate threshold value enters
Row quantification treatment, (it is number to be multiplied by a coefficient N from the threshold value λ for obtaining minimum greatly variance to the fixed threshold value form of threshold value selection
According to length), and selection of threshold function soft-threshold function (sgn (w) (| w |-λ), | w | > λ), in the function, λ is minimum greatly variance
Threshold value, w is high-frequency signal numerical value.
(3) wavelet inverse transformation.The wavelet coefficient reconstruct that threshold process is crossed, the primary signal estimation after being restored will be carried out
Value.
Step 3. calculates characteristic quantity.
The realtime power after denoising, frequency are calculated, and carry out fast signal processing, analysis calculates voltage, electric current, power
Frequency spectrum, calculates individual features amount, characteristic quantity is to reflect the periodically variable average of test waveform or amplitude, or the electricity that user pays close attention to
Can quality index.
Step 4. electric operation state model is matched.
The characteristic quantity of acquisition carries out fuzzy matching with the characteristic quantity in prefabricated electrical equipment pattern base, obtains electric operation state,
Specific steps can be found in Fig. 5, including:
Step 4.1, judge in set time window characteristic quantity with the presence or absence of change.
The characteristic quantity in set time window is selected, to detect the change of characteristic quantity, that is, formula is considered(1)Whether set up,
X (k+1)-X (k) > ε formulas (1),
In formula (1), X (k) and the characteristic quantity that X (k+1) is two adjacent set time windows, ε are setting threshold values.It is adjacent
The characteristic quantities of two time windows refer to the adjacent periods characteristic quantity of voltage or electric current.ε span and set time window
It can be preset or be specified by user by system.
If formula (1) is set up, then it represents that there is abnormal data wave band, so that need to match prefabricated electric operation pattern base,
The display of display module is changed, then continues step 4.2;If formula (1) is invalid, in the absence of abnormal data wave band, can not
With prefabricated electric operation pattern base, the display of display module is not changed, step 1 is gone to, and continues the electricity sampled in future time window
Pressure/current data.
Step 4.2. then performs fuzzy pattern matching if there is change.
Using formula (2), the characteristic quantity for representing abnormal data wave band is entered with the characteristic quantity in prefabricated electric operation pattern base
Row fuzzy pattern distance is calculated,
Formula (2),
In formula (2), d intermediate scheme distances, xiRepresent the characteristic quantity in prefabricated electric operation pattern base, ciRepresent abnormal
The characteristic quantity of data wave band, i span is 1 to n integer, and n represents the number of characteristic quantity.
The minimum pattern distance d that formula (2) is calculated threshold values βs similar to the pattern set is compared.The mould of setting
The similar threshold values β of formula is the similar threshold values of pattern distance that custom system is provided.If d≤β, then it represents that the operation of abnormal data wave band
The regime mode that pattern is closest to the pattern for being used to be compared in prefabricated electric operation pattern base, into step 5;If d >
β, then other patterns for continuing to choose in prefabricated electrical equipment pattern base are matched, until all patterns of prefabricated electrical equipment pattern base are equal
Mismatch, at this moment alerted by communication unit to user.
Step 5. shows electric operation state.
The immediate pattern matched from prefabricated electric operation pattern base is shown by display unit, including example
The different conditions of electric operation are represented such as by the color of LED.
Fig. 4 sets up process flow diagram flow chart, including following step for the exemplary prefabricated electric operation pattern base of electrical equipment of the invention
Suddenly:
Step 1. setting represents the variable of each electric operation feature.
Setting needs the electric operation characteristic variable obtained, it may include realtime power, frequency, voltage, electric current, the work(of electrical equipment
The frequency spectrum of rate, and various features amount.
The various measured datas that step 2. pair is obtained are sorted out, denoising.
Various measured datas to the electrical equipment of acquisition are classified according to above-mentioned characteristic variable, and these data are carried out
Denoising, Wavelet Transform can be used to carry out Denoising disposal to the variable of acquisition.Wavelet Transform mainly includes following step
Suddenly:
(1), signals and associated noises pretreatment and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition (low frequency and
High frequency coefficient).Pretreatment judges the integrity degree of Wave data;Choosing db, (English is whole:In Daubechies, text referred to as:db)
Small echo carries out multi-resolution decomposition as wavelet basis function, and using Mallat algorithms to db small echos, and decomposition level can be according to reality
Electrical equipment situation is chosen.
(2), wavelet decomposition high frequency coefficient threshold process.Low frequency signal keeps constant, and high-frequency signal selection appropriate threshold value enters
Row quantification treatment, (it is number to be multiplied by a coefficient N from the threshold value λ for obtaining minimum greatly variance to the fixed threshold value form of threshold value selection
According to length), and selection of threshold function soft-threshold function (sgn (w) (| w |-λ), | w | > λ), in the function, λ is minimum greatly variance
Threshold value, w is high-frequency signal numerical value.
(3) wavelet inverse transformation.The wavelet coefficient reconstruct that threshold process is crossed, the primary signal estimation after being restored will be carried out
Value.
Step 3. sets up prefabricated electric operation pattern base.
Characteristic quantity after classification, denoising is stored in pattern base, each prefabricated electric operation pattern base of electrical equipment is formed.
It should be noted that the invention is not limited in any way for above-described embodiment, all use equivalent substitutions or equivalent change
The technical scheme that the mode changed is obtained, all falls within protection scope of the present invention.
Claims (9)
1. a kind of smart jack control method, it is characterised in that this method includes:
The voltage/current data sampled in set time window;
Sampled data denoising;
Calculate the characteristic quantity of the data after denoising;
The characteristic quantity of acquisition carries out fuzzy matching with the characteristic quantity in prefabricated electrical equipment pattern base, obtains electric operation state, including:
Judge that characteristic quantity is with the presence or absence of change in set time window;If there is change, then fuzzy pattern matching is performed;Will be from prefabricated electricity
The immediate pattern matched in device operational mode storehouse is shown by display unit;
Sampled data denoising includes:Denoising disposal is carried out to the data of acquisition using Wavelet Transform, Wavelet Transform includes
Following steps:
(1), signals and associated noises pretreatment and wavelet transformation multi-resolution decomposition, obtain corresponding coefficient of wavelet decomposition;Pretreatment judges
The integrity degree of Wave data;Db small echos are chosen as wavelet basis function, and it is multiple dimensioned to the progress of db small echos using Mallat algorithms
Decompose, decomposition level is chosen according to actual electrical equipment situation;
(2), wavelet decomposition high frequency coefficient threshold process, low frequency signal keeps constant, and high-frequency signal selection appropriate threshold value is measured
Change is handled, the fixed threshold value form of threshold value selection, selection of threshold function soft-threshold function sgn (w) (| w |-λ), | w | > λ, the letter
In number, λ is the threshold value of minimum greatly variance, and w is high-frequency signal numerical value;
(3) wavelet inverse transformation, will carry out the wavelet coefficient reconstruct that threshold process is crossed, the primary signal estimate after being restored.
2. smart jack control method according to claim 1, it is characterised in that
Voltage/current data in sampling set time window include:Data in set time window on socket inlet wire are carried out
Sampling, including sampled voltage and sample rate current, wherein set time window are preassigned by system or specified by user.
3. smart jack control method according to claim 1, it is characterised in that:Judge that characteristic quantity is in set time window
The no specific steps that there is change include:
The characteristic quantity in set time window is selected, to detect the change of characteristic quantity, that is, considers whether formula (1) is set up,
X (k+1)-X (k) > ε formulas (1),
In formula (1), X (k) and the characteristic quantity that X (k+1) is two adjacent set time windows, ε are setting threshold values;Adjacent two
The characteristic quantity of individual time window refers to the adjacent periods characteristic quantity of voltage or electric current;ε span and set time window is by being
System presets or specified by user;If formula (1) is set up, then it represents that there is abnormal data wave band, so as to need matching prefabricated
Electric operation pattern base, changes the display of display module, then continues fuzzy pattern matching step;If formula (1) is invalid, no
There is abnormal data wave band, mismatch prefabricated electric operation pattern base, the display of display module is not changed, continue lower a period of time of sampling
Between voltage/current data in window.
4. smart jack control method according to claim 1, it is characterised in that:If there is change, then perform fuzzy
The step of pattern match, includes:
Using formula (2), the characteristic quantity of abnormal data wave band and the characteristic quantity progress mould in prefabricated electric operation pattern base will be represented
Pattern distance is pasted to calculate,
In formula (2), d intermediate scheme distances, xiRepresent the characteristic quantity in prefabricated electric operation pattern base, ciRepresent abnormal data
The characteristic quantity of wave band, i span is 1 to n integer, and n represents the number of characteristic quantity;
The minimum pattern distance d that formula (2) is calculated threshold values βs similar to the pattern set is compared;The pattern phase of setting
It is the similar threshold values of pattern distance that custom system is provided like threshold values β;If d≤β, then it represents that the operational mode of abnormal data wave band
The regime mode being closest to the pattern for being used to be compared in prefabricated electric operation pattern base, then show the immediate operating mode mould
Formula;If d > β, other patterns for continuing to choose in prefabricated electrical equipment pattern base are matched, until prefabricated electrical equipment pattern base
All patterns are mismatched, and are at this moment alerted by communication unit to user.
5. a kind of smart jack for realizing smart jack control method as claimed in claim 1, it is characterised in that the socket bag
Include:
Data on socket inlet wire are sampled by sample circuit, the voltage/current data in sampling set time window;
Communication unit, receives the break-make instruction or the instruction of timing break-make to socket, and obtain by the communication with external equipment
Prefabricated electric operation pattern base;
Storage chip, stores sampled data and embedded intelligence processing that prefabricated electric operation pattern base and sample circuit are obtained
The pattern match result of circuit chip;
Display module, the running status of pair access electric equipment determined is shown;
Embedded intelligence process circuit chip, including:
Circuit is controlled, socket inner part is controlled;
Break-make control module, the break-make instruction received according to communication unit or timing break-make are instructed, and control the break-make of socket;
Pattern Matching Module, the real-time voltage and current signal gathered according to sample circuit calculates realtime power, frequency automatically,
And fast signal processing is carried out, analysis calculates voltage, electric current, the frequency spectrum of power, individual features amount is calculated, according to the feature of acquisition
The prefabricated electric operation pattern base of Auto-matching is measured, so that it is determined that the operation conditions of electric equipment.
6. smart jack according to claim 5, it is characterised in that:Smart jack is configured by two ways:Firstth, lead to
Cross communication unit and electrical equipment classification is set, so as to only store the prefabricated electric operation pattern base of corresponding electric appliance classification in storage chip;
Change socket on electrical equipment classification when, electrical equipment classification is reset by communication unit, fresh warp thread of laying equal stress on is downloaded by communication unit
The prefabricated electric operation pattern base of newest corresponding electric appliance classification;Secondth, smart jack is allowed to pass through communication unit networking operation
For a period of time, smart jack is by automatic identification electrical equipment classification, and downloads via communication unit the prefabricated of corresponding electric appliance classification automatically
Electric operation pattern base.
7. smart jack according to claim 5, it is characterised in that:The smart jack also includes:
Socket is caused not produce the current foldback circuit of immediate current in the frequent break-make socket of user, it connects with execution circuit
Connect, by execution circuit output control signal, control the on off operating mode of current foldback circuit;
Execution circuit, the instruction transmitted by reception embedded intelligence process circuit chip, execution break-make or timing break-make socket
Instruction, controls the break-make of current foldback circuit.
8. smart jack according to claim 5, it is characterised in that:Pattern Matching Module is using Wavelet Transform to sampling
The data in set time window that circuit is obtained carry out Denoising disposal, calculate the characteristic quantity of the data after denoising, the spy of acquisition
The amount of levying carries out fuzzy matching with the characteristic quantity in prefabricated electrical equipment pattern base, obtains electric operation state, including:Judge the set time
Characteristic quantity is with the presence or absence of change in window;If there is change, then fuzzy pattern matching is performed;Will be from prefabricated electric operation pattern base
The immediate pattern of middle matching is shown by display unit.
9. smart jack according to claim 8, it is characterised in that:Judge that characteristic quantity is with the presence or absence of change in set time window
Change includes:
The characteristic quantity in set time window is selected, to detect the change of characteristic quantity, that is, considers whether formula (1) is set up,
X (k+1)-X (k) > ε formulas (1),
In formula (1), X (k) and the characteristic quantity that X (k+1) is two adjacent set time windows, ε are setting threshold values;Adjacent two
The characteristic quantity of individual time window refers to the adjacent periods characteristic quantity of voltage or electric current;ε span and set time window is by being
System presets or specified by user;If formula (1) is set up, then it represents that there is abnormal data wave band, so as to need matching prefabricated
Electric operation pattern base, changes the display of display module, then continues fuzzy pattern matching step;If formula (1) is invalid, no
There is abnormal data wave band, mismatch prefabricated electric operation pattern base, the display of display module is not changed, continue lower a period of time of sampling
Between voltage/current data in 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 CN104597813A (en) | 2015-05-06 |
CN104597813B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR3036528B1 (en) * | 2015-05-19 | 2017-08-18 | Biomediqa | DEVICE FOR SIGNALING THE STATUS OF AN OPEN FIELD RADIO EMITTING APPARATUS, IN PARTICULAR AN APPARATUS PROVIDED WITH AN X-RAY TUBE |
CN105974223B (en) * | 2016-04-27 | 2018-12-07 | 深圳职业技术学院 | A kind of method and system for on-line checking electrical equipment working condition |
CN107255788B (en) * | 2017-04-18 | 2021-02-02 | 广东浪潮大数据研究有限公司 | Power supply on-off impact test method and system and intelligent socket |
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 (3)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
-
2014
- 2014-12-23 CN CN201410803274.4A patent/CN104597813B/en active Active
Patent Citations (3)
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 |
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 |
---|
家用电器状态监测若干关键技术的研究;刘酩;《中国优秀硕士学位论文全文数据库(电子期刊) 工程科技Ⅱ辑》;20130415;第30-51页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104597813A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104597813B (en) | A kind of smart jack of automatic identification electric operation state | |
CN111753968B (en) | Non-invasive load monitoring intelligent ammeter and electric quantity decomposition method | |
CN109685314B (en) | Non-intrusive load decomposition method and system based on long-term and short-term memory network | |
CN110502105B (en) | Gesture recognition system and method based on CSI phase difference | |
WO2005066868A3 (en) | Sleep and environment control method and system | |
US11002773B2 (en) | Monitoring apparatus, monitoring method, and storage medium | |
CN106909101B (en) | A kind of non-intrusion type household electrical appliance sorter and method | |
CN108390217A (en) | Attaching plug | |
CN104331846B (en) | A kind of electricity stealing multi-source modeling and Cooperative Analysis method | |
CN104618277B (en) | A kind of short-wave OFDM channel estimation methods under arrowband interference | |
CN116582596B (en) | Data processing method and device and PLC data transmission system based on Internet of things | |
CN107481247A (en) | A kind of wisdom agricultural uses picking robot control system and method | |
CN110929563A (en) | Electrical appliance identification method and device | |
CN117278073A (en) | Automatic adjustment method for ultra-wideband antenna signals | |
CN113325741B (en) | Intelligent control system and control method for aquaculture feed feeding machine | |
CN105457164A (en) | Multichannel functional electrical stimulation method and multichannel functional electrical stimulation system in muscle synergy mode | |
CN105974223B (en) | A kind of method and system for on-line checking electrical equipment working condition | |
CN114184870A (en) | Non-invasive load identification method and equipment | |
CN110631064B (en) | Voice recognition method and automatic control method of range hood applying voice recognition method | |
CN106502121B (en) | A kind of intelligent home control system | |
CN104215279B (en) | Online environment monitoring system and environment monitoring method | |
CN106972870A (en) | A kind of antenna tuning circuit, mobile terminal and antenna tuning method | |
CN104352234A (en) | Detection method for peak singular point of physiologic electric signal | |
CN114325257A (en) | Self-adaptive adjustment method and monitoring system for data acquisition of partial discharge sensor of transformer | |
CN115880102A (en) | Electric energy metering method, system, equipment and storage medium |
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 |