CN107425839A - The triggering method of testing and system of a kind of product containing capacitance sensor - Google Patents

The triggering method of testing and system of a kind of product containing capacitance sensor Download PDF

Info

Publication number
CN107425839A
CN107425839A CN201710632264.2A CN201710632264A CN107425839A CN 107425839 A CN107425839 A CN 107425839A CN 201710632264 A CN201710632264 A CN 201710632264A CN 107425839 A CN107425839 A CN 107425839A
Authority
CN
China
Prior art keywords
product
capacitance
electric capacity
triggering
value
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
Application number
CN201710632264.2A
Other languages
Chinese (zh)
Other versions
CN107425839B (en
Inventor
贾小月
全新妍
李飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kostal Huayang Automotive Electric Co Ltd
Kostal Shanghai Management Co Ltd
Original Assignee
Shanghai Kostal Huayang Automotive Electric Co Ltd
Kostal Shanghai Management Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Kostal Huayang Automotive Electric Co Ltd, Kostal Shanghai Management Co Ltd filed Critical Shanghai Kostal Huayang Automotive Electric Co Ltd
Priority to CN201710632264.2A priority Critical patent/CN107425839B/en
Publication of CN107425839A publication Critical patent/CN107425839A/en
Application granted granted Critical
Publication of CN107425839B publication Critical patent/CN107425839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches

Abstract

This application discloses a kind of triggering method of testing of product containing capacitance sensor and system, wherein, method includes:Obtain by the first capacitance formed after die pressing product;Obtain the second capacitance formed after release product;The electric capacity calibration value of product is worth to according to the first capacitance and the second electric capacity;Capacitance deviation value is obtained according to the electric capacity threshold values of electric capacity calibration value and product;Using capacitance deviation value as in the triggering algorithm of capacitance compensation value write-in product, triggering algorithm is compensated.This triggering method of testing compensates both differences as offset into triggering algorithm by being demarcated to each product, and according to the result of demarcation compared with the electric capacity threshold values that bulk article shares, is compensated triggering algorithm.Product can carry out new triggering according to compensation triggering algorithm and judge, correctly can trigger and prevent false triggering, improve the accuracy of product identification user's trigger action when carrying out trigger action.

Description

The triggering method of testing and system of a kind of product containing capacitance sensor
Technical field
It is more particularly to a kind of containing capacitance sensor the present invention relates to the calibration compensation technical field of measurement and test of capacitance sensor The triggering method of testing of product.Further relate to a kind of triggering test system based on the triggering method of testing.
Background technology
Product containing capacitance sensor, such as capacitive induction soft-touch control, compared with tradition machinery formula switchs, condenser type sense Answer soft-touch control not need direct body contact's metal, can thoroughly eliminate safe hidden trouble, can also be used even if with gloves, and And do not influenceed by dry weather humidity human body resistance change etc., use is more convenient.The capacitive touch of capacitive induction soft-touch control Touching sensor can be placed into behind any insulating barrier (be usually glass or plastic material), it is easy to be made and surrounding environment The mutually keyboard of sealing.
The trigger action of product containing capacitance sensor is typically the induction region of finger touching product, passes through pressing and pine Two capacitances of induction region are obtained after opening, if the difference of two capacitances has exceeded the electric capacity threshold values of induction region, Product triggers successfully, for capacitive induction soft-touch control, if the difference of two capacitances after pressing and becoming less severe surpasses The electric capacity threshold values of switch is crossed, then capacitive induction soft-touch control can be turned on and off.
But for the product containing capacitance sensor with same capacitance threshold values of batch production, wherein there is indivedual productions The capacitive differential that the trigger action of product obtains can not reach electric capacity threshold values, cause product to trigger success, it is impossible to correct identification The trigger action of user;Or the accuracy and sensitivity of individual product is higher, the capacitive differential that trigger action obtains substantially exceeds Electric capacity threshold values, causes product easily to be disturbed by external environment, causes false triggering, equally can not correctly identify the triggering of user Operation.
In summary, how to solve the problems, such as the trigger action that the product containing capacitance sensor can not correctly identify user, Become the urgent problem to be solved of those skilled in the art.
The content of the invention
In view of this, it is an object of the invention to provide a kind of triggering method of testing of the product containing capacitance sensor, with Improve the accuracy of product identification user's trigger action.
It is another object of the present invention to provide a kind of triggering test system based on the triggering method of testing, to improve The accuracy of product identification user's trigger action.
To reach above-mentioned purpose, the present invention provides following technical scheme:
A kind of triggering method of testing of the product containing capacitance sensor, including:
S100, obtain the first capacitance for pressing and being formed after the product;
S200, obtain the second capacitance for discharging and being formed after the product;
S300, the electric capacity calibration value for being worth to according to first capacitance and second electric capacity product;
S400, capacitance deviation value obtained according to the electric capacity threshold values of the electric capacity calibration value and the product;
S500, write in the triggering algorithm of the product using the capacitance deviation value as capacitance compensation value, be compensated Trigger algorithm.
Preferably, in above-mentioned triggering method of testing, the step S300 is specially:Second capacitance subtracts institute The first capacitance is stated, obtains the electric capacity calibration value.
Preferably, in above-mentioned triggering method of testing, the step S400 is specially:The electric capacity threshold values subtracts described Electric capacity calibration value, obtain the capacitance deviation value.
Preferably, in above-mentioned triggering method of testing, the triggering algorithm in the step S500 is:
Discharge the release capacitance formed after the product and subtract the pressing capacitance for pressing and being formed after the product, obtain Capacitance threshold value;
Compare the capacitance threshold value and the size of the electric capacity threshold values, if the capacitance threshold value is more than or equal to the electricity Hold threshold values, then product triggers successfully, if the capacitance threshold value is less than the electric capacity threshold values, product triggering is unsuccessful.
Preferably, in above-mentioned triggering method of testing, the compensation triggering algorithm in the step S500 is:
Discharge the release capacitance formed after the product and subtract the pressing capacitance for pressing and being formed after the product, obtain Capacitance threshold value;
The capacitance compensation value and the capacitance threshold value are subjected to addition or subtraction process, obtain correcting capacitance threshold value;
Compare the amendment capacitance threshold value and the size of the electric capacity threshold values, if the amendment capacitance threshold value is more than or waited In the electric capacity threshold values, then product triggers successfully, if the amendment capacitance threshold value is less than the electric capacity threshold values, product triggering It is unsuccessful.
Preferably, in above-mentioned triggering method of testing, the pressing product in the step S100 is especially by gold Belong to artificial finger and press the product.
Preferably, in above-mentioned triggering method of testing, the metal artificial finger is driven by robot arm and carried out Pressing and release operation, the step S100 are specially:
S101, pressing instruction is sent to the robot arm, control the robot arm to drive the metal emulation Finger presses the product;
S102, obtain first capacitance formed after pressing that the product is sent;
The step S200 is specially:
S201, send and release order to the robot arm, control the robot arm to drive the metal emulation Finger discharges from the product;
S202, obtain second capacitance formed after the product is released.
The embodiment of the present invention additionally provides a kind of triggering test system of the product containing capacitance sensor, including:
Processor, the first capacitance formed after the product is pressed for obtaining, obtains and is formed after discharging the product The second capacitance, the electric capacity calibration value of the product is worth to according to first capacitance and second electric capacity, according to The electric capacity threshold values of the electric capacity calibration value and the product obtains capacitance deviation value, using the capacitance deviation value as capacitance compensation Value is write in the triggering algorithm of the product, is compensated triggering algorithm;
Communication module, the processor are connected by the communication module and product communication;
Test fixture, for fixing the product.
Preferably, in above-mentioned triggering test system, in addition to metal artificial finger, for pressing the product.
Preferably, in above-mentioned triggering test system, in addition to robot arm, the metal artificial finger are connected to On the robot arm, the robot arm is connected with the processor, and the processor is additionally operable to the robot Arm sends pressing instruction, controls the robot arm to drive the metal artificial finger to press the product, to the machine Device human arm sends and released order, and controls the robot arm to drive the metal artificial finger to be discharged from the product.
Compared with prior art, the beneficial effects of the invention are as follows:
In the triggering method of testing of product provided by the invention containing capacitance sensor, obtain by formed after die pressing product The second capacitance formed after one capacitance and release product, the electric capacity of product is worth to according to the first capacitance and the second electric capacity Calibration value, capacitance deviation value is obtained according to the electric capacity threshold values of electric capacity calibration value and product, using capacitance deviation value as capacitance compensation In the triggering algorithm of value write-in product, triggering algorithm is compensated.The triggering method of testing of the present invention to each product by entering Rower is determined, and according to the result of demarcation compared with the electric capacity threshold values that bulk article shares, using both differences as offset Compensate in triggering algorithm, be compensated triggering algorithm, so as to which the product is when carrying out trigger action, can be triggered according to compensation Algorithm carries out new triggering and judged, does not reach trigger condition for normal operating before, can correctly trigger, for clever before The higher product of sensitivity, can prevent false triggering, so as to improve the accuracy of product identification user's trigger action.
The triggering test system for the product containing capacitance sensor that one embodiment of the invention provides, based on touching in the present invention Method of testing is sent out, the triggering test system is demarcated to each product, and is shared according to the result and bulk article of demarcation Electric capacity threshold values compare, using both differences as offset compensate to triggering algorithm in, be compensated triggering algorithm, so as to should Product can carry out new triggering according to compensation triggering algorithm and judge, be reached for normal operating before when carrying out trigger action It less than trigger condition, can correctly trigger, for product in higher sensitivity before, false triggering can be prevented, so as to improve The accuracy of product identification user's trigger action.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of schematic diagram of the triggering test system of the product containing capacitance sensor provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the triggering method of testing of the product containing capacitance sensor provided in an embodiment of the present invention;
Fig. 3 is a kind of step S100 of the triggering method of testing of the product containing capacitance sensor provided in an embodiment of the present invention Flow chart;
Fig. 4 is a kind of step S200 of the triggering method of testing of the product containing capacitance sensor provided in an embodiment of the present invention Flow chart.
Wherein, 1 be test fixture, 2 be metal artificial finger, 3 be robot arm, 4 be processor, 5 be communication module, 6 be product.
Embodiment
The core of the present invention there is provided a kind of triggering method of testing of the product containing capacitance sensor, improve product knowledge The accuracy of other user's trigger action.
Present invention also offers a kind of triggering test system based on the triggering method of testing, product identification user is improved The accuracy of trigger action.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Fig. 2 is refer to, the embodiments of the invention provide a kind of triggering method of testing of the product containing capacitance sensor, below Referred to as triggering method of testing, comprises the following steps:
Step S100, obtain by the first capacitance formed after die pressing product 6, press the sense of the product 6 containing capacitance sensor Region is answered, a capacitance can be formed.
Step S200, the second capacitance formed after release product 6, i.e., when no longer pressing die pressing product 6, the sense of product 6 are obtained Region is answered to form another capacitance.
Step S300, the electric capacity calibration value of product 6 is worth to according to the first capacitance and the second electric capacity, electric capacity calibration value is For the difference between the first capacitance and the second capacitance.
Step S400, capacitance deviation value is obtained according to the electric capacity threshold values of electric capacity calibration value and product 6.Electric capacity threshold values is product Successful capacitance is triggered, is an average reference value being worth to according to the demarcation of multiple electric capacity of bulk article;Each product 6 Electric capacity calibration value it is different, therefore, deviation be present between the electric capacity calibration value and electric capacity threshold values of each product 6, this deviation is just It is capacitance deviation value.
Step S500, write using capacitance deviation value as capacitance compensation value in the triggering algorithm of product 6, be compensated triggering Algorithm.
Triggering algorithm is a set of identical algorithm that each product 6 follows when carrying out trigger action, and the triggering of product 6 is grasped Make to judge whether to trigger successfully according to triggering algorithm.But for individual product 6, in correct trigger action, touched according to same Hair algorithm can not trigger success.Or individual product 6 is excessively sensitive and accurate, by external environmental interference, also according to same Triggering algorithm causes false triggering success, and these are all because product 6 has capacitance deviation value.
Therefore the triggering method of testing of the present invention is to each product 6 by demarcating, and according to the result of demarcation with batch The electric capacity threshold values that volume production product 6 share compares, and is compensated both differences as offset into triggering algorithm, obtains new benefit Triggering algorithm is repaid, when carrying out trigger action again so as to the product, new triggering can be carried out according to compensation triggering algorithm and judged, Do not reach trigger condition for the operation of triggered as normal before, can correctly trigger, for product 6 in higher sensitivity before, False triggering can be prevented, so as to improve the accuracy of product identification user's trigger action.
In the present embodiment, step S300 is optimized, in step S300 according to the first capacitance and the second electric capacity The electric capacity calibration value of product 6 is worth to, is specially:Second capacitance subtracts the first capacitance, obtains electric capacity calibration value.Generally Ground, the first capacitance formed by die pressing product 6 are less than the second capacitance that release product 6 is formed, then the electric capacity calibration value obtained For on the occasion of.It is of course also possible to which the first capacitance is subtracted into the second capacitance, then the electric capacity calibration value obtained is negative value, is taken definitely Follow-up judgement is can be equally used for after value.
In the present embodiment, step S400 is optimized, in step S400 according to electric capacity calibration value and the electricity of product 6 Hold threshold values and obtain capacitance deviation value, be specially:Electric capacity threshold values subtracts electric capacity calibration value, obtains capacitance deviation value.When electric capacity is demarcated When value is less than electric capacity threshold values, it is meant that correct trigger action can not reach triggering and successfully require that then electric capacity calibration value is less than normal, Obtained capacitance deviation value is negative value.When electric capacity calibration value is more than electric capacity threshold values and exceedes certain limit, it is meant that product 6 Capacitance sensor is excessively sensitive and accurate, easily causes false triggering, then electric capacity calibration value is bigger than normal, and obtained capacitance deviation value is just Value.These situations are required for carrying out capacitance compensation.It is, of course, also possible to which electric capacity calibration value is subtracted into electric capacity threshold values, it is inclined to obtain electric capacity Difference, then the capacitance deviation value obtained by electric capacity calibration value less than normal is on the occasion of the electric capacity obtained by electric capacity calibration value bigger than normal Deviation is negative value, can be equally used for follow-up write-in compensation, and the algorithm simply compensated is different.
Present embodiments provide a kind of specific triggering algorithm, i.e. triggering algorithm in step S500 is:
The release capacitance formed after release product 6 is subtracted by the pressing capacitance formed after die pressing product 6, obtains electric capacity threshold Value, capacitance threshold value be a difference, and be on the occasion of;
Compare capacitance threshold value and the size of electric capacity threshold values, if capacitance threshold value is more than or equal to electric capacity threshold values, product touches Send out successfully, if capacitance threshold value is less than electric capacity threshold values, product triggering is unsuccessful.
It can be seen that according to original triggering algorithm, the product 6 of trigger condition can not be reached for correct trigger action, can be gone out Existing product 6 can not be triggered correctly, and capacitance threshold value is relatively low.For product 6 in higher sensitivity, easily by external environmental interference, Cause false triggering, capacitance threshold value is higher.
Certainly, algorithm is triggered in addition to using above-mentioned algorithm, and the present embodiment additionally provides another triggering algorithm, specifically For:
Pressing capacitance by being formed after die pressing product 6 subtracts the release capacitance formed after release product 6, obtains electric capacity threshold Value, takes absolute value to capacitance threshold value, obtains absolute capacitance threshold value, wherein, capacitance threshold value is a difference, and is negative value, then absolutely To capacitance threshold value be on the occasion of;
Compare absolute capacitance threshold value and the size of electric capacity threshold values, if absolute capacitance threshold value is more than or equal to electric capacity threshold values, Then product triggers successfully, if absolute capacitance threshold value is less than electric capacity threshold values, product triggering is unsuccessful.
For the first above-mentioned triggering algorithm, writing capacitance deviation value as capacitance compensation value in step S500 is triggered In algorithm, obtained compensation triggering algorithm is specially:
The release capacitance formed after release product 6 is subtracted by the pressing capacitance formed after die pressing product 6, obtains electric capacity threshold Value.
Capacitance compensation value and capacitance threshold value are subjected to addition or subtraction process, obtain correcting capacitance threshold value;Specifically, electricity is worked as Hold offset (i.e. capacitance deviation value) by electric capacity threshold values subtract electric capacity demarcation be worth to when, then amendment capacitance threshold value by capacitance threshold value It is worth to plus capacitance compensation;When capacitance compensation value (i.e. capacitance deviation value) subtracts electric capacity threshold values by electric capacity calibration value to be obtained, Then amendment capacitance threshold value subtracts capacitance compensation by capacitance threshold value and is worth to.
Compare amendment capacitance threshold value and the size of electric capacity threshold values, if amendment capacitance threshold value is more than or equal to electric capacity threshold values, Then product triggers successfully, if amendment capacitance threshold value is less than electric capacity threshold values, product triggering is unsuccessful.
It can be seen that by being compensated to original triggering algorithm, new amendment capacitance threshold value is obtained, by electric capacity threshold less than normal Value adds capacitance compensation value, so that correctly trigger action meets to trigger successful condition;Electric capacity threshold values bigger than normal is subtracted Capacitance compensation value, so that false triggering operation can not meet to trigger successful condition, avoid false triggering success.New triggering is calculated Method improves the accuracy of product identification trigger action.
For above-mentioned second triggering algorithm, writing capacitance deviation value as capacitance compensation value in step S500 is triggered In algorithm, second of compensation triggering algorithm is obtained, is specially:
Pressing capacitance by being formed after die pressing product 6 subtracts the release capacitance formed after release product 6, obtains electric capacity threshold Value, takes absolute value to capacitance threshold value, obtains absolute capacitance threshold value.
Capacitance compensation value and absolute capacitance threshold value are subjected to addition or subtraction process, obtain correcting capacitance threshold value;Specifically, When capacitance compensation value (i.e. capacitance deviation value) subtracts electric capacity demarcation by electric capacity threshold values to be worth to, then capacitance threshold value is corrected by absolute Capacitance threshold value is worth to plus capacitance compensation;When capacitance compensation value (i.e. capacitance deviation value) subtracts electric capacity threshold values by electric capacity calibration value When obtaining, then amendment capacitance threshold value subtracts capacitance compensation by absolute capacitance threshold value and is worth to.
Compare amendment capacitance threshold value and the size of electric capacity threshold values, if amendment capacitance threshold value is more than or equal to electric capacity threshold values, Then product triggers successfully, if amendment capacitance threshold value is less than electric capacity threshold values, product triggering is unsuccessful.
In the present embodiment, die pressing product 6 is pressed especially by metal artificial finger 2 by die pressing product 6 in step S100, be used for Touch the product 6 with capacitive touch screen.The material of metal artificial finger 2 can be copper, aluminium etc..Because metal has very Good stability, it is possible to which guarantee will not introduce error because of metal artificial finger 2 in a long time.Metal artificial finger 2 are used to imitate human finger, and according to the finger size of different people, the size of metal artificial finger 2 can also be changed accordingly. Certainly, in addition to pressing test is carried out using metal artificial finger 2, it can also manually make to press with finger product 6 and be tested, Simply it is not so good as the stabilization of metal artificial finger 2.
As shown in Figure 3 and Figure 4, further, in the present embodiment, metal artificial finger 2 is driven by robot arm 3 Pressed and discharge operation, then step S100 is specially:
Step S101, pressing instruction is sent to robot arm 3, control machine human arm 3 drives metal artificial finger 2 to press Die pressing product 6;
Step S102, the first capacitance formed after pressing that product 6 is sent is obtained.
Correspondingly, step S200 is specially:
Step S201, send and release order to robot arm 3, control machine human arm 3 drive metal artificial finger 2 from Discharged on product 6;
Step S202, the second capacitance for being formed after obtain that product 6 sends be released.
Drive metal artificial finger 2 to press by control machine human arm 3 and discharge product 6, ensure that triggering is dynamic every time Make unanimously, to improve measuring accuracy, realize the automatic triggering test of product 6, reduce hand labor intensity and manual operation The error brought.It is of course also possible to manual operation metal artificial finger 2 is tested.
Based on the triggering method of testing described by above example, the embodiment of the present invention additionally provides one kind and contains capacitance sensing The triggering test system of the product of device, hereinafter referred to as triggers test system, as shown in figure 1, it includes processor 4, communication module 5 With test fixture 1.
Wherein, processor 4 can be computer or PLC etc., and processor 4 is connected by communication module 5 and the communication of product 6; Processor 4 is used to obtain by the first capacitance formed after die pressing product 6, obtains the second capacitance formed after release product 6, root The electric capacity calibration value of product 6 is worth to according to the first capacitance and the second electric capacity, according to electric capacity calibration value and the electric capacity threshold values of product 6 Capacitance deviation value is obtained, is write using capacitance deviation value as capacitance compensation value in the triggering algorithm of product 6, triggering is compensated and calculates Method.
Test fixture 1 is used to fix product 6, is easy to ensure that product 6 will not be moved in test process, test fixture 1 It can be switched over according to different products 6, product 6 can be capacitive induction soft-touch control.
Each product 6 is demarcated by the triggering test system, and is total to according to the result and bulk article 6 of demarcation Electric capacity threshold values compares, and is compensated both differences as offset into triggering algorithm, is compensated triggering algorithm, so as to The product 6 can carry out new triggering according to compensation triggering algorithm and judge, for normal operating before when carrying out trigger action Do not reach trigger condition, can correctly trigger, for product 6 in higher sensitivity before, false triggering can be prevented, so as to carry High product 6 identifies the accuracy of user's trigger action.
Further, the triggering test system in the present embodiment also includes metal artificial finger 2, for by die pressing product 6.Gold The material for belonging to artificial finger 2 can be copper, aluminium etc..Because metal has good stability, it is possible to ensure for a long time It is interior to introduce error because of metal artificial finger 2.Metal artificial finger 2 is used to imitate human finger, according to different people Finger size, the size of metal artificial finger 2 can also be changed accordingly.Certainly, except being carried out using metal artificial finger 2 Pressing test is outer, can also manually make to press with finger product 6 and be tested, simply not as the stabilization of metal artificial finger 2.
Further, in the present embodiment, triggering test system also includes robot arm 3, and metal artificial finger 2 connects It is connected on robot arm 3, robot arm 3 is connected with processor 4, and processor 4 is additionally operable to send to robot arm 3 and pressed Instruction, control machine human arm 3 drive metal artificial finger 2 to press die pressing product 6, send and release order to robot arm 3, control Robot arm 3 drives the metal artificial finger 2 to be discharged from product 6.Metal artificial finger is driven by robot arm 3 2 pressings and release product 6, carry out trigger action, ensure that each trigger action is consistent, improve measuring accuracy, can be in nothing The automatic triggering test of product 6 is realized in the case that people is on duty, reduces the error that hand labor intensity and manual operation are brought, It can adapt to various test environment and test object.It is of course also possible to manual operation metal artificial finger 2 is tested.
By taking capacitive induction soft-touch control (hereinafter referred to as capacitance switch) as an example, the course of work of test system is triggered to it It is described:
Metal artificial finger 2 is loaded on robot arm 3, and robot arm 3 is connected with processor 4, capacitance switch dress It is loaded on test fixture 1, capacitance switch is connected by communication module 5 and the communication of processor 4, completes processor 4 and capacitance switch Between real-time communication.
During work, processor 4 sends pressing instruction to robot arm 3, after robot arm 3 receives pressing instruction, band Dynamic metal artificial finger 2 carries out pressing operation to the ad-hoc location of capacitance switch, and capacitance switch forms the first capacitance and passed through Communication module 5 is sent to processor 4, and processor 4 receives and records the first capacitance.Afterwards, processor 4 is to robot arm 3 Transmission is released order, robot arm 3 receives release order after, drive metal artificial finger 2 to leave capacitance switch, when leaving one During set a distance, capacitance switch forms the second capacitance and is sent to processor 4 by communication module 5, and processor 4 is received and recorded Second capacitance.
Second capacitance is subtracted the first capacitance by processor 4, obtains the electric capacity calibration value of capacitance switch, and processor 4 will The electric capacity calibration value is sent to capacitance switch by communication module 5.Processor 4 is according to electric capacity calibration value and the electric capacity of capacitance switch Threshold values obtains capacitance deviation value, and processor 4 is write in the triggering algorithm of capacitance switch using capacitance deviation value as capacitance compensation value, It is compensated triggering algorithm.
When then this capacitance switch carries out trigger action again, judged according to new compensation triggering algorithm, if release Discharge the difference between the pressing capacitance of capacitance and pressing, i.e., when capacitance threshold value is more than or equal to electric capacity threshold values, then electric capacity Switch triggering success, can be turned on and off, otherwise, capacitance switch can not trigger success, it is impossible to be turned on and off.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

  1. A kind of 1. triggering method of testing of the product containing capacitance sensor, it is characterised in that including:
    S100, obtain the first capacitance for pressing and being formed after the product;
    S200, obtain the second capacitance for discharging and being formed after the product;
    S300, the electric capacity calibration value for being worth to according to first capacitance and second electric capacity product;
    S400, capacitance deviation value obtained according to the electric capacity threshold values of the electric capacity calibration value and the product;
    S500, write in the triggering algorithm of the product using the capacitance deviation value as capacitance compensation value, be compensated triggering Algorithm.
  2. 2. triggering method of testing according to claim 1, it is characterised in that the step S300 is specially:Described second Capacitance subtracts first capacitance, obtains the electric capacity calibration value.
  3. 3. triggering method of testing according to claim 1, it is characterised in that the step S400 is specially:The electric capacity Threshold values subtracts the electric capacity calibration value, obtains the capacitance deviation value.
  4. 4. triggering method of testing according to claim 1, it is characterised in that the triggering algorithm in the step S500 For:
    Discharge the release capacitance formed after the product and subtract the pressing capacitance for pressing and being formed after the product, obtain electric capacity Threshold value;
    Compare the capacitance threshold value and the size of the electric capacity threshold values, if the capacitance threshold value is more than or equal to the electric capacity valve Value, then product triggers successfully, if the capacitance threshold value is less than the electric capacity threshold values, product triggering is unsuccessful.
  5. 5. triggering method of testing according to claim 4, it is characterised in that the compensation triggering algorithm in the step S500 For:
    Discharge the release capacitance formed after the product and subtract the pressing capacitance for pressing and being formed after the product, obtain electric capacity Threshold value;
    The capacitance compensation value and the capacitance threshold value are subjected to addition or subtraction process, obtain correcting capacitance threshold value;
    Compare the amendment capacitance threshold value and the size of the electric capacity threshold values, if the amendment capacitance threshold value is more than or equal to institute State electric capacity threshold values, then product triggers successfully, if the amendment capacitance threshold value is less than the electric capacity threshold values, product can not trigger Work(.
  6. 6. according to the triggering method of testing described in claim any one of 1-5, it is characterised in that the pressing in the step S100 The product presses the product especially by metal artificial finger.
  7. 7. triggering method of testing according to claim 6, it is characterised in that the metal artificial finger passes through robot Arm drives and is pressed and discharge operation, and the step S100 is specially:
    S101, pressing instruction is sent to the robot arm, control the robot arm to drive the metal artificial finger Press the product;
    S102, obtain first capacitance formed after pressing that the product is sent;
    The step S200 is specially:
    S201, send and release order to the robot arm, control the robot arm to drive the metal artificial finger Discharged from the product;
    S202, obtain second capacitance formed after the product is released.
  8. A kind of 8. triggering test system of the product containing capacitance sensor, it is characterised in that including:
    Processor, the first capacitance formed after the product is pressed for obtaining, obtain for discharging and being formed after the product Two capacitances, the electric capacity calibration value of the product is worth to according to first capacitance and second electric capacity, according to described The electric capacity threshold values of electric capacity calibration value and the product obtains capacitance deviation value, and the capacitance deviation value is write as capacitance compensation value In the triggering algorithm for entering the product, triggering algorithm is compensated;
    Communication module, the processor are connected by the communication module and product communication;
    Test fixture, for fixing the product.
  9. 9. triggering test system according to claim 8, it is characterised in that also including metal artificial finger, for pressing The product.
  10. 10. triggering test system according to claim 9, it is characterised in that also imitated including robot arm, the metal True finger is connected on the robot arm, and the robot arm is connected with the processor, and the processor is additionally operable to Pressing instruction is sent to the robot arm, controls the robot arm to drive the metal artificial finger to press the production Product, send and release order to the robot arm, control the robot arm to drive the metal artificial finger from described Discharged on product.
CN201710632264.2A 2017-07-28 2017-07-28 Trigger test method and system for product containing capacitive sensor Active CN107425839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710632264.2A CN107425839B (en) 2017-07-28 2017-07-28 Trigger test method and system for product containing capacitive sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710632264.2A CN107425839B (en) 2017-07-28 2017-07-28 Trigger test method and system for product containing capacitive sensor

Publications (2)

Publication Number Publication Date
CN107425839A true CN107425839A (en) 2017-12-01
CN107425839B CN107425839B (en) 2021-05-25

Family

ID=60430635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710632264.2A Active CN107425839B (en) 2017-07-28 2017-07-28 Trigger test method and system for product containing capacitive sensor

Country Status (1)

Country Link
CN (1) CN107425839B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112198381A (en) * 2020-09-18 2021-01-08 上海纳恩汽车技术有限公司 Test system of vehicle capacitance door handle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414819A (en) * 2007-10-16 2009-04-22 通泰积体电路股份有限公司 Sensing method and apparatus for controlling current source and compensating touch control capacitance
CN101896825A (en) * 2007-12-14 2010-11-24 赛普拉斯半导体公司 Compensation circuit for a TX-RX capacitive sensor
WO2014009206A1 (en) * 2012-07-09 2014-01-16 Preh Gmbh Touch-sensitive operating unit with rotating touch layer
CN103607187A (en) * 2013-11-12 2014-02-26 青岛歌尔声学科技有限公司 Method and apparatus for detecting whether capacitor touch button is triggered
CN103677452A (en) * 2012-08-30 2014-03-26 华为终端有限公司 Capacitive touch screen calibration method and capacitive touch device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414819A (en) * 2007-10-16 2009-04-22 通泰积体电路股份有限公司 Sensing method and apparatus for controlling current source and compensating touch control capacitance
CN101896825A (en) * 2007-12-14 2010-11-24 赛普拉斯半导体公司 Compensation circuit for a TX-RX capacitive sensor
WO2014009206A1 (en) * 2012-07-09 2014-01-16 Preh Gmbh Touch-sensitive operating unit with rotating touch layer
CN103677452A (en) * 2012-08-30 2014-03-26 华为终端有限公司 Capacitive touch screen calibration method and capacitive touch device
CN103607187A (en) * 2013-11-12 2014-02-26 青岛歌尔声学科技有限公司 Method and apparatus for detecting whether capacitor touch button is triggered

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112198381A (en) * 2020-09-18 2021-01-08 上海纳恩汽车技术有限公司 Test system of vehicle capacitance door handle

Also Published As

Publication number Publication date
CN107425839B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN105554616B (en) A kind of headset control method and earphone
CN105549701B (en) Temperature-compensation method, device and mobile terminal for mobile terminal
CN103607187B (en) Method and apparatus for detecting whether capacitor touch button is triggered
CN109709613A (en) A kind of method, terminal and circuit whether detection wearable device is dressed
CN104516641B (en) Automatic calibrating method and electronic device
CN108268195A (en) One-handed performance display methods, mobile terminal and computer readable storage medium
CN106681553B (en) A kind of adjusting method and terminal of touch-control pressure threshold
KR101185145B1 (en) Apparatus and method for setting adaptively reference sensing boundary of touch sensor
EP3620405A1 (en) Trash can having sensing flip lid having settable sensing distance and control method therefor
CN106911863A (en) A kind of false-touch prevention method and device of terminal
CN107425839A (en) The triggering method of testing and system of a kind of product containing capacitance sensor
CN106951850A (en) The method and mobile terminal of a kind of control fingerprint recognition module
WO2020056432A3 (en) Garment
CN106506825A (en) A kind of control method of touch-screen, device and mobile terminal
US10366266B2 (en) Fingerprint sensing device, electronic device and calibration method for fingerprint sensor
CN110269304A (en) Safety cap, wearing state detection method and device, computer readable storage medium
CN105425958B (en) Income prompting method, device and mobile terminal
CN103984423B (en) Contact control mouse and its input method
CN108801321A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN104391648B (en) Touch control terminal and its automatic unlocking method
CN105549736B (en) Income prompting method, device and mobile terminal
CN106773881A (en) A kind of gas in container method for monitoring state, apparatus and system
CN206271593U (en) A kind of button and electronic equipment
CN205692150U (en) There is the handheld device that transparent screen positive and negative is mutual
CN105404425A (en) Temperature compensation method and apparatus for mobile terminal, and mobile terminal

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