WO2017113615A1 - Detection apparatus and method for adaptation of terminal to button board - Google Patents

Detection apparatus and method for adaptation of terminal to button board Download PDF

Info

Publication number
WO2017113615A1
WO2017113615A1 PCT/CN2016/085039 CN2016085039W WO2017113615A1 WO 2017113615 A1 WO2017113615 A1 WO 2017113615A1 CN 2016085039 W CN2016085039 W CN 2016085039W WO 2017113615 A1 WO2017113615 A1 WO 2017113615A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage
terminal
detection signal
value
voltage value
Prior art date
Application number
PCT/CN2016/085039
Other languages
French (fr)
Chinese (zh)
Inventor
黄柏维
王安伟
古伟锋
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017113615A1 publication Critical patent/WO2017113615A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3277Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to an apparatus and method for adapting and detecting a terminal and a keypad.
  • the terminal is equipped with a button board.
  • the user can press the button on the button board to implement the corresponding function.
  • the user presses the button of the television to implement volume adjustment, channel switching and the like.
  • the voltage interval corresponding to each key value is not uniformly defined, which may cause the terminal and the keypad to be unsuitable.
  • it is usually detected whether the terminal and the keypad are adapted after the completion of the assembly of the keypad, and it is not possible to detect whether the terminal and the keypad are adapted in time before the keypad is assembled.
  • the main object of the present invention is to provide an apparatus and method for adapting the terminal and the keypad, and aim to solve the technical problem that the existing terminal cannot detect the adaptation of the terminal and the keypad in time before assembling the keypad.
  • the present invention provides an adaptation detecting device for a terminal and a keypad, wherein the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad,
  • the device for adapting the detection of the terminal and the keypad includes a main control chip, and the main control chip includes:
  • an output module configured to output a preset voltage detection signal to the terminal, where the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal, where the voltage detection signal starts from 0V and is preset according to the preset value a level signal that is sequentially incremented by the unit;
  • a determining module configured to determine, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and save;
  • An acquiring module configured to acquire a voltage value corresponding to the button signal when detecting a button signal triggered by the button board;
  • a processing module configured to determine a positional relationship between a voltage value corresponding to the button signal and any one of the voltage intervals, and determine, according to the positional relationship, whether the terminal is adapted to the keypad, and determine the voltage detection Whether the voltage value of the signal is greater than or equal to the preset voltage threshold, and when the determination result is YES, the control output module stops outputting the voltage detection signal;
  • the processing module includes:
  • a comparison unit configured to compare a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
  • a determining unit configured to: when the voltage value corresponding to the button signal does not belong to any voltage interval, or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than a preset When the voltage difference threshold is reached, it is determined that the terminal is not adapted to the keypad.
  • the adaptation detecting device for the terminal and the keypad further comprises a DAC module and an ADC module respectively connected to the main control chip, wherein:
  • the DAC module is configured to convert the voltage detection signal output by the output module into an analog signal and transmit the signal to the terminal;
  • the ADC module is configured to perform sampling and analog-to-digital conversion on a voltage detection signal output by the DAC module and a key signal output by the keypad, to obtain an actual voltage value of the voltage detection signal and the key signal. Voltage value;
  • the determining module determines, according to the received key values and the actual voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and saves them.
  • the determining module comprises:
  • a processing unit configured to: when receiving a key value corresponding to the voltage detection signal fed back by the terminal, correlating a voltage value of the voltage detection signal with the received key value;
  • a statistical unit configured to calculate a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values when the voltage detection signal output is completed;
  • the determining unit is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  • the present invention further provides an adaptation detecting device for a terminal and a keypad, and an adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad.
  • the device for adapting the detection of the terminal and the keypad comprises a main control chip, and the main control chip comprises:
  • An output module configured to output a preset voltage detection signal to the terminal, where the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal;
  • a determining module configured to determine, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and save;
  • An acquiring module configured to acquire a voltage value corresponding to the button signal when detecting a button signal triggered by the button board;
  • the processing module is configured to determine a positional relationship between a voltage value corresponding to the button signal and any of the voltage intervals, and determine, according to the positional relationship, whether the terminal is adapted to the keypad.
  • the processing module comprises:
  • a comparison unit configured to compare a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
  • a determining unit configured to: when the voltage value corresponding to the button signal does not belong to any voltage interval, or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than a preset When the voltage difference threshold is reached, it is determined that the terminal is not adapted to the keypad.
  • the adaptation detecting device for the terminal and the keypad further comprises a DAC module and an ADC module respectively connected to the main control chip, wherein:
  • the DAC module is configured to convert the voltage detection signal output by the output module into an analog signal and transmit the signal to the terminal;
  • the ADC module is configured to perform sampling and analog-to-digital conversion on a voltage detection signal output by the DAC module and a key signal output by the keypad, to obtain an actual voltage value of the voltage detection signal and the key signal. Voltage value;
  • the determining module determines, according to the received key values and the actual voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and saves them.
  • the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit
  • the processing module is further configured to:
  • the determining module comprises:
  • a processing unit configured to: when receiving a key value corresponding to the voltage detection signal fed back by the terminal, correlating a voltage value of the voltage detection signal with the received key value;
  • a statistical unit configured to calculate a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values when the voltage detection signal output is completed;
  • the determining unit is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  • the present invention further provides an adaptation detection method for a terminal and a keypad, and the method for detecting the adaptation of the terminal and the keypad includes the following steps:
  • the terminal queries and feeds back a key value corresponding to a voltage value of the voltage detection signal
  • the step of determining the positional relationship between the voltage value corresponding to the button signal and any of the voltage intervals, and determining whether the terminal is adapted to the keypad according to the positional relationship comprises:
  • the terminal is not adapted to the keypad.
  • the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit.
  • the method further includes:
  • the step of determining a voltage interval corresponding to each key value according to the received respective key values and the voltage value of the corresponding voltage detection signal comprises:
  • the voltage interval corresponding to each key value is determined according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  • the method further includes:
  • the voltage interval corresponding to each key value is determined and saved according to the received key values and the actual voltage values of the corresponding voltage detection signals.
  • the device and method for adapting the terminal and the keypad are proposed, and the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad, and the terminal and the keypad are used.
  • the adaptive detection device includes a master chip. Before the terminal and the keypad are assembled, the output module and the determining module of the main control chip are used to determine the voltage interval corresponding to each key value of the terminal and save, and then the user presses a button on the button to trigger a corresponding button signal, and the master control The acquiring module of the chip acquires the voltage value corresponding to the button signal when the button signal is detected, and the processing module of the master chip determines whether the terminal and the button board are adapted according to the positional relationship between the voltage value corresponding to the button signal and the voltage interval, therefore, It realizes that the button board and the terminal are correctly detected before the terminal is assembled with the button board.
  • FIG. 1 is a schematic structural diagram of a terminal button detecting system in each embodiment
  • FIG. 2 is a schematic diagram of functional modules of a first embodiment of an apparatus for detecting and adapting a terminal and a keypad according to the present invention
  • FIG. 3 is a schematic diagram of a refinement function module of a processing module in a first embodiment of an apparatus for detecting and adapting a terminal and a keypad according to the present invention
  • FIG. 4 is a schematic diagram of a refinement function module of a determining module in a second embodiment of the apparatus for detecting and adapting a terminal and a keypad according to the present invention
  • FIG. 5 is a schematic flowchart of a first embodiment of a method for detecting a terminal and a keypad according to the present invention
  • FIG. 6 is a schematic diagram of a refinement process for determining a voltage interval corresponding to each key value in a second embodiment of the method for detecting a terminal and a keypad according to the present invention.
  • the present invention provides an adaptation detecting device for a terminal and a keypad.
  • the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad.
  • the device for detecting and adapting the terminal and the keypad includes a main control chip.
  • FIG. 2 is a schematic diagram of the functional module of the first embodiment of the device for detecting the terminal and the keypad.
  • the main control chip of the adaptation detecting device for the terminal and the keypad includes:
  • the output module 10 is configured to output a preset voltage detection signal to the terminal, and the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal;
  • the terminal button detecting system is constituted by the terminal, the fitting detecting device for the terminal and the key sheet, and the key sheet.
  • the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad.
  • the terminal includes, but is not limited to, a device with a button such as a television or a mobile phone.
  • the manufacturer sets a corresponding voltage interval for the key value of each function button of the terminal. Since different manufacturers have different setting standards for the voltage ranges corresponding to the key values, that is, the voltage intervals corresponding to each key value are currently not uniformly specified.
  • the voltage range corresponding to the key value of the "increase volume” function button in one terminal is 0-0.5v
  • the voltage range corresponding to the key value of the "increase volume” function button in another terminal is 0.2-0.8. v. Therefore, it is necessary to determine the voltage interval corresponding to each key value of the terminal.
  • the main control chip for the adaptation detecting device of the terminal and the keypad includes, but is not limited to, a 51 single chip microcomputer.
  • the output module 10 of the main control chip outputs preset voltage detection signals to the terminal.
  • the terminal stores a preset relationship between the key value and the voltage value.
  • the terminal queries the preset key value and voltage value relationship table to query whether there is a key value corresponding to the voltage value of the voltage detection signal. For example, if the preset key value and voltage value relationship table is a correspondence table between the key value and the voltage interval, the terminal queries the received voltage detection signal in the correspondence table between the key value and the voltage interval.
  • the voltage value is within a voltage range corresponding to a certain key value.
  • the terminal queries the key value corresponding to the voltage value of the voltage detection signal
  • the terminal feeds back the queried key value, that is, the key value corresponding to the voltage value of the voltage detection signal.
  • the terminal does not query the key value corresponding to the voltage value of the voltage detection signal, that is, when the voltage value of the voltage detection signal does not have a corresponding key value, the terminal feeds back the invalid value.
  • a determining module 20 configured to determine, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and save the voltage interval;
  • the determining module 20 of the main control chip receives the key value fed back by the terminal or receives an invalid value fed back by the terminal.
  • the output module 10 outputs a plurality of voltage detection signals, and the terminal may feed back the same key value, that is, the determining module 20 may receive the terminal to feedback the same key value multiple times.
  • the determining module 20 determines the voltage interval corresponding to each key value according to each received key value and the voltage value of the voltage detection signal corresponding to each received key value. And save.
  • the determination module 20 determines the key value corresponding to the “increase volume” function button according to the voltage values of the five voltage detection signals. The voltage interval is saved; if the voltage value of the eight voltage detection signals corresponds to the key value of the “reduced volume” function button, the determining module 20 determines the key of the “reduced volume” function button according to the voltage values of the eight voltage detection signals. The voltage range corresponding to the value is saved.
  • the obtaining module 30 is configured to acquire a voltage value corresponding to the button signal when detecting a button signal triggered by the keypad;
  • the determining module 20 determines the voltage interval corresponding to each key value of the terminal.
  • the voltage value corresponding to each button of the keypad is acquired.
  • the button signal corresponding to the button is generated, and the button signal is transmitted to the main control chip.
  • the acquiring module 30 of the main control chip detects the button signal, the button signal is acquired. Voltage value.
  • the processing module 40 is configured to determine a positional relationship between a voltage value corresponding to the button signal and any one of the voltage intervals, and determine, according to the positional relationship, whether the terminal is adapted to the keypad.
  • the processing module 40 After the obtaining module 30 obtains the voltage value corresponding to the button signal, the processing module 40 compares the voltage value corresponding to the button signal with the voltage interval corresponding to each key value of the saved terminal, and determines the voltage value corresponding to the button signal. The positional relationship of the voltage interval corresponding to each key value of the saved terminal, and determining whether the terminal is adapted to the keypad according to the determined positional relationship. Specifically, as shown in FIG. 3, the processing module 40 includes:
  • the comparison unit 41 is configured to compare a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
  • the determining unit 42 is configured to: when the voltage value corresponding to the button signal does not belong to any voltage interval, or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than When the voltage difference threshold is set, it is determined that the terminal is not adapted to the keypad.
  • the comparison unit 41 compares the acquired voltage value with the voltage interval corresponding to each key value of the saved terminal, and determines whether the obtained voltage value belongs to a certain key value of the terminal. Voltage range. If the obtained voltage value does not belong to a voltage interval corresponding to any button of the terminal, that is, for the terminal, the button corresponding to the button signal is invalid, and the determining unit 42 determines the terminal and the The keypad is not suitable.
  • the comparison unit 41 determines that the acquired voltage value belongs to a voltage interval corresponding to a certain key value of the terminal, further calculating each threshold voltage value of the obtained voltage value and the voltage interval corresponding to the key value.
  • Absolute difference Generally, the voltage interval corresponding to the key has two threshold voltage values, and the processing module 40 respectively calculates the absolute difference between the obtained threshold voltage values of the voltage range corresponding to the key value.
  • a preset voltage difference threshold is set in advance, and the preset voltage difference threshold is flexibly set according to actual conditions, and is not limited herein. In the calculated absolute difference value of the threshold voltage value of the voltage range corresponding to the key value, the comparison unit 41 determines whether there is an absolute difference value smaller than the preset voltage difference threshold value.
  • the determining unit 42 determines that the terminal is not adapted to the keypad. If there is no absolute difference value that is less than the preset voltage difference threshold, that is, the absolute difference between any obtained threshold voltage value of the voltage value corresponding to the key value is greater than or equal to When the voltage difference threshold is preset, the determining unit 42 determines that the key value is the key value of the button corresponding to the button signal.
  • the determining module 20 determines, according to the key values fed back by the terminal and the voltage values of the respective voltage detection signals. The voltage interval corresponding to each key value of the terminal is determined and saved.
  • the acquiring module 30 acquires the voltage value corresponding to the button signal when the button signal triggered by the button is detected, and the processing module 40 according to the button. The positional relationship between the voltage value corresponding to the signal and the voltage interval determines whether the terminal and the keypad are adapted. Therefore, it is timely detected whether the terminal and the keypad are adapted before the button panel of the terminal is assembled, so that when the detection is not adapted The rectification is performed to effectively prevent the terminal assembly from assembling the unsuitable keypad.
  • the apparatus for detecting the terminal and the keypad further includes The main control chip is connected to the DAC module and the ADC module, wherein:
  • the DAC module is configured to convert the voltage detection signal output by the output module into an analog signal and transmit the signal to the terminal;
  • the ADC module is configured to perform sampling and analog-to-digital conversion on a voltage detection signal output by the DAC module and a key signal output by the keypad, to obtain an actual voltage value of the voltage detection signal and the key signal. Voltage value;
  • the determining module determines and stores the voltage interval corresponding to each key value according to the received key values and the actual voltage value of the corresponding voltage detection signal.
  • the adaptation detecting device for the terminal and the keypad further includes a DAC (Digital to) respectively connected to the main control chip.
  • the DAC module is further connected to the terminal control chip.
  • the output module 10 outputs the voltage detection signal of the digital signal format
  • the DAC module converts the voltage detection signal of the digital signal format into an analog signal and transmits the signal to the terminal.
  • the terminal After receiving the voltage detection signal of the analog signal format, the terminal identifies the key value corresponding to the voltage detection signal, or identifies the voltage detection signal corresponding to the invalid value.
  • the specific identification process is as described in the first embodiment, and details are not described herein again.
  • the DAC module converts the voltage detection signal of the digital signal format into After the analog signal
  • the ADC module samples the voltage detection signal of the analog signal format output by the DAC module, and performs analog-to-digital conversion on the sampled voltage detection signal to obtain an actual voltage value of the voltage detection signal.
  • the determining module 20 determines and stores the voltage intervals corresponding to the respective key values according to the received key values and the actual voltage values of the corresponding voltage detection signals.
  • the ADC module is connected to the keypad, and when the user presses a button trigger button signal on the button, the button signal is an analog signal, and the ADC module performs the button signal. Sampling, and performing analog-to-digital conversion on the sampled button signal to obtain a voltage value of the button signal.
  • the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit
  • the processing module 40 is further configured to:
  • each preset voltage detection signal output by the output module 10 is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit, for example, a level signal sequentially increased according to an increasing law of 0.01V. .
  • the processing module 40 determines whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold. For example, if the preset voltage threshold is preset to be equal to the power supply voltage, the processing module 40 determines whether the voltage value of the voltage detection signal is greater than or equal to the power supply voltage.
  • the output module 10 When the voltage value of the voltage detection signal output by the output module 10 is less than the preset voltage threshold, the output module 10 continues to output the voltage detection signal; when the voltage value of the voltage detection signal output by the output module 10 is greater than or equal to the preset voltage At the threshold, the processing module 40 controls the output module 10 to stop outputting the voltage detection signal, that is, the output module 10 outputs the voltage detection signal.
  • the determining module 20 includes:
  • the processing unit 21 is configured to associate a voltage value of the voltage detection signal with the received key value when receiving a key value corresponding to the voltage detection signal fed back by the terminal;
  • the statistic unit 22 is configured to count, when the voltage detection signal output is completed, a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values;
  • the determining unit 23 is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  • the processing unit 21 associates the key value with the voltage value of the voltage detection signal.
  • the statistics unit 22 counts a plurality of voltage values associated with the respective key values, and obtains a maximum voltage value and a minimum voltage value associated with the respective key values from the plurality of voltage values associated with the respective key values.
  • the determining unit 23 determines the voltage interval corresponding to each of the key values based on the maximum voltage value and the minimum voltage value associated with the respective key values. For example, if the maximum voltage value associated with a certain key value of the terminal is 0.56v and the associated minimum voltage value is 0.12v, the determining unit 23 determines that the voltage interval corresponding to the key value is [0.12, 0.56] v. .
  • the adaptation detecting device for the terminal and the keypad further includes a display screen.
  • the display screen may be an LCD liquid crystal display, which is not limited herein.
  • the voltage display corresponding to each key value of the terminal, the voltage value corresponding to the key signal, and the prompt information that is not adapted when the terminal and the keypad are not adapted may be displayed through the display screen.
  • each voltage detection signal output by the output module 10 is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit until the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold.
  • the processing module 40 controls the output module 10 to stop outputting the voltage detection signal.
  • FIG. 5 is a schematic flowchart of a first embodiment of a method for detecting a terminal and a keypad.
  • the method for detecting the adaptation of the terminal and the keypad includes the following steps:
  • Step S10 outputting a preset voltage detection signal to the terminal
  • Step S20 the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal
  • the adaptation detecting device for the terminal and the keypad is described in the foregoing apparatus embodiment of the present invention (hereinafter referred to as an adaptation detecting device), which is used by the present invention.
  • the method for detecting the adaptation of the terminal and the keypad is to detect whether the terminal and the keypad are adapted.
  • the adaptation detecting device is connected between the terminal control chip and the keypad.
  • the terminal includes, but is not limited to, a device with a button such as a television or a mobile phone. When each terminal is in production, the manufacturer sets a corresponding voltage interval for the key value of each function button of the terminal.
  • the voltage range corresponding to the key value of the "increase volume” function button in one terminal is 0-0.5v
  • the voltage range corresponding to the key value of the "increase volume” function button in another terminal is 0.2-0.8. v. Therefore, it is necessary to determine the voltage interval corresponding to each key value of the terminal.
  • the adaptation detecting device acquires a voltage interval corresponding to each key value of the terminal by using a voltage detection signal. Specifically, the adaptation detecting means outputs the preset respective voltage detection signals to the terminal.
  • the terminal stores a preset relationship between the key value and the voltage value.
  • the terminal queries the preset key value and voltage value relationship table to query whether there is a key value corresponding to the voltage value of the voltage detection signal. For example, if the preset key value and voltage value relationship table is a correspondence table between the key value and the voltage interval, the terminal queries the received voltage detection signal in the correspondence table between the key value and the voltage interval. Whether the voltage value is within a voltage range corresponding to a certain key value.
  • the terminal When it is queried that the voltage value of the voltage detection signal is within a voltage interval corresponding to a certain key value, that is, the key value corresponding to the voltage value of the voltage detection signal is queried; otherwise, the voltage is not queried.
  • the key value corresponding to the voltage value of the detection signal When the terminal queries the key value corresponding to the voltage value of the voltage detection signal, the queried key value is fed back to the adaptive detection device, that is, the key value corresponding to the voltage value of the voltage detection signal is fed back to the Adapt the detection device.
  • the terminal does not query the key value corresponding to the voltage value of the voltage detection signal, that is, when the voltage value of the voltage detection signal does not have a corresponding key value, the terminal feeds back the invalid value to the adaptation detecting device.
  • Step S30 determining, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and saving;
  • the adaptation detecting device After each output of a voltage detection signal to the terminal, the adaptation detecting device receives the key value fed back by the terminal or receives an invalid value fed back by the terminal. Wherein, the adaptation detecting device outputs a plurality of voltage detection signals, and the terminal may feed back the same key value, that is, the adaptation detecting device may receive the terminal to feedback the same key value multiple times.
  • the adaptation detecting means determines the voltage interval corresponding to each key value according to the key value received each time and the voltage value of the voltage detection signal corresponding to each received key value, and saves.
  • the adaptation detecting device determines the key value corresponding to the “increase volume” function button according to the voltage values of the five voltage detection signals. The voltage interval is saved; if the voltage value of the eight voltage detection signals corresponds to the key value of the “decrease volume” function button, the adaptation detecting device determines the “decrease volume” function button according to the voltage values of the eight voltage detection signals. The voltage range corresponding to the key value is saved.
  • Step S40 detecting whether there is a button signal triggered by the keypad, and acquiring a voltage value corresponding to the button signal when the button signal is detected;
  • the adaptation detecting device After determining the voltage interval corresponding to each key value of the terminal, the adaptation detecting device then acquires the voltage value corresponding to each button of the keypad.
  • a button signal corresponding to the button is generated, and the button signal is transmitted to the adaptation detecting device.
  • the adaptation detecting device detects whether there is a button signal triggered by the keypad, and when detecting the button signal, the adaptation detecting device acquires a voltage value corresponding to the button signal.
  • Step S50 determining a positional relationship between a voltage value corresponding to the button signal and any of the voltage intervals, and determining, according to the positional relationship, whether the terminal is adapted to the keypad.
  • the adaptation detecting device After obtaining the voltage value corresponding to the button signal, the adaptation detecting device compares the voltage value corresponding to the button signal with the voltage interval corresponding to each key value of the saved terminal, and determines the voltage value corresponding to the button signal and saves The positional relationship of the voltage interval corresponding to each key value of the terminal, and determining whether the terminal is adapted to the keypad according to the determined positional relationship.
  • the step S50 includes:
  • Step a comparing a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
  • Step b the voltage value corresponding to the button signal does not belong to any voltage interval or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than the preset voltage difference. At the threshold, it is determined that the terminal is not adapted to the keypad.
  • the adaptation detecting device compares the acquired voltage value with a voltage interval corresponding to each key value of the saved terminal, and determines whether the obtained voltage value belongs to a certain key value of the terminal. Voltage range. If the obtained voltage value does not belong to a voltage interval corresponding to any button of the saved terminal, that is, for the terminal, the button corresponding to the button signal is invalid, and the adaptation detecting device determines the terminal. Not compatible with the keypad.
  • the adaptation detecting device determines that the acquired voltage value belongs to a voltage interval corresponding to a certain button of the saved terminal, the adaptation detecting device further calculates each of the obtained voltage values corresponding to the key value.
  • the absolute difference of the threshold voltage values Generally, the voltage interval corresponding to the key has two threshold voltage values, and the adaptive detecting device respectively calculates the absolute difference between the obtained threshold voltage values of the voltage interval corresponding to the key value.
  • a preset voltage difference threshold is set in advance, and the preset voltage difference threshold is flexibly set according to actual conditions, and is not limited herein. In the calculated absolute difference between the voltage value and the threshold voltage value of the voltage interval corresponding to the key value, it is determined whether the absolute difference value is smaller than the preset voltage difference threshold.
  • the adaptation detecting means determines that the terminal is not adapted to the keypad. If there is no absolute difference value that is less than the preset voltage difference threshold, that is, the absolute difference between any obtained threshold voltage value of the voltage value corresponding to the key value is greater than or equal to The preset voltage difference threshold is used by the adaptation detecting device to determine that the key value is the key value of the button corresponding to the button signal.
  • the solution proposed in this embodiment determines the terminal according to each key value fed back by the terminal and the voltage value of each corresponding voltage detection signal after the terminal detects the button board and outputs each preset voltage detection signal to the terminal.
  • the voltage interval corresponding to each key value is saved, and then when the user presses a button on the keypad, when detecting a button signal triggered by the keypad, the adaptation detecting device acquires a voltage value corresponding to the button signal, and corresponding to the button signal according to the button signal.
  • the positional relationship between the voltage value and the voltage interval determines whether the terminal and the keypad are adapted. Therefore, it is timely detected whether the terminal and the keypad are adapted before the button panel of the terminal is assembled, so as to be rectified when the detection is not adapted. Therefore, the terminal board is effectively prevented from being assembled with an unsuitable keypad.
  • the step S30 includes:
  • Step S31 when receiving the key value corresponding to the voltage detection signal fed back by the terminal, correlating the voltage value of the voltage detection signal with the received key value;
  • Step S32 when the voltage detection signal output is completed, counting a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values;
  • Step S33 determining a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  • the adaptation detecting means associates the key value with the voltage value of the voltage detection signal each time the key value corresponding to the terminal feedback voltage detection signal is received.
  • the adaptive detecting device counts a plurality of voltage values associated with the respective key values, and obtains a maximum voltage value and a minimum voltage value associated with the respective key values from the plurality of voltage values associated with the respective key values. Then, according to the maximum voltage value and the minimum voltage value associated with each key value, the voltage interval corresponding to each key value is determined. For example, if the maximum voltage value associated with a certain key value of the statistical acquisition terminal is 0.56v and the associated minimum voltage value is 0.12v, the adaptation detecting device determines that the voltage interval corresponding to the key value is [0.12, 0.56] v.
  • the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit.
  • Step c determining whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold, and controlling the output module to stop outputting the voltage detection signal when the determination result is YES.
  • each preset voltage detection signal output by the adaptation detecting device is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit, for example, a level sequentially increased according to an increasing law of 0.01V. signal.
  • the adaptive detecting means detects the voltage value of the voltage detecting signal after each time the voltage detecting signal is output.
  • the adaptation detecting means determines whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold. For example, if the preset voltage threshold is preset to be equal to the power supply voltage, the adaptation detecting means determines whether the voltage value of the voltage detection signal is greater than or equal to the power supply voltage.
  • the adaptive detection device When the voltage value of the voltage detection signal is less than the preset voltage threshold, the adaptive detection device continues to output the voltage detection signal. When the voltage value of the voltage detection signal is greater than or equal to the preset voltage threshold, the adaptive detecting device stops outputting the voltage detection signal, that is, the voltage detection signal output is completed.
  • the adaptation detecting device further includes a display screen.
  • the display screen may be an LCD liquid crystal display, which is not limited herein.
  • each voltage detection signal output by the adaptation detecting device is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit until the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold. , stop output voltage detection signal.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

A detection apparatus and method for adaptation of a terminal to a button board. The detection apparatus is connected between a terminal control chip and a button board and comprises a main control chip. The main control chip comprises: an output module (10) for outputting a pre-set voltage detection signal to a terminal, with the terminal querying and feeding back a key value corresponding to a voltage value of the voltage detection signal; a determination module (20) for determining and saving a voltage interval corresponding to each key value according to each received key value and the corresponding voltage value of the voltage detection signal; an acquisition module (30) for acquiring a voltage value corresponding to a button signal when the button signal triggered based on the button board is detected; and a processing module (40) for determining a position relationship between the voltage value corresponding to the button signal and the voltage interval, and determining, according to the position relationship, whether the terminal is adapted to the button board. The adaptation detection apparatus and the adaptation detection method detect the problem of whether a terminal is adapted to a button board in a timely manner before the terminal is assembled with the button board.

Description

用于终端与按键板的适配检测装置及方法  Adaptation detecting device and method for terminal and key board
技术领域Technical field
本发明涉及终端技术领域,尤其涉及一种用于终端与按键板的适配检测装置及方法。The present invention relates to the field of terminal technologies, and in particular, to an apparatus and method for adapting and detecting a terminal and a keypad.
背景技术Background technique
随着科技的不断发展,手机、电视机等终端已经成为市场主流,得到了广泛应用。通常,终端都装配有一按键板,当终端与按键板适配时,用户按压按键板上的按键即可实现相应功能。例如,用户按压电视机的按键板按键可实现音量调节、频道切换等功能。但是,由于不同厂家对终端键值的制定标准不同,每一个键值对应的电压区间未统一规定,导致终端与按键板可能出现不适配的情况。现有技术中,通常是在按键板装配完成后再检测终端与按键板是否适配,不能在按键板装配前,及时检测终端与按键板是否适配。With the continuous development of technology, mobile phones, televisions and other terminals have become the mainstream of the market and have been widely used. Usually, the terminal is equipped with a button board. When the terminal is matched with the button board, the user can press the button on the button board to implement the corresponding function. For example, the user presses the button of the television to implement volume adjustment, channel switching and the like. However, because different manufacturers have different standards for setting the terminal key value, the voltage interval corresponding to each key value is not uniformly defined, which may cause the terminal and the keypad to be unsuitable. In the prior art, it is usually detected whether the terminal and the keypad are adapted after the completion of the assembly of the keypad, and it is not possible to detect whether the terminal and the keypad are adapted in time before the keypad is assembled.
发明内容Summary of the invention
本发明的主要目的在于提出一种用于终端与按键板的适配检测装置及方法,旨在解决现有终端在装配按键板前,不能及时检测终端与按键板是否适配的技术问题。The main object of the present invention is to provide an apparatus and method for adapting the terminal and the keypad, and aim to solve the technical problem that the existing terminal cannot detect the adaptation of the terminal and the keypad in time before assembling the keypad.
为实现上述目的,本发明提供的一种用于终端与按键板的适配检测装置,所述用于终端与按键板的适配检测装置连接于终端控制芯片以及按键板之间,所述用于终端与按键板的适配检测装置包括主控芯片,所述主控芯片包括:In order to achieve the above object, the present invention provides an adaptation detecting device for a terminal and a keypad, wherein the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad, The device for adapting the detection of the terminal and the keypad includes a main control chip, and the main control chip includes:
输出模块,用于输出预设的电压检测信号至终端,所述终端查询并反馈所述电压检测信号的电压值所对应的键值,所述电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号;And an output module, configured to output a preset voltage detection signal to the terminal, where the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal, where the voltage detection signal starts from 0V and is preset according to the preset value a level signal that is sequentially incremented by the unit;
确定模块,用于根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存;a determining module, configured to determine, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and save;
获取模块,用于在检测到基于按键板触发的按键信号时,获取按键信号对应的电压值;An acquiring module, configured to acquire a voltage value corresponding to the button signal when detecting a button signal triggered by the button board;
处理模块,用于确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配,以及判断所述电压检测信号的电压值是否大于或等于预设电压阈值,并在判断结果为是时控制输出模块停止输出所述电压检测信号;其中,a processing module, configured to determine a positional relationship between a voltage value corresponding to the button signal and any one of the voltage intervals, and determine, according to the positional relationship, whether the terminal is adapted to the keypad, and determine the voltage detection Whether the voltage value of the signal is greater than or equal to the preset voltage threshold, and when the determination result is YES, the control output module stops outputting the voltage detection signal; wherein
所述处理模块包括:The processing module includes:
比对单元,用于将所述按键信号对应的电压值与任一所述电压区间进行比对,以确定所述按键信号对应的电压值与所述电压区间的位置关系;a comparison unit, configured to compare a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
判断单元,用于在所述按键信号对应的电压值不属于任一电压区间或所述按键信号对应的电压值属于其中一电压区间但与所述电压区间的临界电压值的差值小于预设电压差阈值时,判定所述终端与所述按键板不适配。a determining unit, configured to: when the voltage value corresponding to the button signal does not belong to any voltage interval, or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than a preset When the voltage difference threshold is reached, it is determined that the terminal is not adapted to the keypad.
优选地,所述用于终端与按键板的适配检测装置还包括分别与所述主控芯片连接的DAC模块和ADC模块,其中:Preferably, the adaptation detecting device for the terminal and the keypad further comprises a DAC module and an ADC module respectively connected to the main control chip, wherein:
所述DAC模块,用于将所述输出模块输出的电压检测信号转换成模拟信号后传输至所述终端;The DAC module is configured to convert the voltage detection signal output by the output module into an analog signal and transmit the signal to the terminal;
所述ADC模块,用于对所述DAC模块输出的电压检测信号以及所述按键板输出的按键信号进行采样及模数转换,以得到所述电压检测信号的实际电压值和所述按键信号的电压值;The ADC module is configured to perform sampling and analog-to-digital conversion on a voltage detection signal output by the DAC module and a key signal output by the keypad, to obtain an actual voltage value of the voltage detection signal and the key signal. Voltage value;
其中,所述确定模块根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。The determining module determines, according to the received key values and the actual voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and saves them.
优选地,所述确定模块包括:Preferably, the determining module comprises:
处理单元,用于在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;a processing unit, configured to: when receiving a key value corresponding to the voltage detection signal fed back by the terminal, correlating a voltage value of the voltage detection signal with the received key value;
统计单元,用于在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;a statistical unit, configured to calculate a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values when the voltage detection signal output is completed;
确定单元,用于根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。The determining unit is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
此外,为实现上述目的,本发明还提出一种用于终端与按键板的适配检测装置,用于终端与按键板的适配检测装置连接于终端控制芯片以及按键板之间,所述用于终端与按键板的适配检测装置包括主控芯片,主控芯片包括:In addition, in order to achieve the above object, the present invention further provides an adaptation detecting device for a terminal and a keypad, and an adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad. The device for adapting the detection of the terminal and the keypad comprises a main control chip, and the main control chip comprises:
输出模块,用于输出预设的电压检测信号至终端,所述终端查询并反馈所述电压检测信号的电压值所对应的键值;An output module, configured to output a preset voltage detection signal to the terminal, where the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal;
确定模块,用于根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存;a determining module, configured to determine, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and save;
获取模块,用于在检测到基于按键板触发的按键信号时,获取按键信号对应的电压值;An acquiring module, configured to acquire a voltage value corresponding to the button signal when detecting a button signal triggered by the button board;
处理模块,用于确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配。The processing module is configured to determine a positional relationship between a voltage value corresponding to the button signal and any of the voltage intervals, and determine, according to the positional relationship, whether the terminal is adapted to the keypad.
优选地,所述处理模块包括:Preferably, the processing module comprises:
比对单元,用于将所述按键信号对应的电压值与任一所述电压区间进行比对,以确定所述按键信号对应的电压值与所述电压区间的位置关系;a comparison unit, configured to compare a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
判断单元,用于在所述按键信号对应的电压值不属于任一电压区间或所述按键信号对应的电压值属于其中一电压区间但与所述电压区间的临界电压值的差值小于预设电压差阈值时,判定所述终端与所述按键板不适配。a determining unit, configured to: when the voltage value corresponding to the button signal does not belong to any voltage interval, or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than a preset When the voltage difference threshold is reached, it is determined that the terminal is not adapted to the keypad.
优选地,所述用于终端与按键板的适配检测装置还包括分别与所述主控芯片连接的DAC模块和ADC模块,其中:Preferably, the adaptation detecting device for the terminal and the keypad further comprises a DAC module and an ADC module respectively connected to the main control chip, wherein:
所述DAC模块,用于将所述输出模块输出的电压检测信号转换成模拟信号后传输至所述终端;The DAC module is configured to convert the voltage detection signal output by the output module into an analog signal and transmit the signal to the terminal;
所述ADC模块,用于对所述DAC模块输出的电压检测信号以及所述按键板输出的按键信号进行采样及模数转换,以得到所述电压检测信号的实际电压值和所述按键信号的电压值;The ADC module is configured to perform sampling and analog-to-digital conversion on a voltage detection signal output by the DAC module and a key signal output by the keypad, to obtain an actual voltage value of the voltage detection signal and the key signal. Voltage value;
其中,所述确定模块根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。The determining module determines, according to the received key values and the actual voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and saves them.
优选地,所述电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,所述处理模块还用于:Preferably, the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit, and the processing module is further configured to:
判断所述电压检测信号的电压值是否大于或等于预设电压阈值,并在判断结果为是时控制输出模块停止输出所述电压检测信号。Determining whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold, and controlling the output module to stop outputting the voltage detection signal when the determination result is YES.
优选地,所述确定模块包括:Preferably, the determining module comprises:
处理单元,用于在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;a processing unit, configured to: when receiving a key value corresponding to the voltage detection signal fed back by the terminal, correlating a voltage value of the voltage detection signal with the received key value;
统计单元,用于在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;a statistical unit, configured to calculate a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values when the voltage detection signal output is completed;
确定单元,用于根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。The determining unit is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
此外,为实现上述目的,本发明还提出一种用于终端与按键板的适配检测方法,所述用于终端与按键板的适配检测方法包括以下步骤:In addition, in order to achieve the above object, the present invention further provides an adaptation detection method for a terminal and a keypad, and the method for detecting the adaptation of the terminal and the keypad includes the following steps:
输出预设的电压检测信号至终端;Outputting a preset voltage detection signal to the terminal;
所述终端查询并反馈所述电压检测信号的电压值所对应的键值;The terminal queries and feeds back a key value corresponding to a voltage value of the voltage detection signal;
根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存;Determining and storing a voltage interval corresponding to each key value according to each received key value and a voltage value of the corresponding voltage detection signal;
检测是否有基于按键板触发的按键信号,并在检测到所述按键信号时获取所述按键信号对应的电压值;Detecting whether there is a button signal triggered by the keypad, and acquiring a voltage value corresponding to the button signal when the button signal is detected;
确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配。Determining a positional relationship between a voltage value corresponding to the button signal and any of the voltage intervals, and determining, according to the positional relationship, whether the terminal is adapted to the keypad.
优选地,所述确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配的步骤包括:Preferably, the step of determining the positional relationship between the voltage value corresponding to the button signal and any of the voltage intervals, and determining whether the terminal is adapted to the keypad according to the positional relationship comprises:
将所述按键信号对应的电压值与任一所述电压区间进行比对,以确定所述按键信号对应的电压值与所述电压区间的位置关系;Comparing a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
在所述按键信号对应的电压值不属于任一电压区间或所述按键信号对应的电压值属于其中一电压区间但与所述电压区间的临界电压值的差值小于预设电压差阈值时,判定所述终端与所述按键板不适配。When the voltage value corresponding to the button signal does not belong to any voltage interval or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference between the threshold voltage value of the voltage interval is less than the preset voltage difference threshold, It is determined that the terminal is not adapted to the keypad.
优选地,所述电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,所述输出预设的电压检测信号至终端的步骤之后,还包括:Preferably, the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit. After the step of outputting the preset voltage detection signal to the terminal, the method further includes:
判断所述电压检测信号的电压值是否大于或等于预设电压阈值,并在判断结果为是时停止输出所述电压检测信号。Determining whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold, and stopping outputting the voltage detection signal when the determination result is YES.
优选地,所述根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间的步骤包括:Preferably, the step of determining a voltage interval corresponding to each key value according to the received respective key values and the voltage value of the corresponding voltage detection signal comprises:
在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;And when the key value corresponding to the voltage detection signal fed back by the terminal is received, correlating the voltage value of the voltage detection signal with the received key value;
在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;When the voltage detection signal output is completed, counting a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values;
根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。The voltage interval corresponding to each key value is determined according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
优选地,所述输出预设的电压检测信号至终端的步骤之后,还包括:Preferably, after the step of outputting the preset voltage detection signal to the terminal, the method further includes:
实时采集输出的所述电压检测信号并对所述电压检测信号进行模数转换以得到所述电压检测信号的实际电压值;Acquiring and outputting the voltage detection signal in real time and performing analog-to-digital conversion on the voltage detection signal to obtain an actual voltage value of the voltage detection signal;
所述根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存具体为:The determining, according to the received key values and the voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and storing the specifics as:
根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。The voltage interval corresponding to each key value is determined and saved according to the received key values and the actual voltage values of the corresponding voltage detection signals.
本发明提出的用于终端与按键板的适配检测装置及方法,该用于终端与按键板的适配检测装置连接于终端控制芯片以及按键板之间,且该用于终端与按键板的适配检测装置包括主控芯片。在终端与按键板装配前,先通过该主控芯片的输出模块和确定模块确定终端各个键值对应的电压区间并保存,之后用户按压按键板上的按键,触发对应的按键信号,该主控芯片的获取模块在检测到按键信号时,获取按键信号对应的电压值,该主控芯片的处理模块根据按键信号对应的电压值与电压区间的位置关系判断终端与按键板是否适配,因此,实现了在终端装配按键板前就及时检测出来按键板与终端是否适配。The device and method for adapting the terminal and the keypad are proposed, and the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad, and the terminal and the keypad are used. The adaptive detection device includes a master chip. Before the terminal and the keypad are assembled, the output module and the determining module of the main control chip are used to determine the voltage interval corresponding to each key value of the terminal and save, and then the user presses a button on the button to trigger a corresponding button signal, and the master control The acquiring module of the chip acquires the voltage value corresponding to the button signal when the button signal is detected, and the processing module of the master chip determines whether the terminal and the button board are adapted according to the positional relationship between the voltage value corresponding to the button signal and the voltage interval, therefore, It realizes that the button board and the terminal are correctly detected before the terminal is assembled with the button board.
附图说明DRAWINGS
图1为各实施例中终端按键检测系统的结构框架示意图;1 is a schematic structural diagram of a terminal button detecting system in each embodiment;
图2为本发明用于终端与按键板的适配检测装置第一实施例的功能模块示意图;2 is a schematic diagram of functional modules of a first embodiment of an apparatus for detecting and adapting a terminal and a keypad according to the present invention;
图3为本发明用于终端与按键板的适配检测装置第一实施例中处理模块的细化功能模块示意图;3 is a schematic diagram of a refinement function module of a processing module in a first embodiment of an apparatus for detecting and adapting a terminal and a keypad according to the present invention;
图4为本发明用于终端与按键板的适配检测装置第二实施例中确定模块的细化功能模块示意图;4 is a schematic diagram of a refinement function module of a determining module in a second embodiment of the apparatus for detecting and adapting a terminal and a keypad according to the present invention;
图5为本发明用于终端与按键板的适配检测方法第一实施例的流程示意图;FIG. 5 is a schematic flowchart of a first embodiment of a method for detecting a terminal and a keypad according to the present invention; FIG.
图6为本发明用于终端与按键板的适配检测方法第二实施例中确定各个键值对应的电压区间的细化流程示意图。FIG. 6 is a schematic diagram of a refinement process for determining a voltage interval corresponding to each key value in a second embodiment of the method for detecting a terminal and a keypad according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种用于终端与按键板的适配检测装置,如图1所示,该用于终端与按键板的适配检测装置连接于终端控制芯片以及按键板之间。其中,该用于终端与按键板的适配检测装置包括主控芯片,参照图2,图2为本发明用于终端与按键板的适配检测装置第一实施例的功能模块示意图。The present invention provides an adaptation detecting device for a terminal and a keypad. As shown in FIG. 1, the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad. The device for detecting and adapting the terminal and the keypad includes a main control chip. Referring to FIG. 2, FIG. 2 is a schematic diagram of the functional module of the first embodiment of the device for detecting the terminal and the keypad.
在本实施例中,该用于终端与按键板的适配检测装置的主控芯片包括:In this embodiment, the main control chip of the adaptation detecting device for the terminal and the keypad includes:
输出模块10,用于输出预设的电压检测信号至终端,所述终端查询并反馈所述电压检测信号的电压值所对应的键值;The output module 10 is configured to output a preset voltage detection signal to the terminal, and the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal;
本发明中,通过终端、用于终端与按键板的适配检测装置以及按键板构成终端按键检测系统。如图1所示,用于终端与按键板的适配检测装置连接于终端控制芯片以及按键板之间。其中,所述终端包括但不限于电视机、手机等具有按键的设备。每个终端在生产时,厂家对终端的每一个功能按键的键值都设置了对应的电压区间。由于不同厂家对键值对应的电压区间有不同的设置标准,也即每一个键值对应的电压区间目前是未统一规定的。例如,在一个终端中“增大音量”功能按键的键值对应的电压区间为0-0.5v,而在另一终端中“增大音量”功能按键的键值对应的电压区间为0.2-0.8v。因此,需要确定出终端各个键值对应的电压区间。In the present invention, the terminal button detecting system is constituted by the terminal, the fitting detecting device for the terminal and the key sheet, and the key sheet. As shown in FIG. 1, the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad. The terminal includes, but is not limited to, a device with a button such as a television or a mobile phone. When each terminal is in production, the manufacturer sets a corresponding voltage interval for the key value of each function button of the terminal. Since different manufacturers have different setting standards for the voltage ranges corresponding to the key values, that is, the voltage intervals corresponding to each key value are currently not uniformly specified. For example, the voltage range corresponding to the key value of the "increase volume" function button in one terminal is 0-0.5v, and the voltage range corresponding to the key value of the "increase volume" function button in another terminal is 0.2-0.8. v. Therefore, it is necessary to determine the voltage interval corresponding to each key value of the terminal.
在本实施例中,所述用于终端与按键板的适配检测装置的主控芯片包括但不限于51单片机。主控芯片的输出模块10输出预设的各个电压检测信号至所述终端。其中,所述终端中存储有预设的键值与电压值关系表。当所述终端接收到输出模块10输出的电压检测信号时,所述终端查询所述预设的键值与电压值关系表,查询是否存在与电压检测信号的电压值对应的键值。例如,若所述预设的键值与电压值关系表为键值与电压区间的对应关系表,终端查询在所述键值与电压区间的对应关系表中,接收到的所述电压检测信号的电压值是否在某一键值对应的电压区间内。当查询到所述电压检测信号的电压值在某一键值对应的电压区间内时,也即查询到所述电压检测信号的电压值对应的键值;否则,也即未查询到所述电压检测信号的电压值对应的键值。终端在查询到所述电压检测信号的电压值对应的键值时,反馈查询到的键值,也即反馈所述电压检测信号的电压值对应的键值。终端在未查询到所述电压检测信号的电压值对应的键值时,也即所述电压检测信号的电压值不存在对应的键值时,反馈无效值。In this embodiment, the main control chip for the adaptation detecting device of the terminal and the keypad includes, but is not limited to, a 51 single chip microcomputer. The output module 10 of the main control chip outputs preset voltage detection signals to the terminal. The terminal stores a preset relationship between the key value and the voltage value. When the terminal receives the voltage detection signal output by the output module 10, the terminal queries the preset key value and voltage value relationship table to query whether there is a key value corresponding to the voltage value of the voltage detection signal. For example, if the preset key value and voltage value relationship table is a correspondence table between the key value and the voltage interval, the terminal queries the received voltage detection signal in the correspondence table between the key value and the voltage interval. Whether the voltage value is within a voltage range corresponding to a certain key value. When it is queried that the voltage value of the voltage detection signal is within a voltage interval corresponding to a certain key value, that is, the key value corresponding to the voltage value of the voltage detection signal is queried; otherwise, the voltage is not queried. The key value corresponding to the voltage value of the detection signal. When the terminal queries the key value corresponding to the voltage value of the voltage detection signal, the terminal feeds back the queried key value, that is, the key value corresponding to the voltage value of the voltage detection signal. When the terminal does not query the key value corresponding to the voltage value of the voltage detection signal, that is, when the voltage value of the voltage detection signal does not have a corresponding key value, the terminal feeds back the invalid value.
确定模块20,用于根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存;a determining module 20, configured to determine, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and save the voltage interval;
输出模块10每次输出一个电压检测信号至所述终端后,主控芯片的确定模块20会接收到所述终端反馈的键值,或者接收到所述终端反馈的无效值。其中,输出模块10输出多个电压检测信号,终端可能反馈同一个键值,也即确定模块20可能接收到所述终端多次反馈同一个键值。当输出模块10输出电压检测信号完成时,确定模块20根据每次接收到的键值,以及每次接收到的键值所对应的电压检测信号的电压值,确定出各个键值对应的电压区间并保存。例如,有5个电压检测信号的电压值对应“增大音量”功能按键的键值,则确定模块20根据这5个电压检测信号的电压值确定“增大音量”功能按键的键值对应的电压区间并保存;有8个电压检测信号的电压值对应“减小音量”功能按键的键值,则确定模块20根据这8个电压检测信号的电压值确定“减小音量”功能按键的键值对应的电压区间并保存。After the output module 10 outputs a voltage detection signal to the terminal, the determining module 20 of the main control chip receives the key value fed back by the terminal or receives an invalid value fed back by the terminal. The output module 10 outputs a plurality of voltage detection signals, and the terminal may feed back the same key value, that is, the determining module 20 may receive the terminal to feedback the same key value multiple times. When the output module 10 outputs the voltage detection signal, the determining module 20 determines the voltage interval corresponding to each key value according to each received key value and the voltage value of the voltage detection signal corresponding to each received key value. And save. For example, if the voltage value of the five voltage detection signals corresponds to the key value of the “increase volume” function button, the determination module 20 determines the key value corresponding to the “increase volume” function button according to the voltage values of the five voltage detection signals. The voltage interval is saved; if the voltage value of the eight voltage detection signals corresponds to the key value of the “reduced volume” function button, the determining module 20 determines the key of the “reduced volume” function button according to the voltage values of the eight voltage detection signals. The voltage range corresponding to the value is saved.
获取模块30,用于在检测到基于按键板触发的按键信号时,获取按键信号对应的电压值;The obtaining module 30 is configured to acquire a voltage value corresponding to the button signal when detecting a button signal triggered by the keypad;
在确定模块20确定了终端各个键值对应的电压区间后,接着获取按键板各个按键对应的电压值。下面以按键板上任一按键为例,对获取按键对应电压值进行说明。当用户按压按键板上的按键后,产生该按键对应的按键信号,所述按键信号传输至主控芯片,当主控芯片的获取模块30检测到所述按键信号时,获取所述按键信号对应的电压值。After the determining module 20 determines the voltage interval corresponding to each key value of the terminal, the voltage value corresponding to each button of the keypad is acquired. The following takes the button on the button as an example to describe the voltage value corresponding to the button. When the user presses the button on the button, the button signal corresponding to the button is generated, and the button signal is transmitted to the main control chip. When the acquiring module 30 of the main control chip detects the button signal, the button signal is acquired. Voltage value.
处理模块40,用于确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配。The processing module 40 is configured to determine a positional relationship between a voltage value corresponding to the button signal and any one of the voltage intervals, and determine, according to the positional relationship, whether the terminal is adapted to the keypad.
当获取模块30获取到按键信号对应的电压值后,处理模块40将所述按键信号对应的电压值与保存的终端各个键值对应的电压区间进行比对,确定所述按键信号对应的电压值与保存的终端各个键值对应的电压区间的位置关系,并根据确定的位置关系判断所述终端与所述按键板是否适配。具体地,如图3所示,所述处理模块40包括:After the obtaining module 30 obtains the voltage value corresponding to the button signal, the processing module 40 compares the voltage value corresponding to the button signal with the voltage interval corresponding to each key value of the saved terminal, and determines the voltage value corresponding to the button signal. The positional relationship of the voltage interval corresponding to each key value of the saved terminal, and determining whether the terminal is adapted to the keypad according to the determined positional relationship. Specifically, as shown in FIG. 3, the processing module 40 includes:
比对单元41,用于将所述按键信号对应的电压值与任一所述电压区间进行比对,以确定所述按键信号对应的电压值与所述电压区间的位置关系;The comparison unit 41 is configured to compare a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
判断单元42,用于在所述按键信号对应的电压值不属于任一电压区间或所述按键信号对应的电压值属于其中一电压区间但与所述电压区间的临界电压值的差值小于预设电压差阈值时,判定所述终端与所述按键板不适配。The determining unit 42 is configured to: when the voltage value corresponding to the button signal does not belong to any voltage interval, or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than When the voltage difference threshold is set, it is determined that the terminal is not adapted to the keypad.
在本实施例中,比对单元41将获取到的所述电压值与保存的终端各个键值对应的电压区间进行比对,判断获取到的所述电压值是否属于终端某一个键值对应的电压区间。若获取到的所述电压值不属于终端的任一按键对应的电压区间,也即对所述终端而言,所述按键信号对应的按键是失效的,判断单元42判定所述终端与所述按键板不适配。In this embodiment, the comparison unit 41 compares the acquired voltage value with the voltage interval corresponding to each key value of the saved terminal, and determines whether the obtained voltage value belongs to a certain key value of the terminal. Voltage range. If the obtained voltage value does not belong to a voltage interval corresponding to any button of the terminal, that is, for the terminal, the button corresponding to the button signal is invalid, and the determining unit 42 determines the terminal and the The keypad is not suitable.
若比对单元41判断获取到的所述电压值属于终端的某一个键值对应的电压区间,则进一步计算获取到的所述电压值与该键值对应的电压区间的每个临界电压值的绝对差值。通常,键值对应的电压区间有两个临界电压值,处理模块40分别计算获取到的所述电压值与该键值对应的电压区间的两个临界电压值的绝对差值。在本实施例中,预先设置有一预设电压差阈值,所述预设电压差阈值根据实际情况灵活设置,在此不作限制。在计算出的所述电压值与该键值对应的电压区间的临界电压值的绝对差值中,比对单元41判断是否存在绝对差值小于所述预设电压差阈值。若存在某一绝对差值小于所述预设电压差阈值,也即说明所述按键信号对应的电压值接近所述键值对应的电压区间的临界电压值,这种情况下,不能保证所述键值即为所述按键信号对应的按键的键值,因此,判断单元42判断所述终端与所述按键板不适配。若不存在某一绝对差值小于所述预设电压差阈值,也即获取的所述电压值与所述键值对应的电压区间的任一临界电压值的绝对差值均大于或者等于所述预设电压差阈值,则判断单元42判断所述键值即为所述按键信号对应的按键的键值。If the comparison unit 41 determines that the acquired voltage value belongs to a voltage interval corresponding to a certain key value of the terminal, further calculating each threshold voltage value of the obtained voltage value and the voltage interval corresponding to the key value. Absolute difference. Generally, the voltage interval corresponding to the key has two threshold voltage values, and the processing module 40 respectively calculates the absolute difference between the obtained threshold voltage values of the voltage range corresponding to the key value. In this embodiment, a preset voltage difference threshold is set in advance, and the preset voltage difference threshold is flexibly set according to actual conditions, and is not limited herein. In the calculated absolute difference value of the threshold voltage value of the voltage range corresponding to the key value, the comparison unit 41 determines whether there is an absolute difference value smaller than the preset voltage difference threshold value. If there is a certain absolute difference that is less than the preset voltage difference threshold, that is, the voltage value corresponding to the button signal is close to the threshold voltage value of the voltage interval corresponding to the key value. In this case, the The key value is the key value of the button corresponding to the button signal. Therefore, the determining unit 42 determines that the terminal is not adapted to the keypad. If there is no absolute difference value that is less than the preset voltage difference threshold, that is, the absolute difference between any obtained threshold voltage value of the voltage value corresponding to the key value is greater than or equal to When the voltage difference threshold is preset, the determining unit 42 determines that the key value is the key value of the button corresponding to the button signal.
本实施例提出的方案,在终端装配按键板前,通过输出模块10输出各个预设的电压检测信号至终端后,确定模块20根据终端反馈的各个键值以及各个对应的电压检测信号的电压值,确定终端各个键值对应的电压区间并保存,之后当用户按压按键板上的按键,获取模块30在检测到基于按键板触发的按键信号时,获取按键信号对应的电压值,处理模块40根据按键信号对应的电压值与电压区间的位置关系判断终端与按键板是否适配,因此,实现了在终端的按键板装配前,及时检测出终端与按键板是否适配,以便当检测出不适配时进行整改,从而有效防止了终端装配不适配的按键板。In the solution proposed in this embodiment, after the terminal module is assembled with the button board, after the output module 10 outputs each preset voltage detection signal to the terminal, the determining module 20 determines, according to the key values fed back by the terminal and the voltage values of the respective voltage detection signals. The voltage interval corresponding to each key value of the terminal is determined and saved. After the user presses the button on the button, the acquiring module 30 acquires the voltage value corresponding to the button signal when the button signal triggered by the button is detected, and the processing module 40 according to the button The positional relationship between the voltage value corresponding to the signal and the voltage interval determines whether the terminal and the keypad are adapted. Therefore, it is timely detected whether the terminal and the keypad are adapted before the button panel of the terminal is assembled, so that when the detection is not adapted The rectification is performed to effectively prevent the terminal assembly from assembling the unsuitable keypad.
进一步地,基于第一实施例提出本发明用于终端与按键板的适配检测方法第二实施例,在本实施例中,所述用于终端与按键板的适配检测装置还包括分别与所述主控芯片连接的DAC模块和ADC模块,其中:Further, a second embodiment of the method for detecting the adaptation of the terminal and the keypad is proposed based on the first embodiment. In this embodiment, the apparatus for detecting the terminal and the keypad further includes The main control chip is connected to the DAC module and the ADC module, wherein:
所述DAC模块,用于将所述输出模块输出的电压检测信号转换成模拟信号后传输至所述终端;The DAC module is configured to convert the voltage detection signal output by the output module into an analog signal and transmit the signal to the terminal;
所述ADC模块,用于对所述DAC模块输出的电压检测信号以及所述按键板输出的按键信号进行采样及模数转换,以得到所述电压检测信号的实际电压值和所述按键信号的电压值;The ADC module is configured to perform sampling and analog-to-digital conversion on a voltage detection signal output by the DAC module and a key signal output by the keypad, to obtain an actual voltage value of the voltage detection signal and the key signal. Voltage value;
此时,所述确定模块根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。At this time, the determining module determines and stores the voltage interval corresponding to each key value according to the received key values and the actual voltage value of the corresponding voltage detection signal.
在本实施例中,所述用于终端与按键板的适配检测装置还包括分别与所述主控芯片连接的DAC(Digital to analog converter,数字模拟转换器)模块和ADC(Analog to Digital Converter,模拟数字转换器)模块。其中,所述DAC模块还与终端控制芯片连接,当输出模块10输出数字信号格式的电压检测信号时,所述DAC模块将数字信号格式的电压检测信号转换成模拟信号后传输至所述终端。所述终端在接收到模拟信号格式的电压检测信号后,识别该电压检测信号对应的键值,或者识别该电压检测信号对应无效值。具体识别过程如第一实施例中所述,在此不再赘述。In this embodiment, the adaptation detecting device for the terminal and the keypad further includes a DAC (Digital to) respectively connected to the main control chip. Analog converter, digital to analog converter) module and ADC (Analog to Digital Converter, Analog to Digital Converter) module. The DAC module is further connected to the terminal control chip. When the output module 10 outputs the voltage detection signal of the digital signal format, the DAC module converts the voltage detection signal of the digital signal format into an analog signal and transmits the signal to the terminal. After receiving the voltage detection signal of the analog signal format, the terminal identifies the key value corresponding to the voltage detection signal, or identifies the voltage detection signal corresponding to the invalid value. The specific identification process is as described in the first embodiment, and details are not described herein again.
由于输出模块10输出的预设电压检测信号的实际电压值可能与预计输出的电压值存在一定的误差,因此,在本实施例中,当所述DAC模块将数字信号格式的电压检测信号转换成模拟信号后,所述ADC模块对所述DAC模块输出的模拟信号格式的电压检测信号进行采样,并将采样到的电压检测信号进行模数转换,以得到所述电压检测信号的实际电压值。确定模块20根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。Since the actual voltage value of the preset voltage detection signal output by the output module 10 may have a certain error with the expected output voltage value, in the embodiment, when the DAC module converts the voltage detection signal of the digital signal format into After the analog signal, the ADC module samples the voltage detection signal of the analog signal format output by the DAC module, and performs analog-to-digital conversion on the sampled voltage detection signal to obtain an actual voltage value of the voltage detection signal. The determining module 20 determines and stores the voltage intervals corresponding to the respective key values according to the received key values and the actual voltage values of the corresponding voltage detection signals.
并且,在本实施例中,所述ADC模块与所述按键板连接,当用户按压按键板上的按键触发按键信号时,所述按键信号为模拟信号,所述ADC模块对所述按键信号进行采样,并将采样到的按键信号进行模数转换,以得到所述按键信号的电压值。Moreover, in this embodiment, the ADC module is connected to the keypad, and when the user presses a button trigger button signal on the button, the button signal is an analog signal, and the ADC module performs the button signal. Sampling, and performing analog-to-digital conversion on the sampled button signal to obtain a voltage value of the button signal.
进一步地,在本实施例中,所述电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,所述处理模块40还用于:Further, in this embodiment, the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit, and the processing module 40 is further configured to:
判断所述电压检测信号的电压值是否大于或等于预设电压阈值,并在判断结果为是时控制输出模块停止输出所述电压检测信号。Determining whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold, and controlling the output module to stop outputting the voltage detection signal when the determination result is YES.
在本实施例中,输出模块10输出的各个预设电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,比如为按照0.01V的递增规律依次增大的电平信号。在输出模块10每次输出电压检测信号后,处理模块40判断所述电压检测信号的电压值是否大于或等于预设电压阈值。例如,预先设置所述预设电压阈值等于电源电压,则处理模块40判断所述电压检测信号的电压值是否大于或等于电源电压。当输出模块10输出的电压检测信号的电压值小于所述预设电压阈值时,输出模块10继续输出电压检测信号;当输出模块10输出的电压检测信号的电压值大于或等于所述预设电压阈值时,处理模块40控制输出模块10停止输出电压检测信号,也即输出模块10输出电压检测信号完成。In this embodiment, each preset voltage detection signal output by the output module 10 is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit, for example, a level signal sequentially increased according to an increasing law of 0.01V. . After the output module 10 outputs the voltage detection signal each time, the processing module 40 determines whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold. For example, if the preset voltage threshold is preset to be equal to the power supply voltage, the processing module 40 determines whether the voltage value of the voltage detection signal is greater than or equal to the power supply voltage. When the voltage value of the voltage detection signal output by the output module 10 is less than the preset voltage threshold, the output module 10 continues to output the voltage detection signal; when the voltage value of the voltage detection signal output by the output module 10 is greater than or equal to the preset voltage At the threshold, the processing module 40 controls the output module 10 to stop outputting the voltage detection signal, that is, the output module 10 outputs the voltage detection signal.
进一步地,如图4所示,在本实施例中,所述确定模块20包括:Further, as shown in FIG. 4, in the embodiment, the determining module 20 includes:
处理单元21,用于在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;The processing unit 21 is configured to associate a voltage value of the voltage detection signal with the received key value when receiving a key value corresponding to the voltage detection signal fed back by the terminal;
统计单元22,用于在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;The statistic unit 22 is configured to count, when the voltage detection signal output is completed, a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values;
确定单元23,用于根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。The determining unit 23 is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
在本实施例中,在每次接收到终端反馈电压检测信号对应的键值时,处理单元21将该键值与所述电压检测信号的电压值关联。当输出模块10输出电压检测信号完成时,统计单元22统计各个键值关联的多个电压值,从各个键值关联的多个电压值中获得各个键值关联的最大电压值与最小电压值。然后,确定单元23根据各个键值关联的最大电压值与最小电压值,确定出各个键值对应的电压区间。例如,若统计单元22获取终端的某一个键值关联的最大电压值为0.56v,关联的最小电压值为0.12v,则确定单元23确定该键值对应的电压区间为[0.12,0.56]v。In this embodiment, each time the key value corresponding to the terminal feedback voltage detection signal is received, the processing unit 21 associates the key value with the voltage value of the voltage detection signal. When the output module 10 outputs the voltage detection signal, the statistics unit 22 counts a plurality of voltage values associated with the respective key values, and obtains a maximum voltage value and a minimum voltage value associated with the respective key values from the plurality of voltage values associated with the respective key values. Then, the determining unit 23 determines the voltage interval corresponding to each of the key values based on the maximum voltage value and the minimum voltage value associated with the respective key values. For example, if the maximum voltage value associated with a certain key value of the terminal is 0.56v and the associated minimum voltage value is 0.12v, the determining unit 23 determines that the voltage interval corresponding to the key value is [0.12, 0.56] v. .
进一步地,在本实施例中,所述用于终端与按键板的适配检测装置还包括显示屏。所述显示屏可以为LCD液晶显示屏,在此不作限制。可以通过所述显示屏显示终端各个键值对应的电压区间,按键信号对应的电压值,以及在所述终端与所述按键板不适配时,显示不适配的提示信息。Further, in this embodiment, the adaptation detecting device for the terminal and the keypad further includes a display screen. The display screen may be an LCD liquid crystal display, which is not limited herein. The voltage display corresponding to each key value of the terminal, the voltage value corresponding to the key signal, and the prompt information that is not adapted when the terminal and the keypad are not adapted may be displayed through the display screen.
本实施例提出的方案,输出模块10输出的各个电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,直至电压检测信号的电压值大于或等于预设电压阈值时,处理模块40控制输出模块10停止输出电压检测信号。通过逐渐增加电压检测信号的电压值,可以精确地确定终端各个键值对应的电压值,从而精确获得各个键值对应的电压区间,实现更加精确地检测终端与按键板是否适配的问题,从而进一步有效防止终端装配不适配的按键板。In the solution proposed in this embodiment, each voltage detection signal output by the output module 10 is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit until the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold. The processing module 40 controls the output module 10 to stop outputting the voltage detection signal. By gradually increasing the voltage value of the voltage detection signal, the voltage value corresponding to each key value of the terminal can be accurately determined, thereby accurately obtaining the voltage interval corresponding to each key value, thereby realizing more accurate detection of whether the terminal and the keypad are adapted, thereby Further effectively preventing the terminal assembly from assembling the unsuitable keypad.
本发明进一步提供一种用于终端与按键板的适配检测方法,参照图5,图5为本发明用于终端与按键板的适配检测方法第一实施例的流程示意图。The present invention further provides a method for detecting and adapting a terminal and a keypad. Referring to FIG. 5, FIG. 5 is a schematic flowchart of a first embodiment of a method for detecting a terminal and a keypad.
在本实施例中,该用于终端与按键板的适配检测方法包括以下步骤:In this embodiment, the method for detecting the adaptation of the terminal and the keypad includes the following steps:
步骤S10,输出预设的电压检测信号至终端;Step S10, outputting a preset voltage detection signal to the terminal;
步骤S20,所述终端查询并反馈所述电压检测信号的电压值所对应的键值;Step S20, the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal;
本实施例中,在终端与按键板装配前,采用本发明上述装置实施例中所述的用于终端与按键板的适配检测装置(以下简称适配检测装置),通过本发明的用于终端与按键板的适配检测方法检测终端与按键板是否适配。如图1所示,适配检测装置连接于终端控制芯片以及按键板之间。其中,所述终端包括但不限于电视机、手机等具有按键的设备。每个终端在生产时,厂家对终端的每一个功能按键的键值都设置了对应的电压区间。由于不同厂家对键值对应的电压区间有不同的设置标准,也即每一个键值对应的电压区间目前是未统一规定的。例如,在一个终端中“增大音量”功能按键的键值对应的电压区间为0-0.5v,而在另一终端中“增大音量”功能按键的键值对应的电压区间为0.2-0.8v。因此,需要确定出终端各个键值对应的电压区间。In this embodiment, before the terminal is assembled with the keypad, the adaptation detecting device for the terminal and the keypad is described in the foregoing apparatus embodiment of the present invention (hereinafter referred to as an adaptation detecting device), which is used by the present invention. The method for detecting the adaptation of the terminal and the keypad is to detect whether the terminal and the keypad are adapted. As shown in FIG. 1, the adaptation detecting device is connected between the terminal control chip and the keypad. The terminal includes, but is not limited to, a device with a button such as a television or a mobile phone. When each terminal is in production, the manufacturer sets a corresponding voltage interval for the key value of each function button of the terminal. Since different manufacturers have different setting standards for the voltage ranges corresponding to the key values, that is, the voltage intervals corresponding to each key value are currently not uniformly specified. For example, the voltage range corresponding to the key value of the "increase volume" function button in one terminal is 0-0.5v, and the voltage range corresponding to the key value of the "increase volume" function button in another terminal is 0.2-0.8. v. Therefore, it is necessary to determine the voltage interval corresponding to each key value of the terminal.
在本实施例中,适配检测装置通过采用电压检测信号来获取终端各个键值对应的电压区间。具体地,适配检测装置输出预设的各个电压检测信号至所述终端。其中,所述终端中存储有预设的键值与电压值关系表。当所述终端接收到适配检测装置输出的电压检测信号时,所述终端查询所述预设的键值与电压值关系表,查询是否存在与电压检测信号的电压值对应的键值。例如,若所述预设的键值与电压值关系表为键值与电压区间的对应关系表,终端查询在所述键值与电压区间的对应关系表中,接收到的所述电压检测信号的电压值是否在某一键值对应的电压区间内。当查询到所述电压检测信号的电压值在某一键值对应的电压区间内时,也即查询到所述电压检测信号的电压值对应的键值;否则,也即未查询到所述电压检测信号的电压值对应的键值。终端在查询到所述电压检测信号的电压值对应的键值时,反馈查询到的键值至所述适配检测装置,也即反馈所述电压检测信号的电压值对应的键值至所述适配检测装置。终端在未查询到所述电压检测信号的电压值对应的键值时,也即所述电压检测信号的电压值不存在对应的键值时,反馈无效值至所述适配检测装置。In this embodiment, the adaptation detecting device acquires a voltage interval corresponding to each key value of the terminal by using a voltage detection signal. Specifically, the adaptation detecting means outputs the preset respective voltage detection signals to the terminal. The terminal stores a preset relationship between the key value and the voltage value. When the terminal receives the voltage detection signal output by the adaptation detecting device, the terminal queries the preset key value and voltage value relationship table to query whether there is a key value corresponding to the voltage value of the voltage detection signal. For example, if the preset key value and voltage value relationship table is a correspondence table between the key value and the voltage interval, the terminal queries the received voltage detection signal in the correspondence table between the key value and the voltage interval. Whether the voltage value is within a voltage range corresponding to a certain key value. When it is queried that the voltage value of the voltage detection signal is within a voltage interval corresponding to a certain key value, that is, the key value corresponding to the voltage value of the voltage detection signal is queried; otherwise, the voltage is not queried. The key value corresponding to the voltage value of the detection signal. When the terminal queries the key value corresponding to the voltage value of the voltage detection signal, the queried key value is fed back to the adaptive detection device, that is, the key value corresponding to the voltage value of the voltage detection signal is fed back to the Adapt the detection device. When the terminal does not query the key value corresponding to the voltage value of the voltage detection signal, that is, when the voltage value of the voltage detection signal does not have a corresponding key value, the terminal feeds back the invalid value to the adaptation detecting device.
步骤S30,根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存;Step S30, determining, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and saving;
在每次输出一个电压检测信号至所述终端后,适配检测装置会接收到所述终端反馈的键值,或者接收到所述终端反馈的无效值。其中,适配检测装置输出多个电压检测信号,终端可能反馈同一个键值,也即适配检测装置可能接收到所述终端多次反馈同一个键值。适配检测装置根据每次接收到的键值,以及每次接收到的键值所对应的电压检测信号的电压值,确定出各个键值对应的电压区间并保存。例如,有5个电压检测信号的电压值对应“增大音量”功能按键的键值,则适配检测装置根据这5个电压检测信号的电压值确定“增大音量”功能按键的键值对应的电压区间并保存;有8个电压检测信号的电压值对应“减小音量”功能按键的键值,则适配检测装置根据这8个电压检测信号的电压值确定“减小音量”功能按键的键值对应的电压区间并保存。After each output of a voltage detection signal to the terminal, the adaptation detecting device receives the key value fed back by the terminal or receives an invalid value fed back by the terminal. Wherein, the adaptation detecting device outputs a plurality of voltage detection signals, and the terminal may feed back the same key value, that is, the adaptation detecting device may receive the terminal to feedback the same key value multiple times. The adaptation detecting means determines the voltage interval corresponding to each key value according to the key value received each time and the voltage value of the voltage detection signal corresponding to each received key value, and saves. For example, if the voltage value of the five voltage detection signals corresponds to the key value of the “increase volume” function button, the adaptation detecting device determines the key value corresponding to the “increase volume” function button according to the voltage values of the five voltage detection signals. The voltage interval is saved; if the voltage value of the eight voltage detection signals corresponds to the key value of the “decrease volume” function button, the adaptation detecting device determines the “decrease volume” function button according to the voltage values of the eight voltage detection signals. The voltage range corresponding to the key value is saved.
步骤S40,检测是否有基于按键板触发的按键信号,并在检测到所述按键信号时获取所述按键信号对应的电压值;Step S40, detecting whether there is a button signal triggered by the keypad, and acquiring a voltage value corresponding to the button signal when the button signal is detected;
在确定了终端各个键值对应的电压区间后,适配检测装置接着获取按键板各个按键对应的电压值。下面以按键板上任一按键为例,对获取按键对应电压值进行说明。当用户按压按键板上的按键后,产生该按键对应的按键信号,所述按键信号传输至适配检测装置。适配检测装置检测是否有基于按键板触发的按键信号,当检测到所述按键信号时,适配检测装置获取所述按键信号对应的电压值。After determining the voltage interval corresponding to each key value of the terminal, the adaptation detecting device then acquires the voltage value corresponding to each button of the keypad. The following takes the button on the button as an example to describe the voltage value corresponding to the button. When the user presses a button on the keypad, a button signal corresponding to the button is generated, and the button signal is transmitted to the adaptation detecting device. The adaptation detecting device detects whether there is a button signal triggered by the keypad, and when detecting the button signal, the adaptation detecting device acquires a voltage value corresponding to the button signal.
步骤S50,确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配。Step S50, determining a positional relationship between a voltage value corresponding to the button signal and any of the voltage intervals, and determining, according to the positional relationship, whether the terminal is adapted to the keypad.
当获取到按键信号对应的电压值后,适配检测装置将所述按键信号对应的电压值与保存的终端各个键值对应的电压区间进行比对,确定所述按键信号对应的电压值与保存的终端各个键值对应的电压区间的位置关系,并根据确定的位置关系判断所述终端与所述按键板是否适配。具体地,所述步骤S50包括:After obtaining the voltage value corresponding to the button signal, the adaptation detecting device compares the voltage value corresponding to the button signal with the voltage interval corresponding to each key value of the saved terminal, and determines the voltage value corresponding to the button signal and saves The positional relationship of the voltage interval corresponding to each key value of the terminal, and determining whether the terminal is adapted to the keypad according to the determined positional relationship. Specifically, the step S50 includes:
步骤a,将所述按键信号对应的电压值与任一所述电压区间进行比对,以确定所述按键信号对应的电压值与所述电压区间的位置关系;Step a, comparing a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
步骤b,在所述按键信号对应的电压值不属于任一电压区间或所述按键信号对应的电压值属于其中一电压区间但与所述电压区间的临界电压值的差值小于预设电压差阈值时,判定所述终端与所述按键板不适配。Step b, the voltage value corresponding to the button signal does not belong to any voltage interval or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than the preset voltage difference. At the threshold, it is determined that the terminal is not adapted to the keypad.
在本实施例中,适配检测装置将获取到的所述电压值与保存的终端各个键值对应的电压区间进行比对,判断获取到的所述电压值是否属于终端某一个键值对应的电压区间。若获取到的所述电压值不属于保存的终端的任一按键对应的电压区间,也即对所述终端而言,所述按键信号对应的按键是失效的,适配检测装置判断所述终端与所述按键板不适配。In this embodiment, the adaptation detecting device compares the acquired voltage value with a voltage interval corresponding to each key value of the saved terminal, and determines whether the obtained voltage value belongs to a certain key value of the terminal. Voltage range. If the obtained voltage value does not belong to a voltage interval corresponding to any button of the saved terminal, that is, for the terminal, the button corresponding to the button signal is invalid, and the adaptation detecting device determines the terminal. Not compatible with the keypad.
若适配检测装置判断获取到的所述电压值属于保存的终端的某一按键对应的电压区间,则适配检测装置进一步计算获取到的所述电压值与该键值对应的电压区间的每个临界电压值的绝对差值。通常,键值对应的电压区间有两个临界电压值,适配检测装置分别计算获取到的所述电压值与该键值对应的电压区间的两个临界电压值的绝对差值。在本实施例中,预先设置有一预设电压差阈值,所述预设电压差阈值根据实际情况灵活设置,在此不作限制。在计算出的所述电压值与该键值对应的电压区间的临界电压值的绝对差值中,判断是否存在绝对差值小于所述预设电压差阈值。若存在某一绝对差值小于所述预设电压差阈值,也即说明所述按键信号对应的电压值接近所述键值对应的电压区间的临界电压值,这种情况下,不能保证所述键值即为所述按键信号对应的按键的键值,因此,适配检测装置判断所述终端与所述按键板不适配。若不存在某一绝对差值小于所述预设电压差阈值,也即获取的所述电压值与所述键值对应的电压区间的任一临界电压值的绝对差值均大于或者等于所述预设电压差阈值,则适配检测装置判断所述键值即为所述按键信号对应的按键的键值。If the adaptive detection device determines that the acquired voltage value belongs to a voltage interval corresponding to a certain button of the saved terminal, the adaptation detecting device further calculates each of the obtained voltage values corresponding to the key value. The absolute difference of the threshold voltage values. Generally, the voltage interval corresponding to the key has two threshold voltage values, and the adaptive detecting device respectively calculates the absolute difference between the obtained threshold voltage values of the voltage interval corresponding to the key value. In this embodiment, a preset voltage difference threshold is set in advance, and the preset voltage difference threshold is flexibly set according to actual conditions, and is not limited herein. In the calculated absolute difference between the voltage value and the threshold voltage value of the voltage interval corresponding to the key value, it is determined whether the absolute difference value is smaller than the preset voltage difference threshold. If there is a certain absolute difference that is less than the preset voltage difference threshold, that is, the voltage value corresponding to the button signal is close to the threshold voltage value of the voltage interval corresponding to the key value. In this case, the The key value is the key value of the button corresponding to the button signal, and therefore, the adaptation detecting means determines that the terminal is not adapted to the keypad. If there is no absolute difference value that is less than the preset voltage difference threshold, that is, the absolute difference between any obtained threshold voltage value of the voltage value corresponding to the key value is greater than or equal to The preset voltage difference threshold is used by the adaptation detecting device to determine that the key value is the key value of the button corresponding to the button signal.
本实施例提出的方案,在终端装配按键板前,通过适配检测装置输出各个预设的电压检测信号至终端后,根据终端反馈的各个键值以及各个对应的电压检测信号的电压值,确定终端各个键值对应的电压区间并保存,之后当用户按压按键板上的按键,在检测到基于按键板触发的按键信号时,适配检测装置获取按键信号对应的电压值,并根据按键信号对应的电压值与电压区间的位置关系判断终端与按键板是否适配,因此,实现了在终端的按键板装配前,及时检测出终端与按键板是否适配,以便当检测出不适配时进行整改,从而有效防止了终端装配不适配的按键板。The solution proposed in this embodiment determines the terminal according to each key value fed back by the terminal and the voltage value of each corresponding voltage detection signal after the terminal detects the button board and outputs each preset voltage detection signal to the terminal. The voltage interval corresponding to each key value is saved, and then when the user presses a button on the keypad, when detecting a button signal triggered by the keypad, the adaptation detecting device acquires a voltage value corresponding to the button signal, and corresponding to the button signal according to the button signal The positional relationship between the voltage value and the voltage interval determines whether the terminal and the keypad are adapted. Therefore, it is timely detected whether the terminal and the keypad are adapted before the button panel of the terminal is assembled, so as to be rectified when the detection is not adapted. Therefore, the terminal board is effectively prevented from being assembled with an unsuitable keypad.
进一步地,参照图6,基于第一实施例提出本发明用于终端与按键板的适配检测方法第二实施例,在本实施例中,所述步骤S30包括:Further, with reference to FIG. 6, a second embodiment of the method for detecting the adaptation of the terminal and the keypad is proposed based on the first embodiment. In this embodiment, the step S30 includes:
步骤S31,在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;Step S31, when receiving the key value corresponding to the voltage detection signal fed back by the terminal, correlating the voltage value of the voltage detection signal with the received key value;
步骤S32,在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;Step S32, when the voltage detection signal output is completed, counting a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values;
步骤S33,根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。Step S33, determining a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
在本实施例中,在每次接收到终端反馈电压检测信号对应的键值时,适配检测装置将该键值与所述电压检测信号的电压值关联。当输出电压检测信号完成时,适配检测装置统计各个键值关联的多个电压值,从各个键值关联的多个电压值中获得各个键值关联的最大电压值与最小电压值。然后,根据各个键值关联的最大电压值与最小电压值,确定出各个键值对应的电压区间。例如,若统计获取终端的某一个键值关联的最大电压值为0.56v,关联的最小电压值为0.12v,则适配检测装置确定该键值对应的电压区间为[0.12,0.56]v。In this embodiment, the adaptation detecting means associates the key value with the voltage value of the voltage detection signal each time the key value corresponding to the terminal feedback voltage detection signal is received. When the output voltage detection signal is completed, the adaptive detecting device counts a plurality of voltage values associated with the respective key values, and obtains a maximum voltage value and a minimum voltage value associated with the respective key values from the plurality of voltage values associated with the respective key values. Then, according to the maximum voltage value and the minimum voltage value associated with each key value, the voltage interval corresponding to each key value is determined. For example, if the maximum voltage value associated with a certain key value of the statistical acquisition terminal is 0.56v and the associated minimum voltage value is 0.12v, the adaptation detecting device determines that the voltage interval corresponding to the key value is [0.12, 0.56] v.
进一步地,在本实施例中,所述电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,所述步骤S10之后,还包括:Further, in the embodiment, the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit. After the step S10, the method further includes:
步骤c,判断所述电压检测信号的电压值是否大于或等于预设电压阈值,并在判断结果为是时控制输出模块停止输出所述电压检测信号。Step c: determining whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold, and controlling the output module to stop outputting the voltage detection signal when the determination result is YES.
在本实施例中,适配检测装置输出的各个预设电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,比如为按照0.01V的递增规律依次增大的电平信号。在每次输出电压检测信号后,适配检测装置侦测所述电压检测信号的电压值。在侦测到所述电压检测信号的电压值时,适配检测装置判断所述电压检测信号的电压值是否大于或等于预设电压阈值。例如,预先设置所述预设电压阈值等于电源电压,则适配检测装置判断所述电压检测信号的电压值是否大于或等于电源电压。当所述电压检测信号的电压值小于所述预设电压阈值时,适配检测装置继续输出电压检测信号。当所述电压检测信号的电压值大于或等于所述预设电压阈值时,适配检测装置停止输出电压检测信号,也即电压检测信号输出完成。In this embodiment, each preset voltage detection signal output by the adaptation detecting device is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit, for example, a level sequentially increased according to an increasing law of 0.01V. signal. The adaptive detecting means detects the voltage value of the voltage detecting signal after each time the voltage detecting signal is output. When detecting the voltage value of the voltage detection signal, the adaptation detecting means determines whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold. For example, if the preset voltage threshold is preset to be equal to the power supply voltage, the adaptation detecting means determines whether the voltage value of the voltage detection signal is greater than or equal to the power supply voltage. When the voltage value of the voltage detection signal is less than the preset voltage threshold, the adaptive detection device continues to output the voltage detection signal. When the voltage value of the voltage detection signal is greater than or equal to the preset voltage threshold, the adaptive detecting device stops outputting the voltage detection signal, that is, the voltage detection signal output is completed.
进一步地,在本实施例中,所述适配检测装置还包括显示屏。所述显示屏可以为LCD液晶显示屏,在此不作限制。当适配检测装置确定了终端各个键值对应的电压区间,以及获取到按键信号对应的电压值后,通过所述显示屏显示终端各个键值对应的电压区间,按键信号对应的电压值。并在判断所述终端与所述按键板不适配时,显示不适配的提示信息。Further, in this embodiment, the adaptation detecting device further includes a display screen. The display screen may be an LCD liquid crystal display, which is not limited herein. When the adaptation detecting device determines the voltage interval corresponding to each key value of the terminal, and obtains the voltage value corresponding to the key signal, the voltage value corresponding to each key value of the terminal and the voltage value corresponding to the key signal are displayed through the display screen. And when it is determined that the terminal is not adapted to the keypad, the prompt information that is not adapted is displayed.
本实施例提出的方案,适配检测装置输出的各个电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,直至电压检测信号的电压值大于或等于预设电压阈值时,停止输出电压检测信号。通过逐渐增加电压检测信号的电压值,可以精确地确定终端各个键值对应的电压值,从而精确获得各个键值对应的电压区间,实现更加精确地检测出终端与按键板是否适配的问题,从而进一步有效防止终端装配不适配的按键板。In the solution provided by the embodiment, each voltage detection signal output by the adaptation detecting device is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit until the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold. , stop output voltage detection signal. By gradually increasing the voltage value of the voltage detection signal, the voltage value corresponding to each key value of the terminal can be accurately determined, thereby accurately obtaining the voltage interval corresponding to each key value, thereby realizing more accurate detection of whether the terminal and the keypad are adapted. Thereby, it is further effectively prevented that the terminal assembly is not adapted to the keypad.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (15)

  1. 一种用于终端与按键板的适配检测装置,其特征在于,所述用于终端与按键板的适配检测装置连接于终端控制芯片以及按键板之间,所述用于终端与按键板的适配检测装置包括主控芯片,所述主控芯片包括:The device for adapting the detection of the terminal and the keypad is characterized in that the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad, and the terminal and the keypad are used. The adaptation detecting device comprises a main control chip, and the main control chip comprises:
    输出模块,用于输出预设的电压检测信号至终端,所述终端查询并反馈所述电压检测信号的电压值所对应的键值,所述电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号;And an output module, configured to output a preset voltage detection signal to the terminal, where the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal, where the voltage detection signal starts from 0V and is preset according to the preset value a level signal that is sequentially incremented by the unit;
    确定模块,用于根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存;a determining module, configured to determine, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and save;
    获取模块,用于在检测到基于按键板触发的按键信号时,获取按键信号对应的电压值;An acquiring module, configured to acquire a voltage value corresponding to the button signal when detecting a button signal triggered by the button board;
    处理模块,用于确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配,以及判断所述电压检测信号的电压值是否大于或等于预设电压阈值,并在判断结果为是时控制输出模块停止输出所述电压检测信号;其中,a processing module, configured to determine a positional relationship between a voltage value corresponding to the button signal and any one of the voltage intervals, and determine, according to the positional relationship, whether the terminal is adapted to the keypad, and determine the voltage detection Whether the voltage value of the signal is greater than or equal to the preset voltage threshold, and when the determination result is YES, the control output module stops outputting the voltage detection signal; wherein
    所述处理模块包括:The processing module includes:
    比对单元,用于将所述按键信号对应的电压值与任一所述电压区间进行比对,以确定所述按键信号对应的电压值与所述电压区间的位置关系;a comparison unit, configured to compare a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
    判断单元,用于在所述按键信号对应的电压值不属于任一电压区间或所述按键信号对应的电压值属于其中一电压区间但与所述电压区间的临界电压值的差值小于预设电压差阈值时,判定所述终端与所述按键板不适配。a determining unit, configured to: when the voltage value corresponding to the button signal does not belong to any voltage interval, or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than a preset When the voltage difference threshold is reached, it is determined that the terminal is not adapted to the keypad.
  2. 如权利要求1所述的用于终端与按键板的适配检测装置,其特征在于,所述用于终端与按键板的适配检测装置还包括分别与所述主控芯片连接的DAC模块和ADC模块,其中:The device for adapting detection of a terminal and a keypad according to claim 1, wherein the adaptation detecting means for the terminal and the keypad further comprises a DAC module respectively connected to the main control chip and ADC module, where:
    所述DAC模块,用于将所述输出模块输出的电压检测信号转换成模拟信号后传输至所述终端;The DAC module is configured to convert the voltage detection signal output by the output module into an analog signal and transmit the signal to the terminal;
    所述ADC模块,用于对所述DAC模块输出的电压检测信号以及所述按键板输出的按键信号进行采样及模数转换,以得到所述电压检测信号的实际电压值和所述按键信号的电压值;The ADC module is configured to perform sampling and analog-to-digital conversion on a voltage detection signal output by the DAC module and a key signal output by the keypad, to obtain an actual voltage value of the voltage detection signal and the key signal. Voltage value;
    其中,所述确定模块根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。The determining module determines, according to the received key values and the actual voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and saves them.
  3. 如权利要求1所述的用于终端与按键板的适配检测装置,其特征在于,所述确定模块包括:The device for determining the adaptation of the terminal and the keypad according to claim 1, wherein the determining module comprises:
    处理单元,用于在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;a processing unit, configured to: when receiving a key value corresponding to the voltage detection signal fed back by the terminal, correlating a voltage value of the voltage detection signal with the received key value;
    统计单元,用于在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;a statistical unit, configured to calculate a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values when the voltage detection signal output is completed;
    确定单元,用于根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。The determining unit is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  4. 如权利要求2所述的用于终端与按键板的适配检测装置,其特征在于,所述确定模块包括:The device for adapting the detection of the terminal and the keypad according to claim 2, wherein the determining module comprises:
    处理单元,用于在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;a processing unit, configured to: when receiving a key value corresponding to the voltage detection signal fed back by the terminal, correlating a voltage value of the voltage detection signal with the received key value;
    统计单元,用于在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;a statistical unit, configured to calculate a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values when the voltage detection signal output is completed;
    确定单元,用于根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。The determining unit is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  5. 一种用于终端与按键板的适配检测装置,其特征在于,所述用于终端与按键板的适配检测装置连接于终端控制芯片以及按键板之间,所述用于终端与按键板的适配检测装置包括主控芯片,所述主控芯片包括:The device for adapting the detection of the terminal and the keypad is characterized in that the adaptation detecting device for the terminal and the keypad is connected between the terminal control chip and the keypad, and the terminal and the keypad are used. The adaptation detecting device comprises a main control chip, and the main control chip comprises:
    输出模块,用于输出预设的电压检测信号至终端,所述终端查询并反馈所述电压检测信号的电压值所对应的键值;An output module, configured to output a preset voltage detection signal to the terminal, where the terminal queries and feeds back a key value corresponding to the voltage value of the voltage detection signal;
    确定模块,用于根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存;a determining module, configured to determine, according to each received key value and a voltage value of the corresponding voltage detection signal, a voltage interval corresponding to each key value and save;
    获取模块,用于在检测到基于按键板触发的按键信号时,获取按键信号对应的电压值;An acquiring module, configured to acquire a voltage value corresponding to the button signal when detecting a button signal triggered by the button board;
    处理模块,用于确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配。The processing module is configured to determine a positional relationship between a voltage value corresponding to the button signal and any of the voltage intervals, and determine, according to the positional relationship, whether the terminal is adapted to the keypad.
  6. 如权利要求5所述的用于终端与按键板的适配检测装置,其特征在于,所述处理模块包括:The device of claim 5, wherein the processing module comprises:
    比对单元,用于将所述按键信号对应的电压值与任一所述电压区间进行比对,以确定所述按键信号对应的电压值与所述电压区间的位置关系;a comparison unit, configured to compare a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
    判断单元,用于在所述按键信号对应的电压值不属于任一电压区间或所述按键信号对应的电压值属于其中一电压区间但与所述电压区间的临界电压值的差值小于预设电压差阈值时,判定所述终端与所述按键板不适配。a determining unit, configured to: when the voltage value corresponding to the button signal does not belong to any voltage interval, or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference from the threshold voltage value of the voltage interval is less than a preset When the voltage difference threshold is reached, it is determined that the terminal is not adapted to the keypad.
  7. 如权利要求5所述的用于终端与按键板的适配检测装置,其特征在于,所述用于终端与按键板的适配检测装置还包括分别与所述主控芯片连接的DAC模块和ADC模块,其中:The device for adapting detection of a terminal and a keypad according to claim 5, wherein the adaptation detecting means for the terminal and the keypad further comprises a DAC module respectively connected to the main control chip and ADC module, where:
    所述DAC模块,用于将所述输出模块输出的电压检测信号转换成模拟信号后传输至所述终端;The DAC module is configured to convert the voltage detection signal output by the output module into an analog signal and transmit the signal to the terminal;
    所述ADC模块,用于对所述DAC模块输出的电压检测信号以及所述按键板输出的按键信号进行采样及模数转换,以得到所述电压检测信号的实际电压值和所述按键信号的电压值;The ADC module is configured to perform sampling and analog-to-digital conversion on a voltage detection signal output by the DAC module and a key signal output by the keypad, to obtain an actual voltage value of the voltage detection signal and the key signal. Voltage value;
    其中,所述确定模块根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。The determining module determines, according to the received key values and the actual voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and saves them.
  8. 如权利要求5所述的用于终端与按键板的适配检测装置,其特征在于,所述电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,所述处理模块还用于:The device for adapting detection of a terminal and a keypad according to claim 5, wherein the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit, and the processing module Also used for:
    判断所述电压检测信号的电压值是否大于或等于预设电压阈值,并在判断结果为是时控制输出模块停止输出所述电压检测信号。Determining whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold, and controlling the output module to stop outputting the voltage detection signal when the determination result is YES.
  9. 如权利要求8所述的用于终端与按键板的适配检测装置,其特征在于,所述确定模块包括:The device for determining the adaptation of the terminal and the keypad according to claim 8, wherein the determining module comprises:
    处理单元,用于在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;a processing unit, configured to: when receiving a key value corresponding to the voltage detection signal fed back by the terminal, correlating a voltage value of the voltage detection signal with the received key value;
    统计单元,用于在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;a statistical unit, configured to calculate a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values when the voltage detection signal output is completed;
    确定单元,用于根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。The determining unit is configured to determine a voltage interval corresponding to each key value according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  10. 一种用于终端与按键板的适配检测方法,其特征在于,所述用于终端与按键板的适配检测方法包括以下步骤:The method for detecting the adaptation of a terminal and a keypad is characterized in that the method for detecting the adaptation of the terminal and the keypad comprises the following steps:
    输出预设的电压检测信号至终端;Outputting a preset voltage detection signal to the terminal;
    所述终端查询并反馈所述电压检测信号的电压值所对应的键值;The terminal queries and feeds back a key value corresponding to a voltage value of the voltage detection signal;
    根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存;Determining and storing a voltage interval corresponding to each key value according to each received key value and a voltage value of the corresponding voltage detection signal;
    检测是否有基于按键板触发的按键信号,并在检测到所述按键信号时获取所述按键信号对应的电压值;Detecting whether there is a button signal triggered by the keypad, and acquiring a voltage value corresponding to the button signal when the button signal is detected;
    确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配。Determining a positional relationship between a voltage value corresponding to the button signal and any of the voltage intervals, and determining, according to the positional relationship, whether the terminal is adapted to the keypad.
  11. 如权利要求10所述的用于终端与按键板的适配检测方法,其特征在于,所述确定所述按键信号对应的电压值与任一所述电压区间的位置关系,并根据所述位置关系判断所述终端与所述按键板是否适配的步骤包括:The method for detecting the adaptation of a terminal and a keypad according to claim 10, wherein the determining a positional relationship between a voltage value corresponding to the button signal and any of the voltage intervals, and according to the position The step of determining whether the terminal is adapted to the keypad is:
    将所述按键信号对应的电压值与任一所述电压区间进行比对,以确定所述按键信号对应的电压值与所述电压区间的位置关系;Comparing a voltage value corresponding to the button signal with any of the voltage intervals to determine a positional relationship between a voltage value corresponding to the button signal and the voltage interval;
    在所述按键信号对应的电压值不属于任一电压区间或所述按键信号对应的电压值属于其中一电压区间但与所述电压区间的临界电压值的差值小于预设电压差阈值时,判定所述终端与所述按键板不适配。When the voltage value corresponding to the button signal does not belong to any voltage interval or the voltage value corresponding to the button signal belongs to one of the voltage ranges but the difference between the threshold voltage value of the voltage interval is less than the preset voltage difference threshold, It is determined that the terminal is not adapted to the keypad.
  12. 如权利要求10所述的用于终端与按键板的适配检测方法,其特征在于,所述电压检测信号为电压值从0V开始并依据预设单位依次递增的电平信号,所述输出预设的电压检测信号至终端的步骤之后,还包括:The method for detecting the adaptation of a terminal and a keypad according to claim 10, wherein the voltage detection signal is a level signal whose voltage value starts from 0V and sequentially increases according to a preset unit, and the output is pre-processed. After the step of setting the voltage detection signal to the terminal, the method further includes:
    判断所述电压检测信号的电压值是否大于或等于预设电压阈值,并在判断结果为是时停止输出所述电压检测信号。Determining whether the voltage value of the voltage detection signal is greater than or equal to a preset voltage threshold, and stopping outputting the voltage detection signal when the determination result is YES.
  13. 如权利要求12所述的用于终端与按键板的适配检测方法,其特征在于,所述根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间的步骤包括:The method for detecting an adaptation of a terminal and a keypad according to claim 12, wherein the determining a voltage interval corresponding to each key value according to the received key value and a voltage value of the corresponding voltage detection signal The steps include:
    在接收到所述终端反馈的电压检测信号对应的键值时,将所述电压检测信号的电压值与接收到的所述键值关联;And when the key value corresponding to the voltage detection signal fed back by the terminal is received, correlating the voltage value of the voltage detection signal with the received key value;
    在所述电压检测信号输出完成时,统计各个键值关联的多个电压值中的最大电压值与最小电压值;When the voltage detection signal output is completed, counting a maximum voltage value and a minimum voltage value among the plurality of voltage values associated with the respective key values;
    根据各个键值对应的最大电压值与最小电压值,确定各个键值对应的电压区间。The voltage interval corresponding to each key value is determined according to the maximum voltage value and the minimum voltage value corresponding to the respective key values.
  14. 如权利要求10所述的用于终端与按键板的适配检测方法,其特征在于,所述输出预设的电压检测信号至终端的步骤之后,还包括:The method for detecting the adaptation of the terminal and the keypad according to claim 10, wherein the step of outputting the preset voltage detection signal to the terminal further comprises:
    实时采集输出的所述电压检测信号并对所述电压检测信号进行模数转换以得到所述电压检测信号的实际电压值;Acquiring and outputting the voltage detection signal in real time and performing analog-to-digital conversion on the voltage detection signal to obtain an actual voltage value of the voltage detection signal;
    所述根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存具体为:The determining, according to the received key values and the voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and storing the specifics as:
    根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。The voltage interval corresponding to each key value is determined and saved according to the received key values and the actual voltage values of the corresponding voltage detection signals.
  15. 如权利要求11所述的用于终端与按键板的适配检测方法,其特征在于,所述输出预设的电压检测信号至终端的步骤之后,还包括:The method for detecting the adaptation of the terminal and the keypad according to claim 11, wherein the step of outputting the preset voltage detection signal to the terminal further comprises:
    实时采集输出的所述电压检测信号并对所述电压检测信号进行模数转换以得到所述电压检测信号的实际电压值;Acquiring and outputting the voltage detection signal in real time and performing analog-to-digital conversion on the voltage detection signal to obtain an actual voltage value of the voltage detection signal;
    所述根据接收到的各个键值以及对应的电压检测信号的电压值,确定各个键值对应的电压区间并保存具体为:The determining, according to the received key values and the voltage values of the corresponding voltage detection signals, the voltage intervals corresponding to the respective key values and storing the specifics as:
    根据接收到的各个键值以及对应的电压检测信号的实际电压值,确定各个键值对应的电压区间并保存。The voltage interval corresponding to each key value is determined and saved according to the received key values and the actual voltage values of the corresponding voltage detection signals.
PCT/CN2016/085039 2015-12-31 2016-06-07 Detection apparatus and method for adaptation of terminal to button board WO2017113615A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511028069.6A CN105652193B (en) 2015-12-31 2015-12-31 It is adapted to detection device and method for terminal and keypad
CN201511028069.6 2015-12-31

Publications (1)

Publication Number Publication Date
WO2017113615A1 true WO2017113615A1 (en) 2017-07-06

Family

ID=56491131

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085039 WO2017113615A1 (en) 2015-12-31 2016-06-07 Detection apparatus and method for adaptation of terminal to button board

Country Status (2)

Country Link
CN (1) CN105652193B (en)
WO (1) WO2017113615A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115793869A (en) * 2022-10-27 2023-03-14 广芯微电子(广州)股份有限公司 Key state identification method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110959256B (en) * 2019-10-31 2024-01-23 深圳市汇顶科技股份有限公司 Control method, MCU, touch equipment and storage medium
CN113422597B (en) * 2021-06-29 2023-10-10 中微半导体(深圳)股份有限公司 Touch key value self-adapting circuit and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253839A (en) * 1994-03-15 1995-10-03 Oki Electric Ind Co Ltd Key board and test method for key board controller using it
CN101644743A (en) * 2009-08-22 2010-02-10 福建捷联电子有限公司 Method for testing button circuit board and device thereof
CN201622325U (en) * 2010-03-23 2010-11-03 青岛海信电器股份有限公司 Keypad testing device and television testing system
TW201044430A (en) * 2009-06-03 2010-12-16 Wistron Corp Key circuit, electronic apparatus using the same, television and testing method thereof
CN202126485U (en) * 2011-06-24 2012-01-25 深圳市蓝韵实业有限公司 Key detection device of medical equipment
US20120136607A1 (en) * 2010-11-26 2012-05-31 Primax Electronics Ltd. Method and system for testing circuit board of keys
CN104954965A (en) * 2015-05-08 2015-09-30 华为技术有限公司 Headset button detection method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100479531C (en) * 2005-04-07 2009-04-15 天津三星电子显示器有限公司 Method for testing set plate at foreside of TV set
CN101931676B (en) * 2009-09-29 2013-05-15 惠州Tcl移动通信有限公司 Mobile phone key panel
CN101984392B (en) * 2010-11-05 2012-02-29 华为终端有限公司 Operation method of simulation hardware button and touch screen terminal
CN104093114B (en) * 2014-07-22 2018-03-16 Tcl通讯(宁波)有限公司 A kind of detection means of earphone keystroke, detecting system and detection method
CN204903719U (en) * 2015-08-19 2015-12-23 珠海安宇数码科技有限公司 Testing arrangement of LED liquid crystal TV button

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253839A (en) * 1994-03-15 1995-10-03 Oki Electric Ind Co Ltd Key board and test method for key board controller using it
TW201044430A (en) * 2009-06-03 2010-12-16 Wistron Corp Key circuit, electronic apparatus using the same, television and testing method thereof
CN101644743A (en) * 2009-08-22 2010-02-10 福建捷联电子有限公司 Method for testing button circuit board and device thereof
CN201622325U (en) * 2010-03-23 2010-11-03 青岛海信电器股份有限公司 Keypad testing device and television testing system
US20120136607A1 (en) * 2010-11-26 2012-05-31 Primax Electronics Ltd. Method and system for testing circuit board of keys
CN202126485U (en) * 2011-06-24 2012-01-25 深圳市蓝韵实业有限公司 Key detection device of medical equipment
CN104954965A (en) * 2015-05-08 2015-09-30 华为技术有限公司 Headset button detection method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115793869A (en) * 2022-10-27 2023-03-14 广芯微电子(广州)股份有限公司 Key state identification method and device
CN115793869B (en) * 2022-10-27 2023-08-25 广芯微电子(广州)股份有限公司 Key state identification method and device

Also Published As

Publication number Publication date
CN105652193B (en) 2018-11-02
CN105652193A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
WO2017113615A1 (en) Detection apparatus and method for adaptation of terminal to button board
US20160072517A1 (en) Method and Device for Auto-calibration of ADC
US9035871B2 (en) Input detecting apparatus, and associated method, for electronic device
CN112019279B (en) Line loss calibration method, device and system and computer readable storage medium
US20090293580A1 (en) Method for Calibrating and/or Adjusting a sensor, especially an electrochemical, electrophysical or optical sensor, and corresponding sensor
US9172463B2 (en) Systems, methods and devices for detecting infrared noise at a remote control
US9781814B2 (en) Lighting control with integral dimming
CN112692532A (en) Digital assembly system and method based on Internet of things
CN115582791B (en) Precise force control self-locating assembly method
CN211267085U (en) Multichannel MEMS microphone sensitivity calibration circuit
CN110727261B (en) Test system and test method for automobile air conditioner controller keys
US10917104B2 (en) ADC sampling and resource usage optimization method using active variable sampling and active variable phase control
CN100544329C (en) A kind of apparatus and method that obtain correction coefficient of receiver
CN209479057U (en) Beading automatic cold-press formed punch fixed structure
CN211169327U (en) Deviation-rectifying tension control system
JP2004328720A (en) Channel synchronization instrument for mobile communication terminal based on tdd
CN220841406U (en) Detachable thermoforming die insert clearance adjustable device
CN211456848U (en) Device for correcting horizontal position of motor
CN113665241B (en) Automatic registration method, computer readable storage medium and detection device
CN211471785U (en) Structure for simply replacing snap spring
CN110756461A (en) Sound insulation pad punching detection device
CN215590233U (en) Registration system and printing equipment
CN117082652B (en) Data transmission method and system based on LoRa ad hoc network same-frequency avoidance
CN219767347U (en) Mark aligning device
JP2016140031A (en) Electric apparatus control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16880423

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11.10.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16880423

Country of ref document: EP

Kind code of ref document: A1