CN109343420A - The anti-pinch device of Electric sofa based on electrical curve - Google Patents
The anti-pinch device of Electric sofa based on electrical curve Download PDFInfo
- Publication number
- CN109343420A CN109343420A CN201811355744.XA CN201811355744A CN109343420A CN 109343420 A CN109343420 A CN 109343420A CN 201811355744 A CN201811355744 A CN 201811355744A CN 109343420 A CN109343420 A CN 109343420A
- Authority
- CN
- China
- Prior art keywords
- current
- waveform
- control assembly
- curve
- motor
- 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
- 230000010354 integration Effects 0.000 claims abstract description 28
- 239000000284 extract Substances 0.000 claims abstract description 11
- 238000001914 filtration Methods 0.000 claims description 13
- 230000002159 abnormal effect Effects 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 9
- 230000009467 reduction Effects 0.000 claims description 8
- 230000005611 electricity Effects 0.000 claims description 7
- 230000035772 mutation Effects 0.000 claims description 4
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000005070 sampling Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 239000000523 sample Substances 0.000 description 11
- 238000000034 method Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000006698 induction Effects 0.000 description 5
- 238000009434 installation Methods 0.000 description 4
- 230000032683 aging Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 238000003483 aging Methods 0.000 description 1
- 230000002547 anomalous effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 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
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47C—CHAIRS; SOFAS; BEDS
- A47C17/00—Sofas; Couches; Beds
- A47C17/86—Parts or details specially adapted for beds, sofas or couches not fully covered by any single one of groups A47C17/02 - A47C17/84
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/25—Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Nursing (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
The invention discloses a kind of anti-pinch devices of Electric sofa based on electrical curve, including control assembly and motor.Control assembly obtains the primary current Wave data of the motor of Electric sofa;Control assembly is calculated according to primary current Wave data by electric current, differential current calculates or integration current calculates and extracts current signature current waveform;Control assembly matches current signature current waveform with the current waveform of java standard library according to calculating formula of similarity, and chooses differential current reference waveform and integration current reference waveform;Control assembly is fitted according to local curve and calculates different wave shape value by difference formula to the current waveform and differential current reference waveform and integration current reference waveform of current signature current waveform and java standard library;Wherein, when different wave shape value is greater than threshold value, control assembly sends a warning to motor.The anti-pinch device of Electric sofa proposed by the present invention based on electrical curve effectively realizes the pinch resistant functionality of Electric sofa.
Description
Technical field
The present invention relates to intelligent appliance technical field more particularly to a kind of the anti-of the Electric sofa based on electrical curve clamps
It sets.
Background technique
Current furniture industry intelligence becomes a kind of trend, various Electric sofas, and electric outdoor lounge chair product continues to bring out.And it is electric
Also danger lurked while bringing comfortable for us such as dynamic sofa lounging chair.The equipment such as Electric sofa once clip to human or animal
It will cause very serious injury.However current Electric sofa electric outdoor lounge chair most of in the market etc. does not have pinch resistant functionality.
In the prior art, seen and detected whether object intrusion with the mode of infrared induction.Then anti-pinch is taken to act.This
Kind mode has following disadvantage:
1. false detection rate is higher, infrared induction technical characteristic determines there is certain false detection rate, and the basic nothing of infrared induction
Sofa attachment still invades object when method distinguishes object.And it can not determine to invade whether object is jammed;
2. affected by environment big.The basis of infrared induction technology is infrared inductor sensor.This sensor is illuminated by the light
Influence is very big, and aging itself also has an impact, thus not can guarantee long-term stability;
3. larger to original Electric sofa transformation, installation is complicated.Infrared induction scheme needs installation and debugging sensor probe,
There is larger change to sofa configuration, hence it is evident that increase scheduling and planning difficulty.
Summary of the invention
In view of the above problems, the present invention propose it is a kind of solved based on the anti-pinch device of the Electric sofa of electrical curve it is existing
Electric sofa the bad problem of pinch resistant functionality.
In a first aspect, the present invention proposes a kind of anti-pinch device of Electric sofa based on electrical curve, the anti-pinch device
Including control assembly and motor, the control assembly is electrically connected the motor;
The control assembly obtains the primary current Wave data of the motor of the Electric sofa;
The control assembly is calculated according to the primary current Wave data by electric current, differential current calculates or integral electricity
Stream calculation extracts current signature current waveform;
The control assembly is according to calculating formula of similarity to the current wave of the current signature current waveform and java standard library
Shape is matched, and chooses differential current reference waveform and integration current reference waveform;
The control assembly is fitted the current waveform to the current signature current waveform and java standard library according to local curve
Different wave shape value is calculated by difference formula with the differential current reference waveform and integration current reference waveform;
Wherein, when the different wave shape value is greater than threshold value, the control assembly sends a warning the motor.
Further, the control assembly includes timer, analog-digital converter and direct memory access controller, described anti-
Clamp device obtains the primary current wave by the timer, the analog-digital converter and the direct memory access controller
The primary current Wave data is sent to central controller by the direct memory access controller, wherein institute by graphic data
Stating the received primary current Wave data of central controller includes the data point of the first quantity in the first preset time range
It is interior.
Further, the control assembly executes data flow pretreatment;
The control assembly is filtered noise reduction to the primary current Wave data by fast iterative sequencing method, will be described
The median filtering sampling of second quantity of primary current waveform obtains the median filtering of third quantity after being filtered noise reduction, extracts
The average value of the median filtering of second quantity is significant figure strong point to generate reduction capacity and reduce the original of abnormal burr
Current waveform data;
The control assembly carries out identification and blanking to the wave head of the primary current Wave data, to avoid the motor
The unusual waveforms generated in the second preset time range after starting.
Further, the control assembly calculates dynamics of Electric sofa when movement according to electric current calculating;Institute
State control assembly and calculate according to differential current calculating the mutation of dynamics of Electric sofa when movement;The control assembly
Exception accumulative event of Electric sofa when movement is calculated according to integration current calculating.
Further, the control assembly records the data point of the 4th quantity before the current signature current waveform in
In three preset time ranges;
The control assembly calculates separately each group of current waveform of the current signature current waveform and the java standard library
Between similarity value x, the similarity value x are as follows:
A, b is respectively the current waveform of the current signature current waveform and the java standard library;
The control assembly choose the current signature current waveform with it is immediate in the current waveform of the java standard library
The similarity value is as the differential current reference waveform and the integration current reference waveform.
Further, what the data point that the control assembly obtains the 5th quantity of the current signature current waveform was formed
Standard curve;
The control assembly carries out quadratic fit to the standard curve and obtains fit curve equation formula y:
Y=ax2+bx+c;
The control assembly calculates the data point of the 6th quantity of the fit curve equation formula;
Control assembly different wave shape value x according to the data point calculation of the 6th quantity:
Further, it completes primary complete withdrawal when the Electric sofa to act, and in this complete withdrawal movement
Between without anti-pinch triggering when, which is that the current waveform of the java standard library is added in sample characteristics waveform;
The control assembly determines the integrality of the sample characteristics waveform;
The control assembly is filtered the sample characteristics waveform;
The control assembly calculates and the differential current reference waveform by finding the java standard library and the integral are electric
It fails to be sold at auction and searches immediate standard curve in waveform;
The control assembly is according to the weight computing average value of the standard curve and is overlapped;
The control assembly is filtered the average value of the superimposed standard curve again;
The control assembly updates the java standard library according to the average value of the standard curve after being filtered again
The differential current reference waveform and the integration current reference waveform.
Second aspect, a kind of anti-pinch device of the Electric sofa based on electrical curve, the anti-pinch device includes control group
Part and motor, the control assembly are electrically connected the motor;
The control assembly obtains the primary voltage Wave data of the motor of the Electric sofa;
The control assembly is calculated according to the primary voltage Wave data by voltage, differential voltage calculates or integral electricity
Pressure, which calculates, extracts current signature voltage waveform;
The control assembly is according to calculating formula of similarity to the voltage wave of the current signature voltage waveform and java standard library
Shape is matched, and chooses differential voltage reference waveform and integral voltage reference waveform;
The control assembly is fitted the voltage waveform to the current signature voltage waveform and java standard library according to local curve
Different wave shape value is calculated by difference formula with the differential voltage reference waveform and integral voltage reference waveform;
Wherein, when the different wave shape value is greater than threshold value, the control assembly sends a warning to the motor.
The third aspect, a kind of anti-pinch device of the Electric sofa based on electrical curve, the anti-pinch device includes control group
Part and motor, the control assembly are electrically connected the motor;
The control assembly obtains the original power Wave data of the motor of the Electric sofa;
The control assembly is calculated according to the original power Wave data by power calculation, differential power or integral function
Rate, which calculates, extracts current signature power waveform;
The control assembly is according to calculating formula of similarity to the power waves of the current signature power waveform and java standard library
Shape is matched, and chooses differential power reference waveform and integrated power reference waveform;
The control assembly is fitted the power waveform to the current signature power waveform and java standard library according to local curve
Different wave shape value is calculated by difference formula with the differential power reference waveform and integrated power reference waveform;
Wherein, when the different wave shape value is greater than threshold value, the control assembly sends a warning to the motor.
The present invention passes through a kind of anti-pinch device of Electric sofa based on electrical curve, and control group obtains the electricity of Electric sofa
The primary current Wave data of machine;Control group is calculated according to primary current Wave data by electric current, differential current calculates or product
Divide electric current to calculate and extracts current signature current waveform;Control group is according to calculating formula of similarity to current signature current waveform and mark
The current waveform in quasi- library is matched, and chooses differential current reference waveform and integration current reference waveform;Control group is according to office
Current waveform and differential current reference waveform and integration current mark of portion's curve matching to current signature current waveform and java standard library
Waveform calculates different wave shape value by difference formula;Wherein, when different wave shape value is greater than threshold value, control group sounds an alarm letter
It ceases to motor.The anti-pinch device of Electric sofa proposed by the present invention based on electrical curve effectively realizes the anti-pinch of Electric sofa
Function.
In addition, generating the primary current Wave data for reducing capacity and reducing abnormal burr by fast iterative sequencing method, increase
It is powered on the accuracy of linearity curve.When acting in addition, working as Electric sofa and completing primary complete withdrawal, and being triggered without anti-pinch, this time
Waveform is the current waveform that java standard library is added in sample characteristics waveform, dynamically to update the current waveform of java standard library, increases data more
New flexibility.In addition, above-mentioned computing device is simple, easily realize, be able to satisfy that requirement of real-time is very high to be applied to electrical curve,
Existing system resource can be made full use of, improves Electric sofa anti-pinch efficiency and flexibility, and reduce development cost.
The product installation and debugging of the application are simple.Because the application hardware only increases an electrical property on controller circuit board
Detection circuit (including detection electric current, voltage or power), does not make any modification to sofa body construction.Therefore the noninductive substitution of energy
Traditional controller not will lead to product cost (installation and debugging cost) and obviously increase without generating any influence to production procedure.
The application is affected by environment small, and stability is high.Because the application is detected using current characteristic, only detection is internal electric
The matched mode of throat floater use pattern determines failure, will not be influenced substantially by use environment.And the application has gradual learning machine
System can effectively adapt to the various part agings in product use process.
The application can effectively evade the phenomenon that can't detect.Electric current must when automatic seat clips to object from the principle
Increase.If applying working condition influences that only sensitivity can be reduced without can't detect.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the embodiment of the present invention, therefore should not be seen
Work is the restriction to range of embodiment of the invention.
Fig. 1 is the block diagram of the anti-pinch device of the Electric sofa based on electrical curve of the embodiment of the present invention 1;
Fig. 1 a is the comparison signal of the electric current based on electrical curve, differential current and integration current of the embodiment of the present invention 1
Figure;
Fig. 1 b is the Curve Matching schematic diagram based on electrical curve of the embodiment of the present invention 1;
Fig. 1 c is the block diagram of the anti-pinch device of the Electric sofa based on electrical curve of the embodiment of the present invention 1;
Fig. 2 a is the median filtering and partial enlargement diagram based on electrical curve of the embodiment of the present invention 1;
Fig. 2 b is the wave head schematic diagram based on electrical curve of the embodiment of the present invention 1.
Main element symbol description:
100,100a- anti-pinch device;
101- control assembly;
103- motor;
1011- timer;
1013- analog-digital converter;
1015-DMA controller;
1017- central controller.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiment is only a part of the embodiment of the embodiment of the present invention, instead of all the embodiments.
Therefore, claimed invention reality is not intended to limit to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
The range of example is applied, but is merely representative of the selected embodiment of the embodiment of the present invention.Embodiment based on the embodiment of the present invention, ability
Field technique personnel every other embodiment obtained without making creative work, belongs to implementation of the present invention
The range of example protection.
The embodiment of the present invention is described in detail below with reference to specific embodiment.
Embodiment 1
Fig. 1 and Fig. 1 c is please referred to, Fig. 1 is the anti-pinch device of the Electric sofa based on electrical curve of the embodiment of the present invention 1
The device flow chart of (hereinafter referred to as " anti-pinch device ").Fig. 1 c is the Electric sofa based on electrical curve of the embodiment of the present invention 1
Anti-pinch device block diagram.Anti-pinch device 100 includes control assembly 101 and motor 103.Control assembly 101 is electrically connected electricity
Machine 103.In figure 1 c, control assembly 101 includes timer 1011, analog-digital converter 1013, direct memory access controller
1015 and central controller 1017.Control assembly 101 further includes electrical detection circuit (not shown), and electrical detection circuit can be used for
Detect electric current, voltage or power.
Control assembly 101 obtains the primary current Wave data of the motor 103 of Electric sofa.
Furthermore, it is understood that the motor 103 of Electric sofa obtains Electric sofa when operating rotation, by control assembly 101
The primary current Wave data of motor 103.
In one embodiment, anti-pinch device 100a passes through timer 1011, analog-digital converter (ADC, analog digital
Converter) 1013 and direct memory access (DMA, direct memory access) controller 1015 obtain primary current
Primary current Wave data is sent to central controller 1017 by direct memory access controller 1015 by Wave data, wherein
The received primary current Wave data of central controller 1017 includes the data point of the first quantity in the first preset time range.
For example, the first quantity can be 200, the first preset time range can be 100ms, be deposited using timer 1011 and direct memory
It takes controller 1015 that analog-digital converter 1013 is cooperated to obtain primary current Wave data, central controller 1017 is allowed to be not involved in as far as possible
The process for obtaining primary current Wave data, is effectively reduced the operand of central controller 1017.
Control assembly 101 is calculated according to primary current Wave data by electric current, differential current calculates or integrating galvanometer
It calculates and extracts current signature current waveform.
Control assembly 101 is calculated as calculating dynamics of the motor 103 of Electric sofa when movement according to electric current.Control assembly
101 are calculated as calculating the mutation of dynamics of the motor 103 of Electric sofa when movement according to differential current.Control assembly 101
The accumulative event of exception to calculate the motor 103 of Electric sofa when movement is calculated according to integration current.
Fig. 1 a is please referred to, Fig. 1 a is the electric current based on electrical curve, differential current and the integration current of the embodiment of the present invention 1
Contrast schematic diagram.It is successively the contrast schematic diagram of electric current, differential current and integration current from top to bottom.Curve R is normal electricity
Waveform is flowed, curve B is abnormal current waveform.The application identifies that sofa clips to using the matched mode of current flow signature waveform
Object.I.e. constantly record electric pushrod current value is simultaneously and the normal current comparison of wave shape in java standard library identifies abnormal current, from
And determine whether Electric sofa presss from both sides foreign matter.In Fig. 1 a, it can be concluded that, x-axis generates electric current, differential current and product in 1.4-1.7
Divide the anomalous event of electric current, curve R and curve B are mismatched, it can be seen that current differential value, current value under normal, abnormal conditions
By notable difference, the application sentences as long as can complete anti-pinch as long as stable and accurate these differences of identification with special algorithm in a program
It is fixed, and then anti-pinch measure is taken, for example, anti-pinch measure can suspend motor 103, or reverse motor 103 to enable Electric sofa
Unclamp nipped object.
Control assembly 101 is carried out according to current waveform of the calculating formula of similarity to current signature current waveform and java standard library
Matching, and choose differential current reference waveform and integration current reference waveform.
The data point of the 4th quantity is in third preset time range before the record current signature current waveform of control assembly 101
It is interior.
Control assembly 101 calculates separately similar between current signature current waveform and each group of current waveform of java standard library
Angle value x, similarity value x are as follows:
A, b is respectively the current waveform of current signature current waveform and java standard library;
Control assembly 101 chooses the immediate similarity in the current waveform of current signature current waveform and java standard library
Value is as differential current reference waveform and integration current reference waveform.
Control assembly 101 repeats the above steps selects differential current reference waveform and integration current reference waveform respectively.
In one embodiment, by central controller 1017 according to the current waveform of current signature current waveform and java standard library it
Between similarity matched, and the highest differential current reference waveform of similarity and integration current standard wave in selection standard library
Shape.For example, the 4th quantity can be 200, third preset time range can be 2s.In other words, curve shape matching is main uses
It is whether consistent come the curve tendency of finding out two data segments in the preceding 2s of one-off curve, for being selected from reference waveform group
Take the curve being best suitable for current working curve as a comparison.Wherein, default is chosen if repeatedly selection result is inconsistent
Comparison of wave shape.
Fig. 1 b is please referred to, Fig. 1 b is the Curve Matching schematic diagram based on electrical curve of the embodiment of the present invention 1.In Fig. 1 b
In, be in the a-b section tendency of curve it is almost the same, Curve Matching assesses the similar of two curves using correlation calculations
Property.Assuming that there is the curve of two sections of each n points to seek similarity value x.For example, similarity value asks method also to find out using the mode of sliding iteration
Similarity curve, and compare degree of similarity to determine the most matched correlation curve of current curves.It is calculated when being segmented according to formula n point
Method time complexity O:
O (n)=4n2;
Here n value can be reduced by the way of snap shot, to reduce the calculation amount of central controller 1017.
Control assembly 101 is fitted current waveform and differential to current signature current waveform and java standard library according to local curve
Current standard waveform and integration current reference waveform pass through difference formula calculating different wave shape value.
Control assembly 101 obtains the standard curve that the data point of the 5th quantity of current signature current waveform is formed.
Control assembly 101 carries out quadratic fit to standard curve and obtains fit curve equation formula y:
Y=ax2+bx+c;
The data point of 6th quantity of 101 digital simulation fitting equation of control assembly.
Control assembly 101 is according to the data point calculation different wave shape value x of the 6th quantity:
Control assembly 101, which repeats the above steps, calculates different wave shape value x.
Wherein, when different wave shape value x is greater than threshold value, control assembly 101 sends a warning to motor 103.
In one embodiment, the purpose that curvilinear correlation solves is to find out current signature current waveform and java standard library in real time
Current waveform and differential current reference waveform and integration current reference waveform difference value, be determined as when difference value is excessive different
Ordinary wave shape.For example, the 5th quantity can be 100, the 6th quantity can be 100.The application is according to the every 10ms of current application scene
It calculates the primary data difference value of 100ms recently and judges whether current signature current waveform is abnormal.
Control assembly 101 executes data flow pretreatment.
Control assembly 101 is filtered noise reduction to primary current Wave data by fast iterative sequencing method, by primary current
The median filtering sampling of second quantity of waveform obtains the median filtering of third quantity after being filtered noise reduction, extracts third quantity
The average value of median filtering be significant figure strong point to generate the primary current Wave data for reducing capacity and reducing abnormal burr.
Control assembly 101 carries out identification and blanking to the wave head of primary current Wave data, after starting to avoid motor 103
The unusual waveforms generated in the second preset time range.
In one embodiment, the second quantity can be 20, and third quantity can be 10, and the second preset time range can be
0.2s。
A and Fig. 2 b referring to figure 2., Fig. 2 a are that the median filtering based on electrical curve of the embodiment of the present invention 1 is put with part
Big schematic diagram, Fig. 2 b are the wave head schematic diagrames based on electrical curve of the embodiment of the present invention 1.
In one embodiment, curve G is initial data, and curve R is data after noise reduction, and the application uses 20 median filterings
Sample data is filtered.After using 10 average filters, i.e. 10 point data collection to be averaging after filtering effectively as one
Data point, primarily to reducing data capacity and reducing abnormal burr.In the application, each motor 103 has one when starting
Secondary 103 starting current spike of motor, referred to herein as wave head.Wave head is caused normal phenomenon when motor 103 starts, but its
Feature is consistent with anti-pinch unusual waveforms so the preceding 0.2s nonrecognition for needing actively to avoid the i.e. each electric motor starting of wave head is abnormal.
It completes once complete withdrawal when Electric sofa to act, and this complete withdrawal movement is intermediate without anti-pinch triggering
When, which is the current waveform that java standard library is added in sample characteristics waveform.
The integrality of the judgement sample characteristics waveform of control assembly 101.
Control assembly 101 is filtered sample characteristics waveform.
Control assembly 101 calculates and by looking into the differential current reference waveform of searching java standard library and integration current reference waveform
Look for immediate standard curve.
Control assembly 101 is according to the weight computing average value of standard curve and is overlapped.
Control assembly 101 is filtered the average value of superimposed standard curve again.
Control assembly 101 updates the differential current of java standard library according to the average value of the standard curve after being filtered again
Reference waveform and integration current reference waveform.
In one embodiment, central processing unit 1017 determines waveform integrality using the time, when sofa is completed one by user
It is that sample characteristics waveform is added as a sample in this waveform that secondary complete withdrawal movement and centre are triggered without anti-pinch.In this way
The various characteristics that Electric sofa can be tracked are gradual, and ignore dangerous mutation.Waveform is put one by one by weight superposition and asks weighting
Average.
Preferably, the present invention proposes that a kind of anti-pinch device of Electric sofa based on electrical curve, anti-pinch device include control
Component and motor processed, control assembly are electrically connected motor;
Control assembly obtains the primary voltage Wave data of the motor of Electric sofa;
Control assembly is calculated according to primary voltage Wave data by voltage, differential voltage calculates or integral voltage calculating mentions
Take current signature voltage waveform;
Voltage waveform progress of the control assembly according to calculating formula of similarity to current signature voltage waveform and java standard library
Match, and chooses differential voltage reference waveform and integral voltage reference waveform;
Control assembly is fitted voltage waveform and the differential electricity to current signature voltage waveform and java standard library according to local curve
Reference waveform and integral voltage reference waveform is pressed to calculate different wave shape value by difference formula;
Wherein, when different wave shape value is greater than threshold value, control assembly sends a warning to motor.
Preferably, the present invention proposes that a kind of anti-pinch device of Electric sofa based on electrical curve, anti-pinch device include control
Component and motor processed, control assembly are electrically connected motor;
Control assembly obtains the original power Wave data of the motor of Electric sofa;
Control assembly is calculated according to original power Wave data by power calculation, differential power or integrated power calculating mentions
Take current signature power waveform;
Power waveform progress of the control assembly according to calculating formula of similarity to current signature power waveform and java standard library
Match, and chooses differential power reference waveform and integrated power reference waveform;
Control assembly is fitted power waveform and differential function to current signature power waveform and java standard library according to local curve
Rate reference waveform and integrated power reference waveform pass through difference formula calculating different wave shape value;
Wherein, when different wave shape value is greater than threshold value, control assembly sends a warning to motor.
In embodiment provided herein, it should be understood that disclosed device, it can also be by another way
It realizes.The apparatus embodiments described above are merely exemplary, for example, the flow chart and structure chart in attached drawing show root
According to the device of multiple embodiments of the embodiment of the present invention and architectural framework in the cards, function and the behaviour of computer program product
Make.In this regard, each box in block diagram can represent a part of a program segment or code, described program section or code
A part include one or more executable instructions for implementing the specified logical function.
The above, the only specific embodiment of the embodiment of the present invention, but the protection scope of the embodiment of the present invention is not
It is confined to this, anyone skilled in the art can think easily in the technical scope that the embodiment of the present invention discloses
To change or replacement, should all cover within the protection scope of the embodiment of the present invention.Therefore, the protection scope of the embodiment of the present invention
It shall be subject to the protection scope of the claim.
Claims (9)
1. a kind of anti-pinch device of the Electric sofa based on electrical curve, which is characterized in that the anti-pinch device includes control group
Part and motor, the control assembly are electrically connected the motor;
The control assembly obtains the primary current Wave data of the motor of the Electric sofa;
The control assembly is calculated according to the primary current Wave data by electric current, differential current calculates or integrating galvanometer
It calculates and extracts current signature current waveform;
The control assembly according to calculating formula of similarity to the current waveform of the current signature current waveform and java standard library into
Row matching, and choose differential current reference waveform and integration current reference waveform;
The control assembly is fitted current waveform and institute to the current signature current waveform and java standard library according to local curve
It states differential current reference waveform and integration current reference waveform and different wave shape value is calculated by difference formula;
Wherein, when the different wave shape value is greater than threshold value, the control assembly sends a warning the motor.
2. the anti-pinch device of the Electric sofa according to claim 1 based on current curve, which is characterized in that the control
Component includes timer, analog-digital converter and direct memory access controller, and the anti-pinch device passes through the timer, described
Analog-digital converter and the direct memory access controller obtain the primary current Wave data, by the direct memory access
The primary current Wave data is sent to central controller by controller, wherein the received original of central controller
Beginning current waveform data includes the data point of the first quantity in the first preset time range.
3. the anti-pinch device of the Electric sofa according to claim 1 based on current curve, which is characterized in that the control
Component executes data flow pretreatment;
The control assembly is filtered noise reduction to the primary current Wave data by fast iterative sequencing method, will be described original
The median filtering sampling of second quantity of current waveform, which is filtered after noise reduction, obtains the median filtering of third quantity, described in extraction
The average value of the median filtering of second quantity is significant figure strong point to generate the primary current for reducing capacity and reducing abnormal burr
Wave data;
The control assembly carries out identification and blanking to the wave head of the primary current Wave data, to avoid the electric motor starting
The unusual waveforms generated in the second preset time range afterwards.
4. the anti-pinch device of the Electric sofa according to claim 1 based on current curve, which is characterized in that the control
Component calculates dynamics of Electric sofa when movement according to electric current calculating;The control assembly is calculated according to differential current
To calculate the mutation of dynamics of Electric sofa when movement;The control assembly calculates described according to integration current calculating
Exception accumulative event of Electric sofa when movement.
5. the anti-pinch device of the Electric sofa according to claim 1 based on current curve, which is characterized in that the control
The data point of the 4th quantity is in third preset time range before current signature current waveform described in component record;
The control assembly calculates separately between the current signature current waveform and each group of current waveform of the java standard library
Similarity value x, the similarity value x are as follows:
A, b is respectively the current waveform of the current signature current waveform and the java standard library;
The control assembly is chosen immediate described in the current waveform of the current signature current waveform and the java standard library
Similarity value is as the differential current reference waveform and the integration current reference waveform.
6. the anti-pinch device of the Electric sofa according to claim 1 based on current curve, which is characterized in that the control
Component obtains the standard curve that the data point of the 5th quantity of the current signature current waveform is formed;
The control assembly carries out quadratic fit to the standard curve and obtains fit curve equation formula y:
Y=ax2+bx+c;
The control assembly calculates the data point of the 6th quantity of the fit curve equation formula;
Control assembly different wave shape value x according to the data point calculation of the 6th quantity:
7. the anti-pinch device of the Electric sofa according to claim 1 based on current curve, which is characterized in that when the electricity
Dynamic sofa completes primary complete withdrawal movement, and when triggering among this complete withdrawal movement without anti-pinch, which is
The current waveform of the java standard library is added in sample characteristics waveform;
The control assembly determines the integrality of the sample characteristics waveform;
The control assembly is filtered the sample characteristics waveform;
The control assembly calculates and the differential current reference waveform and the integration current mark by finding the java standard library
Immediate standard curve is searched in waveform;
The control assembly is according to the weight computing average value of the standard curve and is overlapped;
The control assembly is filtered the average value of the superimposed standard curve again;
The control assembly updates the institute of the java standard library according to the average value of the standard curve after being filtered again
State differential current reference waveform and the integration current reference waveform.
8. a kind of anti-pinch device of the Electric sofa based on electrical curve, which is characterized in that the anti-pinch device includes control group
Part and motor, the control assembly are electrically connected the motor;
The control assembly obtains the primary voltage Wave data of the motor of the Electric sofa;
The control assembly is calculated according to the primary voltage Wave data by voltage, differential voltage calculates or integral voltage meter
It calculates and extracts current signature voltage waveform;
The control assembly according to calculating formula of similarity to the voltage waveform of the current signature voltage waveform and java standard library into
Row matching, and choose differential voltage reference waveform and integral voltage reference waveform;
The control assembly is fitted voltage waveform and institute to the current signature voltage waveform and java standard library according to local curve
It states differential voltage reference waveform and integral voltage reference waveform and different wave shape value is calculated by difference formula;
Wherein, when the different wave shape value is greater than threshold value, the control assembly sends a warning to the motor.
9. a kind of anti-pinch device of the Electric sofa based on electrical curve, which is characterized in that the anti-pinch device includes control group
Part and motor, the control assembly are electrically connected the motor;
The control assembly obtains the original power Wave data of the motor of the Electric sofa;
The control assembly passes through power calculation, differential power calculating or integrated power meter according to the original power Wave data
It calculates and extracts current signature power waveform;
The control assembly according to calculating formula of similarity to the power waveform of the current signature power waveform and java standard library into
Row matching, and choose differential power reference waveform and integrated power reference waveform;
The control assembly is fitted power waveform and institute to the current signature power waveform and java standard library according to local curve
It states differential power reference waveform and integrated power reference waveform and different wave shape value is calculated by difference formula;
Wherein, when the different wave shape value is greater than threshold value, the control assembly sends a warning to the motor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811355744.XA CN109343420B (en) | 2018-11-14 | 2018-11-14 | Anti-pinch device of electric sofa based on electrical property curve |
PCT/CN2019/078452 WO2020098192A1 (en) | 2018-11-14 | 2019-03-18 | Electrical curve-based anti-pinching method for electric sofa |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811355744.XA CN109343420B (en) | 2018-11-14 | 2018-11-14 | Anti-pinch device of electric sofa based on electrical property curve |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109343420A true CN109343420A (en) | 2019-02-15 |
CN109343420B CN109343420B (en) | 2020-10-27 |
Family
ID=65315371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811355744.XA Active CN109343420B (en) | 2018-11-14 | 2018-11-14 | Anti-pinch device of electric sofa based on electrical property curve |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109343420B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020098192A1 (en) * | 2018-11-14 | 2020-05-22 | 刘盛荣 | Electrical curve-based anti-pinching method for electric sofa |
WO2020168886A1 (en) * | 2019-02-22 | 2020-08-27 | 深圳市道通智能航空技术有限公司 | Overcurrent protection method, device, and system, and unmanned aerial vehicle |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4411733A1 (en) * | 1993-04-05 | 1994-11-03 | Motorola Inc | Radio frequency signal detection circuit controlled by a temperature coefficient |
CN101215947A (en) * | 2007-01-04 | 2008-07-09 | 敦扬科技股份有限公司 | Anti-pinch method for vehicle opening and closing body |
CN102418449A (en) * | 2011-12-27 | 2012-04-18 | 昌辉汽车电气系统(安徽)有限公司 | Anti-pinch control method of electric window capable of automatically correcting in use process |
KR20130046949A (en) * | 2011-10-28 | 2013-05-08 | 주식회사 현대케피코 | Methods of controlling anti pinch system and appratuses using the same |
CN205554097U (en) * | 2016-02-16 | 2016-09-07 | 江苏浩昱驰汽车电子有限公司 | Prevent pressing from both sides sunroof controller |
CN105971436A (en) * | 2016-07-26 | 2016-09-28 | 深圳市金证卡尔电子有限公司 | Car window ripple wave multiway anti-pinching control module and method |
CN106992413A (en) * | 2017-05-22 | 2017-07-28 | 深圳市易控迪智能家居科技有限公司 | A kind of Electric sofa controlling switch and Electric sofa |
CN107165529A (en) * | 2017-07-25 | 2017-09-15 | 江苏浩昱驰汽车电子有限公司 | A kind of new-energy automobile power sunroof control device |
-
2018
- 2018-11-14 CN CN201811355744.XA patent/CN109343420B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4411733A1 (en) * | 1993-04-05 | 1994-11-03 | Motorola Inc | Radio frequency signal detection circuit controlled by a temperature coefficient |
CN101215947A (en) * | 2007-01-04 | 2008-07-09 | 敦扬科技股份有限公司 | Anti-pinch method for vehicle opening and closing body |
KR20130046949A (en) * | 2011-10-28 | 2013-05-08 | 주식회사 현대케피코 | Methods of controlling anti pinch system and appratuses using the same |
CN102418449A (en) * | 2011-12-27 | 2012-04-18 | 昌辉汽车电气系统(安徽)有限公司 | Anti-pinch control method of electric window capable of automatically correcting in use process |
CN205554097U (en) * | 2016-02-16 | 2016-09-07 | 江苏浩昱驰汽车电子有限公司 | Prevent pressing from both sides sunroof controller |
CN105971436A (en) * | 2016-07-26 | 2016-09-28 | 深圳市金证卡尔电子有限公司 | Car window ripple wave multiway anti-pinching control module and method |
CN106992413A (en) * | 2017-05-22 | 2017-07-28 | 深圳市易控迪智能家居科技有限公司 | A kind of Electric sofa controlling switch and Electric sofa |
CN107165529A (en) * | 2017-07-25 | 2017-09-15 | 江苏浩昱驰汽车电子有限公司 | A kind of new-energy automobile power sunroof control device |
Non-Patent Citations (2)
Title |
---|
刘建国 等: "基于高斯滤波和近似积分的电动车窗防夹算法", 《汽车工程》 * |
许师中: ""基于电流纹波纯硬件波形转化的车窗防夹设计"", 《厦门理工学院学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020098192A1 (en) * | 2018-11-14 | 2020-05-22 | 刘盛荣 | Electrical curve-based anti-pinching method for electric sofa |
WO2020168886A1 (en) * | 2019-02-22 | 2020-08-27 | 深圳市道通智能航空技术有限公司 | Overcurrent protection method, device, and system, and unmanned aerial vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN109343420B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109240182A (en) | The anti-clamping method of Electric sofa based on electrical curve | |
CN101449973B (en) | Judgment index generation method and device for cardiac interference signal identification | |
CN109700450B (en) | Heart rate detection method and electronic equipment | |
Zhang et al. | VLSI friendly ECG QRS complex detector for body sensor networks | |
CN109318207A (en) | A system and method for lower extremity exercise preparation potential detection using electromyography timing | |
CN109343420A (en) | The anti-pinch device of Electric sofa based on electrical curve | |
US20120242619A1 (en) | Method and device for high-sensitivity multi point detection and use thereof in interaction through air, vapour or blown air masses | |
CN106874872B (en) | Power frequency noise filtering device and method | |
EP2711731A2 (en) | Method for detecting an object using ultrasonic waves and detection device for an object using the same | |
CN106470601A (en) | System and method for determining and show sleep recovery level | |
EP2715376A1 (en) | Transition detection method for automatic-setup non-intrusive appliance load monitoring | |
CN109034060B (en) | Wearing state detection method and device | |
CN109820501A (en) | A kind of recognition methods of R wave of electrocardiosignal, device, computer equipment | |
CN203455812U (en) | Touch sensor | |
CN106772069B (en) | Method and device for detecting battery short circuit | |
CN109582126A (en) | Input interface device, control method and non-transitory computer readable medium | |
CN109009087A (en) | A kind of rapid detection method of R wave of electrocardiosignal | |
Sun et al. | Variance-wise segmentation for a temporal-adaptive SAX | |
CN117064349B (en) | Gesture control method and system for linkage of millimeter wave radar and intelligent bed | |
CN206893075U (en) | A kind of incorrect sitting-pose monitor | |
KR20230081154A (en) | Data processing apparatus for detecting heart rate interval and operating method of the same | |
KR20240035017A (en) | Apparatus and method of measuring heart rate | |
CN108594035A (en) | A kind of load testing method and system | |
Varrecchia et al. | Muscle activity detection in pathological, weak and noisy myoelectric signals | |
WO2020098192A1 (en) | Electrical curve-based anti-pinching method for electric sofa |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |