US11221593B2 - Correction control method of hidden switch with fuzzy inference system - Google Patents

Correction control method of hidden switch with fuzzy inference system Download PDF

Info

Publication number
US11221593B2
US11221593B2 US16/535,953 US201916535953A US11221593B2 US 11221593 B2 US11221593 B2 US 11221593B2 US 201916535953 A US201916535953 A US 201916535953A US 11221593 B2 US11221593 B2 US 11221593B2
Authority
US
United States
Prior art keywords
value
correction value
correction
interval
fuzzy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US16/535,953
Other versions
US20200356064A1 (en
Inventor
Huang-chih Chen
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.)
Compal Electronics Inc
Original Assignee
Compal Electronics Inc
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 Compal Electronics Inc filed Critical Compal Electronics Inc
Assigned to COMPAL ELECTRONICS, INC. reassignment COMPAL ELECTRONICS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHEN, HUANG-CHIH
Publication of US20200356064A1 publication Critical patent/US20200356064A1/en
Application granted granted Critical
Publication of US11221593B2 publication Critical patent/US11221593B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/0265Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion
    • G05B13/0275Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion using fuzzy logic only

Definitions

  • the present invention relates to a correction control method, and more particularly to a correction control method of a hidden switch.
  • the hidden switch can be mainly divided into a capacitance-sensing architecture and a pressure-sensing architecture, in which the hidden switch of the capacitance-sensing architecture has drawbacks of being unable to operate with metal or wet fingers.
  • the hidden switch of the pressure-sensing architecture since the sensor is used to sense the magnitude of the pressure received by the hidden switch or the magnitude of the deformation when the hidden switch is pressed, thereby achieving the function of the switch control. The problems with the hidden switches of the capacitance-sensing architecture can be avoided.
  • the hidden switch of the pressure-sensing architecture can be operated by using a supervised algorithm, such as a membership function of a fuzzy control, to determine whether the pressing of the hidden switch is artificially operated or improperly touched.
  • a supervised algorithm such as a membership function of a fuzzy control
  • the fuzzy interval between the input maximum value and the input minimum value reflected during being pressed is reduced and cannot be as specified as the defined initial value at the factory.
  • the fuzzy interval of the membership function still uses the range of the initially defined fuzzy interval, which will result in poor functionality or even failure of the hidden switch.
  • the present invention provides a correction control method of a hidden switch, so that when the supervised algorithm is used by a traditional hidden switch to supervise and control, the problems of being unable to be correspondingly adjusted with variation of the input condition of the hidden switch, and the poor functionality of control and the failure of hidden switch can be solved.
  • a correction control method of a hidden switch is applied to a controller of an electronic device to perform a correction control on each pressing operation of a hidden switch.
  • the correction control method includes steps of (a) rebuilding a fuzzy inference system, wherein the fuzzy inference system comprises a fuzzification unit, a rule base, a fuzzy inference unit, a defuzzification unit and a correction unit, the rule base defines forms and ranges of a plurality of fuzzy rules and at least a membership function, the fuzzification unit correspondingly receives an input value when the pressing operation is performed through the hidden switch and converts into a fuzzy input set corresponding to the membership function, the fuzzy inference unit receives the fuzzy input set to execute inferences of the fuzzy rules so as to output a fuzzy output set, and the defuzzification unit performs a defuzzification on the fuzzy output set to determine a fuzzy interval where a dynamic range is located as every time the hidden switch is pressed and correspondingly generate an
  • step (a), the step (b) and the step (c) are sequentially performed.
  • the step (d) is performed.
  • the step (g) is performed.
  • the step (e) and the step (f) are sequentially performed.
  • the step (i) is performed.
  • the step (h) is performed after the step (g).
  • the step (d) is performed.
  • the step (i) is performed.
  • FIG. 1 schematically illustrates the flow chart of a correction control method of a hidden switch according to an embodiment of the present invention
  • FIG. 2 schematically illustrates the configuration of an electronic device having a hidden switch which the correction control method shown in FIG. 1 is applied to;
  • FIG. 3 schematically illustrates the flow chart of the sub-steps of the step S 4 shown in FIG. 1 ;
  • FIG. 4 schematically illustrates the intervals of the membership function in the rule base shown in FIG. 2 ;
  • FIG. 5 schematically illustrates the flow chart of a peak value decision unit of a fuzzy inference system shown in FIG. 2 performing a decision method
  • FIG. 6 schematically illustrates the flow chart of the sub-steps of the step S 5 shown in FIG. 5 ;
  • FIG. 7 schematically illustrates the flow chart of a rule base of a fuzzy inference system shown in FIG. 2 performing an update method.
  • FIG. 1 schematically illustrates the flow chart of a correction control method of a hidden switch according to an embodiment of the present invention.
  • FIG. 2 schematically illustrates the configuration of an electronic device having a hidden switch which the correction control method shown in FIG. 1 is applied to.
  • a correction control method of the present invention can correspondingly correct the control of a hidden switch 2 of an electronic device 1 in response to the changing of input conditions, such as aging situations, of the hidden switch 2 .
  • the electronic device 1 can be a mobile phone, an electronic wristband or a digital camera, but not limited herein. Any electronic device having a requirement of a hidden switch is applied to the correction control method of the present invention.
  • the electronic device 1 includes not only at least a hidden switch 2 , but also a controller 3 and a sensor 4 .
  • the sensor 4 can sense the magnitude of a received pressure or a deformation caused by pressing of the hidden switch 2 .
  • the controller 3 uses an input value outputted by the sensor 4 during each pressing operation of the hidden switch 2 as an output value for controlling the hidden switch.
  • the input conditions (e.g. aging situations) of the hidden switch 2 of the electronic device 1 practically affect the input value outputted by the sensor 4 , and the output value of the controller 3 adjusts correspondingly in response to the change of the input value, so the output value of the controller 3 can practically reflect the using conditions of the hidden switch 2 of the electronic device 1 .
  • the controller 3 when the an output value is outputted by the controller 3 to control the hidden switch 2 , the controller 3 further adjusts the control strategy corresponding to the hidden switch 2 according to the output value, such that the control is corrected for controlling the hidden switch in the next time according to the previous one output value.
  • the input value received by the controller 3 from an analog-digital converter (ADC) 4 is the converted digital signal.
  • the controller 3 and the analog-digital converter 4 can be separately disposed and be independent from each other, but not limited herein.
  • the analog-digital converter 4 can be combined or integrated with the controller 3 for saving hardware space.
  • the hidden switch 2 can be but not limited to a power button or a shutter button, and the number of the hidden switch 2 can be plural. For example, two hidden switches respectively constitute a volume up button and a volume down button.
  • controller 3 utilizes a membership function of fuzzy control to supervise the operation of the hidden switch 2 , so the controller 3 may rebuild a fuzzy inference system 30 during each operation of the hidden switch 2 and fuzzy control the hidden switch 2 through the fuzzy inference system 30 , so that the advantages of enhancing the accuracy of the control range are achieved. Meanwhile, an automatic correction of the hidden switch 2 can be implemented when the input conditions of the hidden switch 2 are changed. Furthermore, when the input condition of the hidden switch 2 gets worse and further causes the control correction no longer being performed, the fuzzy inference system 30 can notify the user that the function of the fuzzy inference system 30 is invalid.
  • the fuzzy inference system 30 includes a fuzzification unit 31 , a rule base 32 , a fuzzy inference unit 33 , a defuzzification unit 34 and a correction unit 35 .
  • the rule base 32 defines a plurality of fuzzy rules and form and range of at least a membership function.
  • the fuzzification unit 31 correspondingly receives an input value from an analog-digital converter 4 when the pressing operation is performed through the hidden switch 2 and converts the input value into a fuzzy input set corresponding to the membership function in the rule base 32 .
  • the fuzzy inference unit 33 receives the fuzzy input set to execute inferences of the fuzzy rules so as to output a fuzzy output set.
  • the defuzzification unit 34 performs a defuzzification on the fuzzy output set to determine a fuzzy interval where a dynamic range is located as every time the hidden switch 2 is pressed and correspondingly generate an output value, such that the hidden switch 2 is correspondingly controlled according to the output value.
  • a maximum correction value and a minimum correction value can be stored in the correction unit 35 .
  • the initial values of the maximum correction value and the minimum correction value can be preset.
  • the input value of the correction unit 35 is the output value of the present output of the defuzzification unit 34 .
  • the input value presently received by the correction unit 35 i.e.
  • the output value generated by the defuzzification unit 34 through the defuzzification in progress is compared with the previous one result of the pressing operation of the hidden switch 2 , and when the input value presently received is out of a set interval of the present maximum correction value in the specific proportional relationship, the output value presently being in progress of defuzzification of the defuzzification unit 34 is set as the maximum correction value.
  • several values under a non-inputted state i.e. the background signal values generated by the hidden switch 2 when the hidden switch 2 is non-inputted
  • sampled by the fuzzification unit 31 before the previous operation of the hidden switch 2 are averaged as the minimum correction value by the correction unit 35 .
  • the controller 3 may firstly establish a system initial maximum value and a system initial minimum value converted from an analog signal into a digital signal according to the initial values of operation factory parameters of the electronic device 1 so as to initially establish the form and the range of the membership function by utilizing the system initial maximum value and the system initial minimum value.
  • the controller 3 firstly defines a fuzzy inference theory and the judgment method thereof and further performs the inferences of a plurality of fuzzy rules.
  • Step S 1 of rebuilding a fuzzy inference system 30 , of the correction control method of the present invention is firstly performed.
  • step S 2 of setting a maximum correction value and a minimum correction value is performed.
  • the input value presently received by the correction unit 31 is compared with the previous one result of the pressing operation of the hidden switch 2 , and when the input value presently received is out of a setting interval of the input value, the input value presently received is set as the maximum correction value.
  • several sampled values under a non-inputted state before the previous operation of the hidden switch 2 are averaged as the minimum correction value.
  • step S 3 of determining whether there is an output value to be outputted by the defuzzification unit 34 .
  • step S 4 of deciding a intermediate correction value by an average value of the maximum correction value and the minimum correction value, and determining whether a range of an interval between the maximum correction value and the intermediate correction value is enough to constitute the fuzzy interval of the membership function is performed.
  • step S 5 of allowing the correction unit to output the maximum correction value, the minimum correction value and the intermediate correction value is performed.
  • step S 9 of adjusting the fuzzy inference system is performed, so that the range and the number of the fuzzy interval of the membership function are dynamically adjusted.
  • step S 6 of allowing the fuzzification unit 31 to constitute the minimum correction value according to all the output value which are presently received.
  • step S 7 of determining whether a range of an interval between the maximum correction value and the minimum correction value is enough to constitute the fuzzy interval of the membership function is then performed.
  • the judgment result of the step S 7 is TRUE, the step S 4 is performed.
  • step S 8 of notifying that functions of the fuzzy inference system are failed is performed.
  • step S 4 when the judgment result of the step S 4 is FALSE, it represents that the input condition of the hidden switch 2 is deteriorated and the control correction can be no longer performed, so that the step S 8 of notifying the user that the function of the fuzzy inference system 30 is invalid is performed when the judgment result of the step S 4 is FALSE.
  • the correction control method of the present invention can determine whether the output value is outputted by the defuzzification unit 34 and dynamically adjust the magnitude of the fuzzy intervals and the number of the fuzzy intervals of the membership function in the rule base 32 through the feedback of the output value when the output value is existed and the input conditions of the hidden switch 2 are changed.
  • the functionality of the supervised algorithm used by the hidden switch 2 is enhanced.
  • the correction control method of the present invention may still warn the user.
  • the range of the interval between the maximum correction value and the minimum correction value is determined as being enough to constitute the fuzzy interval of the membership function, and the step S 4 is performed.
  • the interval between the maximum correction value and the minimum correction value is less than or equal to the first constant of the product multiplied by the system initial maximum value, the range of the interval between the maximum correction value and the minimum correction value is determined as being not enough to constitute the fuzzy interval of the membership function, and the step S 8 is performed.
  • the first constant is a percentage value.
  • step S 4 when the interval between the maximum correction value and the intermediate correction value is greater than a second constant of a product multiplied by a system initial maximum value, the range of the interval between the maximum correction value and the intermediate correction value is determined as being enough to constitute the fuzzy interval of the membership function, and the step S 5 is performed.
  • the interval between the maximum correction value and the intermediate correction value is less than or equal to the second constant of the product multiplied by the system initial maximum value, the range of the interval between the maximum correction value and the intermediate correction value is determined as being not enough to constitute the fuzzy interval of the membership function, and the step S 8 is performed.
  • the second constant is a percentage value.
  • FIG. 3 schematically illustrates the flow chart of the sub-steps of the step S 4 shown in FIG. 1 .
  • the step S 4 further includes sub-steps S 40 , S 41 , S 42 and S 43 .
  • the sub-step S 40 of determining whether the input value received by the fuzzification unit this time is located in a setting interval of the input value is performed.
  • the setting interval of the input value is in a range of 0.9 to 1.1 times of current the maximum correction value.
  • the interval range of the input set interval is not limited as described above. It can be correspondingly set according to the type of the electronic device 1 .
  • sub-step S 41 of constituting the maximum correction value through the input value received by the fuzzification unit 31 this time is performed.
  • sub-step S 42 of keeping the maximum correction value unchanged is performed.
  • sub-step S 43 of deciding the intermediate correction value through the maximum correction value and the minimum correction value, and determining whether the range of the interval between the maximum correction value and the intermediate correction value is capable of constituting the fuzzy interval of the membership function is performed.
  • sub-step S 42 is performed and finished, the sub-step S 43 is performed.
  • FIG. 4 schematically illustrates the intervals of the membership function in the rule base shown in FIG. 2 .
  • the horizontal axis of the waveform graph of the membership function of the rule base 32 is an adjustable and variable range, which represents the fuzzy interval after the input value or the output value is fuzzed.
  • the horizontal axis of the membership function includes the lowest region, at least one intermediate region, and at least three fuzzy intervals of the highest region.
  • the number of the intermediate regions may be, for example, M, in which M is greater than or equal to 1.
  • the vertical axis represents the degree of membership (i.e. the occupied proportion of the input value or the output value after fuzzification in the membership function, DOM), with 0 to 1 (i.e. 0-100%) as the fuzzy criterion.
  • FIG. 5 schematically illustrates the flow chart of a peak value decision unit of a fuzzy inference system shown in FIG. 2 performing a decision method.
  • the fuzzy inference system 30 further includes a peak value decision unit 36 (as shown in FIG. 2 ).
  • the peak value decision unit 36 is mainly utilized to receive the input value transmitted by the sensor 4 , receive the maximum correction value, the minimum correction value and the intermediate correction value transmitted by the correction unit 35 , calculate the number of the fuzzy intervals of the membership function by using the input value, the maximum correction value, the minimum correction value and the intermediate correction value, and provide the calculation result to the rule base 32 , so that the rule base 32 may dynamically adjust the membership function.
  • the peak value decision unit 36 may perform a decision method.
  • the decision method will firstly perform step S 50 of initially setting a maximum peak value and a minimum peak value.
  • the maximum value of the input values reflected on the sensor 4 is set as the maximum peak value and the minimum value of the input values is simultaneously set as the minimum peak value when the hidden switch 2 is pressed under an ideal state (e.g. the time the hidden switch is just shipped from the factory).
  • step S 51 of determining whether an input value is received by the fuzzification unit 31 is performed.
  • step S 52 of deciding an intermediate value according to an average value of the maximum peak value and the minimum peak value and then determining whether the range of the interval between the maximum peak value and the intermediate value is enough to constitute the fuzzy interval of the membership function is performed.
  • step S 53 of setting a determining parameter ⁇ and determining the determining parameter ⁇ is greater than 0.6, less than 0.2, or in range of 0.2 and 0.6 (i.e. 0.2 ⁇ 0.6) is performed.
  • step S 54 of calculating to obtain the number N of the fuzzy intervals of the membership function by using the input value, the maximum correction value, the minimum correction value and the intermediate correction value and providing the calculation result to the rule base 32 is performed, so that the rule base 32 may dynamically adjust the membership function.
  • step S 53 When the judgment result of the step S 53 is that the determining parameter ⁇ is greater than 0.6, it represents that the difference between the intermediate value and the intermediate correction value is too large to calculate the number of the fuzzy intervals of the membership function, so that step S 55 of notifying the failure of the function of the fuzzy inference system 30 is performed. In addition, when the judgment result of the step S 53 is that the determining parameter ⁇ is less than 0.2, the step S 51 is re-performed.
  • step S 51 when the judgment result of the step S 51 is FALSE, step S 56 of constituting the minimum peak value according to the minimum correction value is performed.
  • Step S 57 of determining whether the range of the interval between the maximum peak value and the minimum peak value is enough to be designed as a new fuzzy interval of the membership function is performed.
  • the judgment result of the step S 57 is TURE, the step S 52 is performed.
  • the judgment result of the step S 57 is FALSE
  • the step S 55 is performed.
  • the judgment result of the step S 52 is FALSE, it represents that the input conditions of the hidden switch 2 are too bad to perform the correction of control, so that the step S 55 is performed.
  • step S 57 of the embodiments mentioned above when the interval between the maximum peak value and the minimum peak value is greater than a first constant of a product multiplied by a system initial maximum value, the range of the interval between the maximum peak value and the minimum peak value is determined as being enough to be designed as a new fuzzy interval of the membership function, and the step S 52 is performed.
  • the interval between the maximum peak value and the minimum peak value is less than or equal to the first constant of the product multiplied by the system initial maximum value
  • the range of the interval between the maximum peak value and the minimum peak value is determined as being not enough to be designed as a new fuzzy interval of the membership function, and the step S 55 is performed.
  • FIG. 6 schematically illustrates the flow chart of the sub-steps of the step S 5 shown in FIG. 5 .
  • the step S 52 further includes sub-steps S 520 -S 523 .
  • sub-step S 520 of determining whether the input value received presently is in located in the setting interval of the input value is performed.
  • sub-step S 521 of constituting the maximum peak value according to the input value received presently is performed.
  • sub-step S 522 of constituting the maximum peak value according to the maximum correction value is performed.
  • sub-step S 523 of deciding the intermediate value according to the maximum peak value and the minimum peak value and determining whether the range of the interval between the maximum peak value and the intermediate value is enough to constitute the fuzzy interval of the membership function is performed. After the sub-step S 522 is performed and finished, the sub-step S 523 is performed.
  • the maximum values and minimum values of the input values may be continuously recorded during the operations of the hidden switch 2 , and further the number of the fuzzy intervals of the membership function may be calculated, thereby providing the references to the rule base 32 for defining the fuzzy set.
  • FIG. 7 schematically illustrates the flow chart of a rule base of a fuzzy inference system shown in FIG. 2 performing an update method.
  • An update method may be performed by the rule base 32 of the present embodiment.
  • the update method firstly performs step S 70 of obtaining the maximum peak value, the minimum peak value, the input value and the number N of the fuzzy intervals of the membership function from the peak value decision unit 36 .
  • step S 71 of determining whether a fuzzy rule is existed in the rule base 32 is performed.
  • step S 72 of calculating the fuzzy interval of the membership function according to the initial condition is performed.
  • the initial condition includes the maximum peak value and the minimum peak value set according to the maximum value and the minimum value of the initial input values reflected on the controller 3 when the hidden switch 2 is pressed under an ideal state (e.g. the time the hidden switch is just shipped from the factory), and the initial number of the fuzzy intervals of the membership function obtained according to both the minimum peak value and the maximum peak value.
  • Step S 73 of building a membership function according to the calculation result and updating the fuzzy inference unit 33 is then performed.
  • step S 71 when the judgment result of the step S 71 is TRUE, step S 74 of re-calculating the fuzzy interval of the membership function according to the maximum peak value, the minimum peak value and the number of the fuzzy intervals of the membership function set presently is performed.
  • step S 75 of rebuilding the membership function according to the calculation result and updating the fuzzy inference unit 33 is performed.
  • the membership function can be varied in response to the changes of the input conditions of the hidden switch 2 , so that the membership function presently required by the hidden switch 2 can be defined more appropriately.
  • the present invention provides a correction control method of a hidden switch.
  • the correction control method of the present invention can determine whether the output value is outputted by the defuzzification unit and dynamically adjust the magnitude of the fuzzy intervals and the number of the fuzzy intervals of the membership function in the rule base when the output value is existed and the input conditions of the hidden switch are changed.
  • the new fuzzy rules are continuously and automatically generated, so that the electronic product may utilized the new fuzzy rules as the determining conditions of the operations of the hidden switch.
  • the functionality of the supervised algorithm used by the hidden switch is enhanced.
  • the correction control method of the present invention warns the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Fuzzy Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

A correction control method includes steps of rebuilding a fuzzy inference system, setting a maximum correction value and a minimum correction value, determining whether there is an output value to be outputted, deciding a intermediate correction value and determining whether a range of an interval between the maximum correction value and the intermediate correction value is enough to constitute the fuzzy interval of the membership function, allowing the correction unit to output the maximum correction value, the minimum correction value and the intermediate correction value, adjusting the fuzzy inference system, allowing the fuzzification unit to constitute the minimum correction value according to the output value, determining whether a range of an interval between the maximum correction value and the minimum correction value is enough to constitute the fuzzy interval, and notifying that functions of the fuzzy inference system are failed. The functionality of supervised algorithm of hidden switch is enhanced.

Description

CROSS-REFERENCE TO RELATED APPLICATION
This application claims priority from Taiwan Patent Application No. 108115786, filed on May 7, 2019, the entire contents of which are incorporated herein by reference for all purposes.
FIELD OF THE INVENTION
The present invention relates to a correction control method, and more particularly to a correction control method of a hidden switch.
BACKGROUND OF THE INVENTION
In recent years, in electronic devices, such as mobile phones or electronic wristbands, it is very common to use hidden switches for corresponding functional operations, such as turning on/off the power supply. The hidden switch can be mainly divided into a capacitance-sensing architecture and a pressure-sensing architecture, in which the hidden switch of the capacitance-sensing architecture has drawbacks of being unable to operate with metal or wet fingers. As for the hidden switch of the pressure-sensing architecture, since the sensor is used to sense the magnitude of the pressure received by the hidden switch or the magnitude of the deformation when the hidden switch is pressed, thereby achieving the function of the switch control. The problems with the hidden switches of the capacitance-sensing architecture can be avoided.
At present, the hidden switch of the pressure-sensing architecture can be operated by using a supervised algorithm, such as a membership function of a fuzzy control, to determine whether the pressing of the hidden switch is artificially operated or improperly touched. However, once the input condition of the hidden switch changes, for example, after a long time of use, the fuzzy interval between the input maximum value and the input minimum value reflected during being pressed is reduced and cannot be as specified as the defined initial value at the factory. At this time, the fuzzy interval of the membership function still uses the range of the initially defined fuzzy interval, which will result in poor functionality or even failure of the hidden switch.
Therefore, there is a need of providing an improved correction control method of a hidden switch distinct from the prior art in order to solve the above drawbacks.
SUMMARY OF THE INVENTION
The present invention provides a correction control method of a hidden switch, so that when the supervised algorithm is used by a traditional hidden switch to supervise and control, the problems of being unable to be correspondingly adjusted with variation of the input condition of the hidden switch, and the poor functionality of control and the failure of hidden switch can be solved.
In accordance with an aspect of the present invention, there is provided a correction control method of a hidden switch. The correction control method is applied to a controller of an electronic device to perform a correction control on each pressing operation of a hidden switch. The correction control method includes steps of (a) rebuilding a fuzzy inference system, wherein the fuzzy inference system comprises a fuzzification unit, a rule base, a fuzzy inference unit, a defuzzification unit and a correction unit, the rule base defines forms and ranges of a plurality of fuzzy rules and at least a membership function, the fuzzification unit correspondingly receives an input value when the pressing operation is performed through the hidden switch and converts into a fuzzy input set corresponding to the membership function, the fuzzy inference unit receives the fuzzy input set to execute inferences of the fuzzy rules so as to output a fuzzy output set, and the defuzzification unit performs a defuzzification on the fuzzy output set to determine a fuzzy interval where a dynamic range is located as every time the hidden switch is pressed and correspondingly generate an output value, (b) setting a maximum correction value and a minimum correction value, (c) determining whether there is an output value to be outputted, (d) deciding a intermediate correction value by an average value of the maximum correction value and the minimum correction value, and determining whether a range of an interval between the maximum correction value and the intermediate correction value is enough to constitute the fuzzy interval of the membership function, (e) allowing the correction unit to output the maximum correction value, the minimum correction value and the intermediate correction value, (f) adjusting the fuzzy inference system, so that the range and the number of the fuzzy interval of the membership function are dynamically adjusted, (g) allowing the fuzzification unit to constitute the minimum correction value according to all the output value which are presently received, (h) determining whether a range of an interval between the maximum correction value and the minimum correction value is enough to constitute the fuzzy interval of the membership function, and (i) notifying that functions of the fuzzy inference system are failed. The step (a), the step (b) and the step (c) are sequentially performed. When the judgment result of the step (c) is TRUE, the step (d) is performed. When the judgment result of the step (c) is FALSE, the step (g) is performed. When the judgment result of the step (d) is TRUE, the step (e) and the step (f) are sequentially performed. When the judgment result of the step (d) is FALSE, the step (i) is performed. The step (h) is performed after the step (g). When the judgment result of the step (h) is TRUE, the step (d) is performed. When the judgment result of the step (h) is FALSE, the step (i) is performed.
The above contents of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 schematically illustrates the flow chart of a correction control method of a hidden switch according to an embodiment of the present invention;
FIG. 2 schematically illustrates the configuration of an electronic device having a hidden switch which the correction control method shown in FIG. 1 is applied to;
FIG. 3 schematically illustrates the flow chart of the sub-steps of the step S4 shown in FIG. 1;
FIG. 4 schematically illustrates the intervals of the membership function in the rule base shown in FIG. 2;
FIG. 5 schematically illustrates the flow chart of a peak value decision unit of a fuzzy inference system shown in FIG. 2 performing a decision method;
FIG. 6 schematically illustrates the flow chart of the sub-steps of the step S5 shown in FIG. 5; and
FIG. 7 schematically illustrates the flow chart of a rule base of a fuzzy inference system shown in FIG. 2 performing an update method.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
The present invention will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose of illustration and description only. It is not intended to be exhaustive or to be limited to the precise form disclosed.
Please refer to FIG. 1 and FIG. 2. FIG. 1 schematically illustrates the flow chart of a correction control method of a hidden switch according to an embodiment of the present invention. FIG. 2 schematically illustrates the configuration of an electronic device having a hidden switch which the correction control method shown in FIG. 1 is applied to. As shown in FIG. 1 and FIG. 2, a correction control method of the present invention can correspondingly correct the control of a hidden switch 2 of an electronic device 1 in response to the changing of input conditions, such as aging situations, of the hidden switch 2. The electronic device 1 can be a mobile phone, an electronic wristband or a digital camera, but not limited herein. Any electronic device having a requirement of a hidden switch is applied to the correction control method of the present invention. In addition, the electronic device 1 includes not only at least a hidden switch 2, but also a controller 3 and a sensor 4. When the hidden switch 2 is pressed, the sensor 4 can sense the magnitude of a received pressure or a deformation caused by pressing of the hidden switch 2. The controller 3 uses an input value outputted by the sensor 4 during each pressing operation of the hidden switch 2 as an output value for controlling the hidden switch. In addition, the input conditions (e.g. aging situations) of the hidden switch 2 of the electronic device 1 practically affect the input value outputted by the sensor 4, and the output value of the controller 3 adjusts correspondingly in response to the change of the input value, so the output value of the controller 3 can practically reflect the using conditions of the hidden switch 2 of the electronic device 1. As a result, in the present embodiment, when the an output value is outputted by the controller 3 to control the hidden switch 2, the controller 3 further adjusts the control strategy corresponding to the hidden switch 2 according to the output value, such that the control is corrected for controlling the hidden switch in the next time according to the previous one output value.
In some embodiments, the input value received by the controller 3 from an analog-digital converter (ADC) 4 is the converted digital signal. Additionally, the controller 3 and the analog-digital converter 4 can be separately disposed and be independent from each other, but not limited herein. In some embodiments, the analog-digital converter 4 can be combined or integrated with the controller 3 for saving hardware space. On the other hand, the hidden switch 2 can be but not limited to a power button or a shutter button, and the number of the hidden switch 2 can be plural. For example, two hidden switches respectively constitute a volume up button and a volume down button.
In some embodiments, controller 3 utilizes a membership function of fuzzy control to supervise the operation of the hidden switch 2, so the controller 3 may rebuild a fuzzy inference system 30 during each operation of the hidden switch 2 and fuzzy control the hidden switch 2 through the fuzzy inference system 30, so that the advantages of enhancing the accuracy of the control range are achieved. Meanwhile, an automatic correction of the hidden switch 2 can be implemented when the input conditions of the hidden switch 2 are changed. Furthermore, when the input condition of the hidden switch 2 gets worse and further causes the control correction no longer being performed, the fuzzy inference system 30 can notify the user that the function of the fuzzy inference system 30 is invalid.
The fuzzy inference system 30 includes a fuzzification unit 31, a rule base 32, a fuzzy inference unit 33, a defuzzification unit 34 and a correction unit 35. The rule base 32 defines a plurality of fuzzy rules and form and range of at least a membership function. The fuzzification unit 31 correspondingly receives an input value from an analog-digital converter 4 when the pressing operation is performed through the hidden switch 2 and converts the input value into a fuzzy input set corresponding to the membership function in the rule base 32. The fuzzy inference unit 33 receives the fuzzy input set to execute inferences of the fuzzy rules so as to output a fuzzy output set. The defuzzification unit 34 performs a defuzzification on the fuzzy output set to determine a fuzzy interval where a dynamic range is located as every time the hidden switch 2 is pressed and correspondingly generate an output value, such that the hidden switch 2 is correspondingly controlled according to the output value. A maximum correction value and a minimum correction value can be stored in the correction unit 35. The initial values of the maximum correction value and the minimum correction value can be preset. The input value of the correction unit 35 is the output value of the present output of the defuzzification unit 34. In addition, the input value presently received by the correction unit 35 (i.e. the output value generated by the defuzzification unit 34 through the defuzzification in progress) is compared with the previous one result of the pressing operation of the hidden switch 2, and when the input value presently received is out of a set interval of the present maximum correction value in the specific proportional relationship, the output value presently being in progress of defuzzification of the defuzzification unit 34 is set as the maximum correction value. Moreover, several values under a non-inputted state (i.e. the background signal values generated by the hidden switch 2 when the hidden switch 2 is non-inputted) sampled by the fuzzification unit 31 before the previous operation of the hidden switch 2 are averaged as the minimum correction value by the correction unit 35.
In the previous embodiments, the controller 3 may firstly establish a system initial maximum value and a system initial minimum value converted from an analog signal into a digital signal according to the initial values of operation factory parameters of the electronic device 1 so as to initially establish the form and the range of the membership function by utilizing the system initial maximum value and the system initial minimum value. Under this circumstance, the controller 3 firstly defines a fuzzy inference theory and the judgment method thereof and further performs the inferences of a plurality of fuzzy rules.
Please refer to FIG. 1 again. Step S1, of rebuilding a fuzzy inference system 30, of the correction control method of the present invention is firstly performed. Next, step S2 of setting a maximum correction value and a minimum correction value is performed. In the step S2, the input value presently received by the correction unit 31 is compared with the previous one result of the pressing operation of the hidden switch 2, and when the input value presently received is out of a setting interval of the input value, the input value presently received is set as the maximum correction value. In addition, several sampled values under a non-inputted state before the previous operation of the hidden switch 2 are averaged as the minimum correction value.
After the step S2 is performed, step S3 of determining whether there is an output value to be outputted by the defuzzification unit 34. When the judgment result of the step S3 is TRUE, step S4 of deciding a intermediate correction value by an average value of the maximum correction value and the minimum correction value, and determining whether a range of an interval between the maximum correction value and the intermediate correction value is enough to constitute the fuzzy interval of the membership function is performed. When the judgment result of the step S4 is TRUE, step S5 of allowing the correction unit to output the maximum correction value, the minimum correction value and the intermediate correction value is performed. At last, step S9 of adjusting the fuzzy inference system is performed, so that the range and the number of the fuzzy interval of the membership function are dynamically adjusted.
On the other hand, when the judgment result of the step S3 is FALSE, step S6 of allowing the fuzzification unit 31 to constitute the minimum correction value according to all the output value which are presently received. Step S7 of determining whether a range of an interval between the maximum correction value and the minimum correction value is enough to constitute the fuzzy interval of the membership function is then performed. When the judgment result of the step S7 is TRUE, the step S4 is performed. On the contrary, when the judgment result of the step S7 is FALSE, step S8 of notifying that functions of the fuzzy inference system are failed is performed. Furthermore, when the judgment result of the step S4 is FALSE, it represents that the input condition of the hidden switch 2 is deteriorated and the control correction can be no longer performed, so that the step S8 of notifying the user that the function of the fuzzy inference system 30 is invalid is performed when the judgment result of the step S4 is FALSE.
From the above description, the correction control method of the present invention can determine whether the output value is outputted by the defuzzification unit 34 and dynamically adjust the magnitude of the fuzzy intervals and the number of the fuzzy intervals of the membership function in the rule base 32 through the feedback of the output value when the output value is existed and the input conditions of the hidden switch 2 are changed. The functionality of the supervised algorithm used by the hidden switch 2 is enhanced. In addition, once the input conditions are deteriorated and the correction control is unable to be performed, the correction control method of the present invention may still warn the user.
In the step S7 of the embodiments mentioned above, when the interval between the maximum correction value and the minimum correction value is greater than a first constant of a product multiplied by a system initial maximum value, the range of the interval between the maximum correction value and the minimum correction value is determined as being enough to constitute the fuzzy interval of the membership function, and the step S4 is performed. On the contrary, when the interval between the maximum correction value and the minimum correction value is less than or equal to the first constant of the product multiplied by the system initial maximum value, the range of the interval between the maximum correction value and the minimum correction value is determined as being not enough to constitute the fuzzy interval of the membership function, and the step S8 is performed. The first constant is a percentage value.
In the step S4, when the interval between the maximum correction value and the intermediate correction value is greater than a second constant of a product multiplied by a system initial maximum value, the range of the interval between the maximum correction value and the intermediate correction value is determined as being enough to constitute the fuzzy interval of the membership function, and the step S5 is performed. On the contrary, when the interval between the maximum correction value and the intermediate correction value is less than or equal to the second constant of the product multiplied by the system initial maximum value, the range of the interval between the maximum correction value and the intermediate correction value is determined as being not enough to constitute the fuzzy interval of the membership function, and the step S8 is performed. The second constant is a percentage value.
Please refer to FIG. 3. FIG. 3 schematically illustrates the flow chart of the sub-steps of the step S4 shown in FIG. 1. In some embodiments, the step S4 further includes sub-steps S40, S41, S42 and S43. After the step S3 is performed and finished, the sub-step S40 of determining whether the input value received by the fuzzification unit this time is located in a setting interval of the input value is performed. The setting interval of the input value is in a range of 0.9 to 1.1 times of current the maximum correction value. However, the interval range of the input set interval is not limited as described above. It can be correspondingly set according to the type of the electronic device 1.
When the judgment result of the sub-step S40 is FALSE, sub-step S41 of constituting the maximum correction value through the input value received by the fuzzification unit 31 this time is performed. On the contrary, when the judgment result of the sub-step S40 is TRUE, sub-step S42 of keeping the maximum correction value unchanged is performed. After the sub-step S41 is performed and finished, sub-step S43 of deciding the intermediate correction value through the maximum correction value and the minimum correction value, and determining whether the range of the interval between the maximum correction value and the intermediate correction value is capable of constituting the fuzzy interval of the membership function is performed. After sub-step S42 is performed and finished, the sub-step S43 is performed.
Please refer to FIG. 4. FIG. 4 schematically illustrates the intervals of the membership function in the rule base shown in FIG. 2. The horizontal axis of the waveform graph of the membership function of the rule base 32 is an adjustable and variable range, which represents the fuzzy interval after the input value or the output value is fuzzed. In addition, the horizontal axis of the membership function includes the lowest region, at least one intermediate region, and at least three fuzzy intervals of the highest region. The number of the intermediate regions may be, for example, M, in which M is greater than or equal to 1. The vertical axis represents the degree of membership (i.e. the occupied proportion of the input value or the output value after fuzzification in the membership function, DOM), with 0 to 1 (i.e. 0-100%) as the fuzzy criterion.
Please refer to FIG. 2 and FIG. 5. FIG. 5 schematically illustrates the flow chart of a peak value decision unit of a fuzzy inference system shown in FIG. 2 performing a decision method. In some embodiments, the fuzzy inference system 30 further includes a peak value decision unit 36 (as shown in FIG. 2). The peak value decision unit 36 is mainly utilized to receive the input value transmitted by the sensor 4, receive the maximum correction value, the minimum correction value and the intermediate correction value transmitted by the correction unit 35, calculate the number of the fuzzy intervals of the membership function by using the input value, the maximum correction value, the minimum correction value and the intermediate correction value, and provide the calculation result to the rule base 32, so that the rule base 32 may dynamically adjust the membership function.
In this embodiment, the peak value decision unit 36 may perform a decision method. The decision method will firstly perform step S50 of initially setting a maximum peak value and a minimum peak value. In the step S50, the maximum value of the input values reflected on the sensor 4 is set as the maximum peak value and the minimum value of the input values is simultaneously set as the minimum peak value when the hidden switch 2 is pressed under an ideal state (e.g. the time the hidden switch is just shipped from the factory).
After the step S50 is performed and finished, step S51 of determining whether an input value is received by the fuzzification unit 31 is performed. When the judgment result of the step S51 is TRUE, step S52 of deciding an intermediate value according to an average value of the maximum peak value and the minimum peak value and then determining whether the range of the interval between the maximum peak value and the intermediate value is enough to constitute the fuzzy interval of the membership function is performed. When the judgment result of the step S52 is TRUE, step S53 of setting a determining parameter Δ and determining the determining parameter Δ is greater than 0.6, less than 0.2, or in range of 0.2 and 0.6 (i.e. 0.2≤Δ≤0.6) is performed. The determining parameter Δ is written by:
Δ=|(intermediate value−intermediate correction value)|/intermediate correction value.
When the judgment result of the step S53 is that the determining parameter Δ is in range of 0.2 and 0.6, step S54 of calculating to obtain the number N of the fuzzy intervals of the membership function by using the input value, the maximum correction value, the minimum correction value and the intermediate correction value and providing the calculation result to the rule base 32 is performed, so that the rule base 32 may dynamically adjust the membership function. In the step S54, the formula of the number N of the fuzzy intervals is written by:
N=1+(|(maximum peak value−minimum peak value)|/(the third constant×determining parameter Δ)), in which the third constant is a percentage value.
When the judgment result of the step S53 is that the determining parameter Δ is greater than 0.6, it represents that the difference between the intermediate value and the intermediate correction value is too large to calculate the number of the fuzzy intervals of the membership function, so that step S55 of notifying the failure of the function of the fuzzy inference system 30 is performed. In addition, when the judgment result of the step S53 is that the determining parameter Δ is less than 0.2, the step S51 is re-performed.
Moreover, when the judgment result of the step S51 is FALSE, step S56 of constituting the minimum peak value according to the minimum correction value is performed. Step S57 of determining whether the range of the interval between the maximum peak value and the minimum peak value is enough to be designed as a new fuzzy interval of the membership function is performed. When the judgment result of the step S57 is TURE, the step S52 is performed. On the contrary, when the judgment result of the step S57 is FALSE, the step S55 is performed. Additionally, when the judgment result of the step S52 is FALSE, it represents that the input conditions of the hidden switch 2 are too bad to perform the correction of control, so that the step S55 is performed.
In the step S57 of the embodiments mentioned above, when the interval between the maximum peak value and the minimum peak value is greater than a first constant of a product multiplied by a system initial maximum value, the range of the interval between the maximum peak value and the minimum peak value is determined as being enough to be designed as a new fuzzy interval of the membership function, and the step S52 is performed. On the contrary, when the interval between the maximum peak value and the minimum peak value is less than or equal to the first constant of the product multiplied by the system initial maximum value, the range of the interval between the maximum peak value and the minimum peak value is determined as being not enough to be designed as a new fuzzy interval of the membership function, and the step S55 is performed.
Please refer to FIG. 6. FIG. 6 schematically illustrates the flow chart of the sub-steps of the step S5 shown in FIG. 5. In some embodiments, the step S52 further includes sub-steps S520-S523. After the step S51 is performed and finished, sub-step S520 of determining whether the input value received presently is in located in the setting interval of the input value is performed. When the judgment result of the step S520 is FALSE, sub-step S521 of constituting the maximum peak value according to the input value received presently is performed. On the contrary, when the judgment result of the step S520 is TRUE, sub-step S522 of constituting the maximum peak value according to the maximum correction value is performed. After the sub-step S521 is performed and finished, sub-step S523 of deciding the intermediate value according to the maximum peak value and the minimum peak value and determining whether the range of the interval between the maximum peak value and the intermediate value is enough to constitute the fuzzy interval of the membership function is performed. After the sub-step S522 is performed and finished, the sub-step S523 is performed.
By utilizing the peak value decision unit 36, the maximum values and minimum values of the input values may be continuously recorded during the operations of the hidden switch 2, and further the number of the fuzzy intervals of the membership function may be calculated, thereby providing the references to the rule base 32 for defining the fuzzy set.
Please refer to FIG. 2 and FIG. 7. FIG. 7 schematically illustrates the flow chart of a rule base of a fuzzy inference system shown in FIG. 2 performing an update method. An update method may be performed by the rule base 32 of the present embodiment. The update method firstly performs step S70 of obtaining the maximum peak value, the minimum peak value, the input value and the number N of the fuzzy intervals of the membership function from the peak value decision unit 36. Next, step S71 of determining whether a fuzzy rule is existed in the rule base 32 is performed. When the judgment result of the step S71 is FALSE, step S72 of calculating the fuzzy interval of the membership function according to the initial condition is performed. In the step S72, the initial condition includes the maximum peak value and the minimum peak value set according to the maximum value and the minimum value of the initial input values reflected on the controller 3 when the hidden switch 2 is pressed under an ideal state (e.g. the time the hidden switch is just shipped from the factory), and the initial number of the fuzzy intervals of the membership function obtained according to both the minimum peak value and the maximum peak value. Step S73 of building a membership function according to the calculation result and updating the fuzzy inference unit 33 is then performed.
In addition, when the judgment result of the step S71 is TRUE, step S74 of re-calculating the fuzzy interval of the membership function according to the maximum peak value, the minimum peak value and the number of the fuzzy intervals of the membership function set presently is performed. Next, step S75 of rebuilding the membership function according to the calculation result and updating the fuzzy inference unit 33 is performed.
In this embodiment, since the maximum peak value and the minimum peak value are continuously updated in the rule base 32, the membership function can be varied in response to the changes of the input conditions of the hidden switch 2, so that the membership function presently required by the hidden switch 2 can be defined more appropriately.
From the above description, the present invention provides a correction control method of a hidden switch. The correction control method of the present invention can determine whether the output value is outputted by the defuzzification unit and dynamically adjust the magnitude of the fuzzy intervals and the number of the fuzzy intervals of the membership function in the rule base when the output value is existed and the input conditions of the hidden switch are changed. The new fuzzy rules are continuously and automatically generated, so that the electronic product may utilized the new fuzzy rules as the determining conditions of the operations of the hidden switch. The functionality of the supervised algorithm used by the hidden switch is enhanced. Moreover, once the input conditions of the hidden switch are deteriorated and the correction control is unable to be performed, the correction control method of the present invention warns the user.

Claims (10)

What is claimed is:
1. A correction control method, applied to an electronic device comprising a hidden switch, an electronic controller and a sensor, wherein the sensor is configured to sense a pressing operation of the hidden switch, and the electronic controller is connected to the sensor, receives an input value transmitted from the sensor and utilizes a membership function of a fuzzy control to perform a correction control on each pressing operation of the hidden switch, the correction control method comprising:
(a) rebuilding a fuzzy inference system on each pressing operation of the hidden switch by the electronic controller, wherein the fuzzy inference system comprises a fuzzification unit, a rule base, a fuzzy inference unit, a defuzzification unit and a correction unit, the rule base defines a plurality of fuzzy rules and form and range of the membership function, the fuzzification unit is connected to the sensor and correspondingly receives the input value when the pressing operation is performed through the hidden switch and converts the input value into a fuzzy input set corresponding to the membership function, the fuzzy inference unit is connected to the fuzzification unit and receives the fuzzy input set to execute inferences of the fuzzy rules so as to output a fuzzy output set, and the defuzzification unit is connected to the fuzzy inference unit and performs a defuzzification on the fuzzy output set to determine a fuzzy interval where a dynamic range is adjusted when the hidden switch is pressed and correspondingly generates an output value, and the correction unit is connected to an output of the defuzzification unit;
(b) setting a maximum correction value and a minimum correction value on the correction unit by the electronic controller;
(c) determining whether the output value is outputted from the defuzzification unit;
(d) when determining that the result of the step (c) is satisfied, the correction unit determines an intermediate correction value based on an average value of the maximum correction value and the minimum correction value, and the correction unit determines whether a range of an interval between the maximum correction value and the intermediate correction value is enough to constitute the fuzzy interval of the membership function;
(e) when the determining result of the step (d) is satisfied, the correction unit outputs the maximum correction value, the minimum correction value and the intermediate correction value;
(f) adjusting the fuzzy inference system by the electronic controller, so that the range and the number of the fuzzy interval of the membership function are dynamically adjusted according to the maximum correction value, the minimum correction value and the intermediate correction value;
(g) when the determining result of the step (c) is not satisfied, the electronic controller constitutes the minimum correction value according to an average value of all the input values which are transmitted from the sensor and presently received by the fuzzification unit;
(h) after the step (g) is performed, the electronic controller determines whether a range of an interval between the maximum correction value and the minimum correction value is enough to constitute the fuzzy interval of the membership function; and
(i) when the determining result of the step (h) is satisfied, the step (d) is repeatedly done, when the determining result of the step (h) is not satisfied, the electronic controller notifies that functions of the fuzzy inference system are failed.
2. The correction control method according to claim 1, wherein an input value received by the correction unit is the output value outputted by the defuzzification unit, and wherein in the step (b), the input value presently received by the correction unit is compared with the previous result of the pressing operation of the hidden switch, and when the input value presently received is out of a setting interval of the input value, the output value presently being in progress of defuzzification of the defuzzification unit is set as the maximum correction value.
3. The correction control method according to claim 2, wherein the setting interval of the input value is in a range of 0.9 to 1.1 times of the current maximum correction value.
4. The correction control method according to claim 1, wherein in the step (b), several values sampled by the fuzzification unit before the previous operation of the hidden switch, are averaged as the minimum correction value, wherein the several values are generated by the hidden switch when the hidden switch is non-inputted.
5. The correction control method according to claim 1, wherein the step (d) further comprises:
(d1) the correction unit determining whether the current input value received by the fuzzification unit is located in a setting interval of the input value;
(d2) when determining result of the step (d1) is not satisfied, the electronic controller constitutes the maximum correction value based on the input value received by the fuzzification unit this time;
(d3) when determining result of the step (d1) is satisfied, the electronic controller keeps the maximum correction value unchanged; and
(d4) after the step (d2) or the step (d3) is performed, the correction unit determines the intermediate correction value based on the maximum correction value and the minimum correction value, and determining whether the range of the interval between the maximum correction value and the intermediate correction value is capable of constituting the fuzzy interval of the membership function.
6. The correction control method according to claim 1, wherein the input value received by the fuzzification unit and the magnitude of received pressure or deformation have a corresponding relationship during the pressing operation of the hidden switch.
7. The correction control method according to claim 1, wherein in the step (g), when the interval between the maximum correction value and the minimum correction value is greater than a first constant of a product multiplied by a system initial maximum value, the range of the interval between the maximum correction value and the minimum correction value is determined as being enough to constitute the fuzzy interval of the membership function, and when the interval between the maximum correction value and the minimum correction value is less than or equal to the first constant of the product multiplied by the system initial maximum value, the range of the interval between the maximum correction value and the minimum correction value is determined as being not enough to constitute the fuzzy interval of the membership function.
8. The correction control method according to claim 7, wherein the first constant is a percentage value.
9. The correction control method according to claim 1, wherein in the step (d), when the interval between the maximum correction value and the intermediate correction value is greater than a second constant of a product multiplied by a system initial maximum value, the range of the interval between the maximum correction value and the intermediate correction value is determined as being enough to constitute the fuzzy interval of the membership function, and when the interval between the maximum correction value and the intermediate correction value is less than or equal to the second constant of the product multiplied by the system initial maximum value, the range of the interval between the maximum correction value and the intermediate correction value is determined as being not enough to constitute the fuzzy interval of the membership function.
10. The correction control method according to claim 9, wherein the second constant is a percentage value.
US16/535,953 2019-05-07 2019-08-08 Correction control method of hidden switch with fuzzy inference system Active 2040-06-02 US11221593B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW108115786A TWI725423B (en) 2019-05-07 2019-05-07 Correction control method for hidden switch
TW108115786 2019-05-07

Publications (2)

Publication Number Publication Date
US20200356064A1 US20200356064A1 (en) 2020-11-12
US11221593B2 true US11221593B2 (en) 2022-01-11

Family

ID=73046313

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/535,953 Active 2040-06-02 US11221593B2 (en) 2019-05-07 2019-08-08 Correction control method of hidden switch with fuzzy inference system

Country Status (2)

Country Link
US (1) US11221593B2 (en)
TW (1) TWI725423B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828345B (en) * 2022-06-29 2022-09-20 深圳市爱图仕影像器材有限公司 Lamp bead light parameter calibration method, lamp bead parameter acquisition method, device and system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0555482A1 (en) * 1990-10-29 1993-08-18 Omron Corporation Device for performing fuzzy inference and method for monitoring operation thereof
US5305425A (en) * 1989-04-14 1994-04-19 Omron Corporation Method of and apparatus for evaluating membership functions or rules in fuzzy reasoning system
US5587898A (en) * 1994-03-17 1996-12-24 Siemens Aktiengesellschaft Method and apparatus for fuzzy control
US5708761A (en) * 1994-03-31 1998-01-13 Mitsubishi Denki Kabushiki Kaisha Fuzzy development-support device
US6073262A (en) * 1997-05-30 2000-06-06 United Technologies Corporation Method and apparatus for estimating an actual magnitude of a physical parameter on the basis of three or more redundant signals
US20020147530A1 (en) 2001-04-04 2002-10-10 Honda Giken Kogyo Kabushiki Kaisha Control apparatus for electric motor and control apparatus for hybrid vehicle
US6853991B1 (en) * 1999-10-27 2005-02-08 Agere Systems Inc. Fuzzy logic system with evolutionary variables rules
US20070240437A1 (en) 2006-04-14 2007-10-18 Kabushiki Kaisha Toshiba Air conditioning controller
US20070250214A1 (en) * 2006-04-20 2007-10-25 Shu-Yee Lee Method and apparatus for fuzzy logic control enhancing advanced process control performance
WO2009082042A1 (en) 2007-12-21 2009-07-02 Industry University Cooperation Foundation Of Kyungwon University Nonlinear time series prediction method for weighted average defuzzification based on newfm
US20100138364A1 (en) * 2008-10-28 2010-06-03 Pedro Ponce Cruz Intelligent Control Toolkit
TW201429098A (en) 2013-01-09 2014-07-16 中原大學 Neural static switch
US8892496B2 (en) * 2009-08-19 2014-11-18 University Of Leicester Fuzzy inference apparatus and methods, systems and apparatuses using such inference apparatus
TW201712280A (en) 2015-09-21 2017-04-01 崑山科技大學 Water heater management system and method for fuzzy control based on environmental data analysis
US20170278008A1 (en) * 2016-03-25 2017-09-28 Government Of The United States, As Represented By The Secretary Of The Air Force KM-Logic: Computationally Efficient Real-Time MIMO Fuzzy Inference System
TW201743148A (en) 2016-06-08 2017-12-16 wei qiang Huang Automatically adjustable time control device calculating the best operation time of a controlled device by means of collecting environmental conditions
TW201839578A (en) 2017-04-20 2018-11-01 宏達國際電子股份有限公司 Handheld electronic apparatus, touch sensor and touch detection method thereof

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5305425A (en) * 1989-04-14 1994-04-19 Omron Corporation Method of and apparatus for evaluating membership functions or rules in fuzzy reasoning system
EP0555482A1 (en) * 1990-10-29 1993-08-18 Omron Corporation Device for performing fuzzy inference and method for monitoring operation thereof
US5587898A (en) * 1994-03-17 1996-12-24 Siemens Aktiengesellschaft Method and apparatus for fuzzy control
US5708761A (en) * 1994-03-31 1998-01-13 Mitsubishi Denki Kabushiki Kaisha Fuzzy development-support device
US6073262A (en) * 1997-05-30 2000-06-06 United Technologies Corporation Method and apparatus for estimating an actual magnitude of a physical parameter on the basis of three or more redundant signals
US6853991B1 (en) * 1999-10-27 2005-02-08 Agere Systems Inc. Fuzzy logic system with evolutionary variables rules
US20020147530A1 (en) 2001-04-04 2002-10-10 Honda Giken Kogyo Kabushiki Kaisha Control apparatus for electric motor and control apparatus for hybrid vehicle
US20070240437A1 (en) 2006-04-14 2007-10-18 Kabushiki Kaisha Toshiba Air conditioning controller
US20070250214A1 (en) * 2006-04-20 2007-10-25 Shu-Yee Lee Method and apparatus for fuzzy logic control enhancing advanced process control performance
WO2009082042A1 (en) 2007-12-21 2009-07-02 Industry University Cooperation Foundation Of Kyungwon University Nonlinear time series prediction method for weighted average defuzzification based on newfm
US20100138364A1 (en) * 2008-10-28 2010-06-03 Pedro Ponce Cruz Intelligent Control Toolkit
US8892496B2 (en) * 2009-08-19 2014-11-18 University Of Leicester Fuzzy inference apparatus and methods, systems and apparatuses using such inference apparatus
TW201429098A (en) 2013-01-09 2014-07-16 中原大學 Neural static switch
TW201712280A (en) 2015-09-21 2017-04-01 崑山科技大學 Water heater management system and method for fuzzy control based on environmental data analysis
US20170278008A1 (en) * 2016-03-25 2017-09-28 Government Of The United States, As Represented By The Secretary Of The Air Force KM-Logic: Computationally Efficient Real-Time MIMO Fuzzy Inference System
TW201743148A (en) 2016-06-08 2017-12-16 wei qiang Huang Automatically adjustable time control device calculating the best operation time of a controlled device by means of collecting environmental conditions
TW201839578A (en) 2017-04-20 2018-11-01 宏達國際電子股份有限公司 Handheld electronic apparatus, touch sensor and touch detection method thereof

Also Published As

Publication number Publication date
TWI725423B (en) 2021-04-21
TW202042083A (en) 2020-11-16
US20200356064A1 (en) 2020-11-12

Similar Documents

Publication Publication Date Title
US11257441B2 (en) Method and device for controlling screen backlight, method and device for setting screen backlight, and multi-screen terminal
US11221593B2 (en) Correction control method of hidden switch with fuzzy inference system
US9805284B2 (en) Image processing apparatus, and non-transitory computer readable medium for generating a feature-reflected image and for changing a degree of reflection of a feature in the feature-reflected image
CN107726539B (en) Terminal operation parameter adjusting method and device and computer readable storage medium
US20110051959A1 (en) Sound Volume Adjusting Apparatus
KR101058612B1 (en) Color correction method of image using multi-touch touch screen
TWI243616B (en) Method for adjusting brightness of display
JP5088131B2 (en) Power control circuit and power control method
KR101145602B1 (en) Correction method of image color using multi-touchable touch screen
CN114430600B (en) Breathing lamp control method, knob type switch and storage medium
JP2004274771A (en) Apparatus and method for adaptive brightness correction
CN110706673B (en) Display control method and device of display, electronic equipment and computer readable storage medium
KR100490408B1 (en) Volume control apparatus and method thereof
US20110018630A1 (en) Automatic gain control loop with hysteresis switching
JP2011010503A (en) Constant voltage generating circuit and lcd device employing the same
JPH112795A (en) Backlight controller for lcd
KR100889990B1 (en) Mobile communication terminal and operating method for the same
CN108800419A (en) Control method, device, air conditioner and the remote controler of air conditioner
KR19990026076A (en) How to save color monitor automatically and switch colors automatically
JP3716294B2 (en) Three-position control method and three-position control apparatus
KR102243301B1 (en) Dc offset correction apparatus of analog circuit
CN115562401A (en) Heating control method and device, storage medium and heating equipment
JP4631489B2 (en) Wireless terminal and APC control method used therefor
CN115440175A (en) Screen brightness adjusting method, device, equipment and medium
TW202241121A (en) Set value auto-adjusting device and method thereof

Legal Events

Date Code Title Description
AS Assignment

Owner name: COMPAL ELECTRONICS, INC., TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CHEN, HUANG-CHIH;REEL/FRAME:050005/0540

Effective date: 20190716

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE