Knob button detection device, method and computer readable storage medium
By detecting the combination of tool panel and detection terminal, the MCU chip receives and processes the rotation information of the knob keys, the separate detection of the knob keys is realized, solving the problems of inconvenient operation and unintuitive effects in the prior art, and providing convenience and efficiency detection method.
Patent Information
- Application Number
- CN202111669313.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2041-12-31
AI Technical Summary
The existing knob key detection device is inconvenient to operate and the effect is not intuitive. It requires power on the main control board connected to the actual product to perform detection. It is large in size, making it difficult to detect the function of the knob key separately.
A detection device including a detection tool plate and a detection terminal is designed. The rotation information of the knob key is received through the MCU chip and converted into operation instructions, and sent to the detection terminal for visual operation, so as to realize the separate detection of the knob key and the front housing of the display without the need for The main control board connected to the actual product is powered on, the detection board has simple circuit, controllable size, and universal interface.
It realizes the function detection of the knob buttons for easy operation and intuitive effects, solves the problems of inconvenient operation and unintuitive effects, and is good versatile and flexible.
Smart Images

Figure CN114325376B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of detection devices, and in particular to a detection device and method for a knob button and a computer-readable storage medium. Background Art
[0002] Knob buttons are buttons that can be rotated clockwise, counterclockwise, or pressed to achieve different functions. For existing medical products with knob buttons, the knob buttons are mostly installed on the front shell of the display. When the front shell of the display is separated from the control board of the whole machine, the quality of the buttons can only be tested after the whole machine is assembled; even if it is not assembled as a whole machine for testing, the knob buttons need to be connected to the control main board. However, this type of control main board is large in size, and the control board needs to be connected to the power supply before the system or program can be loaded to test the knob buttons, which makes the detection of the knob buttons very inconvenient. Summary of the invention
[0003] In view of this, the present invention proposes a detection device, method and computer-readable storage medium for a knob button, which solve the problems of inconvenient operation and non-intuitive effect during knob button detection. Through a detection tooling board and a detection terminal connected to the detection work board, separate detection of the knob button before and after being fixed to the front shell of the display can be achieved, without the need to connect to the main control board of the actual product for power-on detection. The detection board has a simple circuit, controllable size and universal interface. After connecting the detection tooling board, the detection effect can be directly previewed through the preset interface, and the function of the knob button can be directly detected.
[0004] Based on the above purpose, one aspect of an embodiment of the present invention provides a detection device for a knob button.
[0005] The detection device includes a detection tooling plate and a detection terminal;
[0006] The detection tooling board includes an MCU chip, and the MCU chip is used to receive the rotation information of the knob button, convert the rotation information into an operation instruction, and send the operation instruction to the detection terminal;
[0007] The detection terminal is used to perform a visual operation according to the operation instruction, and the visual operation corresponds to the operation instruction one by one.
[0008] In some embodiments, the detection tooling board also includes an electroluminescent element and a power supply device, and the electroluminescent element, the power supply device and the knob button are connected in series; when the knob button is in the trigger position, the power supply device and the electroluminescent element are in a connection state, and when the knob button is in the cut-off position, the power supply device and the electroluminescent element are in an open circuit state.
[0009] In some embodiments, the detection tooling board includes a USB interface, and the detection tooling board is connected to the detection terminal via the USB interface.
[0010] In some embodiments, the detection tooling board includes a power supply circuit, the USB interface is connected to the MCU chip through the power supply circuit, and the power supply circuit is used for communication between the MCU chip and the detection terminal.
[0011] In some embodiments, the detection terminal includes a computer and a display connected to the computer, or an all-in-one machine, or a laptop computer;
[0012] The operation instructions include an upward instruction and a downward instruction, and the visualization operation includes a page upward operation and a page downward operation in the detection terminal.
[0013] In some embodiments, the upward instruction includes an upward movement instruction and / or an upward flip instruction, and the downward instruction includes a downward movement instruction and / or a downward flip instruction;
[0014] The page upward operation includes an upward movement operation and / or an upward flipping operation, and the downward movement instruction includes a downward movement operation and / or a downward flipping operation.
[0015] In some implementations, the rotation information includes clockwise rotation information and counterclockwise rotation information, the clockwise rotation information corresponds to the upward instruction, and the counterclockwise rotation information corresponds to the downward instruction.
[0016] In another aspect of the embodiments of the present invention, a method for detecting a knob button is provided. Based on the detection device described in any one of the above, the following steps are performed:
[0017] Receiving rotation information of the knob button;
[0018] The rotation information is converted into an operation instruction, and the operation instruction is sent to the detection terminal, so that the detection terminal performs a visual operation according to the operation instruction, wherein the visual operation corresponds to the operation instruction one by one.
[0019] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which stores a computer program that implements the above method steps when executed by a processor.
[0020] The present invention has at least the following beneficial technical effects: by detecting the tooling plate and the detection terminal connected to the detection work plate, separate detection of the knob button before and after being fixed to the front shell of the display can be achieved, which solves the problems of inconvenient operation and non-intuitive effect during knob button detection. It has good versatility, is easy to operate and has intuitive effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A schematic structural diagram of an embodiment of a detection device for a knob button provided by the present invention;
[0023] Figure 2 A schematic diagram of the connection structure of an embodiment of the detection tooling plate provided by the present invention;
[0024] Figure 3 A schematic diagram of the connection structure of another embodiment of the detection tooling plate provided by the present invention;
[0025] Figure 4 A block diagram of an embodiment of a method for detecting a knob button provided by the present invention;
[0026] Figure 5 A schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0027] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0028] Embodiments of the present disclosure are described below. However, it should be understood that the disclosed embodiments are merely examples, and other embodiments may take various alternative forms. The drawings are not necessarily drawn to scale; certain features may be exaggerated or minimized to show the details of specific components. Therefore, the specific structural and functional details disclosed herein should not be interpreted as limiting, but merely as a representative basis for teaching those skilled in the art to use the present application in various ways. As will be understood by those of ordinary skill in the art, the various features shown and described with reference to any one of the figures may be combined with the features shown in one or more other figures to produce embodiments that are not explicitly shown or described. The combination of features shown provides representative embodiments for typical applications. However, various combinations and modifications of features consistent with the teachings of the present disclosure may be desirable for certain specific applications or embodiments.
[0029] In the present application, relational terms, such as first and second, etc., are only used to distinguish an entity or action from another entity or action, and do not necessarily require or imply any actual such relationship or order between such entities or actions. The term "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements do not only include these elements, but also may include other elements that are not explicitly listed or inherent to such processes, methods, articles or equipment. In the absence of more constraints, the element with "comprising" in front does not exclude the presence of other identical elements in the process, method, article or equipment including the element. The term "and / or" means that any one of the listed items can be adopted by itself when used to list two or more items, or any combination of two or more of the listed items can be adopted.
[0030] Based on the above purpose, a first aspect of an embodiment of the present invention provides an embodiment of a detection device for a knob button.
[0031] like Figure 1 As shown, the detection device specifically includes: a detection tooling board 100 and a detection terminal 110 connected to the detection tooling board 100, the detection tooling board 100 includes an MCU chip 101, when testing the knob button function, the tested knob button is connected to the detection tooling board 100 through a connecting cable, the MCU chip receives the rotation information of the knob button, and converts the rotation information into an operation instruction, and sends the operation instruction to the detection terminal; the detection terminal is used to perform visual operations according to the operation instructions, and the visual operations correspond one-to-one to the operation instructions.
[0032] Specifically, the detection terminal may be a computer with a display, a laptop, an all-in-one machine or other equipment, and the detection tooling board is powered by a power supply device or the detection terminal.
[0033] The communication between the MCU (Microcontroller Unit) chip and the detection terminal can be realized by a network or a circuit. The communication between the knob button to be tested and the MCU chip can be realized by a circuit.
[0034] Connect each pin of the tested knob button to the detection pin of the MCU chip. The MCU chip converts the received rotation information, such as clockwise rotation or counterclockwise rotation, into an operation instruction recognizable by the detection terminal and sends it to the detection terminal. After receiving the operation instruction, the detection terminal calls the operation instruction through the pre-configured file and the running interface to perform visual operations. For example, a digital switching script is pre-set. When the knob rotates clockwise, if the rotation function of the tested knob button is good, the number displayed on the detection terminal page will change from large to small or from small to large. If the rotation function of the tested knob button is bad, the number displayed on the detection terminal page will not change, so as to detect the quality of the rotation function of the knob button. The above example of digital change is only one optional way of visual operation. It can also be based on other ways of visual operation, such as switching pictures, to judge the quality of the rotation function of the knob button.
[0035] The size of the inspection tooling plate is determined by the size of each component thereon, and the size is controllable without causing waste of space.
[0036] By detecting the tooling board and the detection terminal connected to the detection work board, separate detection of the knob button before and after being fixed to the front shell of the display is achieved. The test method based on the above detection device is flexible, versatile, easy to operate and has intuitive results.
[0037] In some embodiments, the detection tooling board also includes an electroluminescent element and a power supply device, and the electroluminescent element, the power supply device and the knob button are connected in series; when the knob button is in the trigger position, the power supply device and the electroluminescent element are in a connection state, and when the knob button is in the cut-off position, the power supply device and the electroluminescent element are in an open circuit state.
[0038] The power supply device can be a power supply arranged on the detection tooling board, or a power supply located outside the detection tooling board. Preferably, the electroluminescent element is powered by the detection terminal. When the knob button is pressed to the trigger position, the knob button puts the power supply device and the electroluminescent element in a conductive state. When the knob button is in the cut-off position, the power supply device and the electroluminescent element are in an open circuit state, wherein the electroluminescent element includes a light-emitting diode, a light-emitting triode, etc. Taking the light-emitting diode as an example, when the knob to be tested is pressed to the cut-off position, the power supply device supplies power to the light-emitting diode, and the positive and negative poles of the light-emitting diode are turned on. If the light-emitting diode is lit, it means that the key function of the knob button to be tested is good. If the light-emitting diode is not lit, it means that the key function of the knob button to be tested is not good, thereby detecting the quality of the key function of the knob to be tested.
[0039] In some embodiments, the detection tooling board includes a USB interface, and the detection tooling board is connected to the detection terminal via the USB interface.
[0040] In some embodiments, the detection tooling board includes a power supply circuit, the USB interface is connected to the MCU chip through the power supply circuit, and the power supply circuit is used for communication between the MCU chip and the detection terminal. The detection tooling board includes a USB interface, the USB interface is connected to the MCU chip on the detection tooling board, and the detection terminal is connected to the USB interface through a USB cable, thereby connecting to the MCU chip.
[0041] like Figure 2 The figure shows a schematic diagram of the connection structure of the detection tooling board.
[0042] exist Figure 2 In the test, the MCU chip is selected as the SN8P212 series chip, the USB interface includes the positive power pin VDD, the negative power pin VSS, the positive data pin D+ and the negative data pin D-; the tested knob button includes the first pin K1, the second pin K2, the third pin K3 and the fourth pin K4. K3 of the tested knob button realizes the power supply function, the rotation function of the tested knob button is realized by the contact between K1 or K2 and K3, and the key function of the tested knob button is realized by the contact between K4 and K3.
[0043] The positive power pin VDD of the USB interface, the negative power pin VSS of the USB interface, the positive data pin D+ of the USB interface, the negative data pin D- of the USB interface, the first pin K1 of the knob button under test is connected to the detection pin P1.2 of the chip, the second pin K2 of the knob button under test is connected to the detection pin P1.1 of the chip, the negative power pin VSS of the USB interface is grounded, and the positive power pin VDD of the USB interface is connected to the third pin K3 of the knob button under test.
[0044] By pre-programming the SN8P212X series chips, after the detection terminal powers on the detection tooling board through the USB interface, the SN8P212X receives the rotation information of the knob button through the detection pins P1.2 and P1.1, forms different coding sequences based on the rotation information, and converts them into operation instructions recognizable by the detection terminal. For example, when the knob is rotated clockwise, it is converted into a "page flipping down or moving downward" instruction, and when the knob button is rotated counterclockwise, it is converted into a "page flipping up or moving the page upward" instruction. The quality of the rotation function of the knob button under test is detected by detecting whether the terminal performs corresponding operations according to the converted operation instructions.
[0045] Furthermore, the electroluminescent element uses a light-emitting diode, one end of the light-emitting diode is connected to the knob button K4 under test, and the other end is grounded. When the knob button under test is not pressed or is not pressed to the trigger position, the light-emitting diode does not receive the power supply voltage transmitted through the USB interface, and the positive and negative poles of the light-emitting diode are not conductive, so it is in a dark state. When the knob button under test is pressed to reach the trigger position, that is, K4 is in contact with K3, the light-emitting diode receives the power supply voltage transmitted through the USB interface, and the positive and negative poles of the light-emitting diode are conductive, so it is in a lit state. Therefore, the key function of the knob button under test is checked by whether the light-emitting diode is lit after the knob button under test is pressed to the trigger position.
[0046] like Figure 3 As shown in the figure, it is a schematic diagram of the connection structure of the detection tooling board. Figure 3 In the example, the MCU chip is the HT82K95 series chip.
[0047] Combination Figure 3 The detection tooling board includes a USB interface, a power supply circuit and a chip. The power supply circuit includes a filter circuit, a restart circuit, a USB communication circuit and a crystal oscillator circuit. The USB interface is connected to the filter circuit, the filter circuit is connected to the chip and the restart circuit, the restart circuit is connected to the MCU chip, the crystal oscillator circuit is connected to the MCU chip, the USB interface is also connected to the USB communication circuit, and the USB communication circuit is connected to the MCU chip.
[0048] KEYPAD includes K1, K2, K3, and K4 pins, where K1 is connected to the PA3 pin of the chip, K2 is connected to the PA2 pin of the chip, K3 is connected to the VDD pin of the chip, and K4 is connected to the resistor R 106 The first end, R 106 The second end of is connected to the first end of the light emitting diode D1, and the second end of D1 is grounded, wherein the light emitting diode is an LED.
[0049] The USB interface is connected to the chip through a filtering circuit to ensure stable power supply; the USB interface is connected to the chip through a communication circuit to suppress noise during communication between the USB interface and the chip; the restart circuit and crystal oscillator circuit ensure the normal operation of the MCU chip.
[0050] In some embodiments, in combination Figure 3 , the filter circuit includes a resistor R 100 , R 102 , capacitor C 103 and polarity capacitor C 109 , C 103 The first end of C103 is connected to the VSS pin of the USB interface, and the second end of C103 is connected to the VDD pin of the USB interface. 100The first end of the connection, R 100 The second end of R 102 The first end, C 109 The first end of the connection, R 102 The second end of C is connected to the restart circuit and the VDD pin of the chip. 109 The second end of C is grounded. 103 and C 109 Used for filtering in filter circuits to ensure stable power supply.
[0051] In some embodiments, in combination Figure 3 , the restart circuit includes: capacitor C 104 and C 105 , resistor R 105 and R 108 , diode V D100 ; R 105 The first end is connected to V D100 The first end of the filter circuit R 102 The second end is connected to the VDD pin of the chip, R 105 The second end of the C 104 The first end, R 108 The first end and V D100 The first end of the connection, C 104 The first end and R 108 The first end of the connection, R 108 The second terminal and V D100 The second end of the connection, R 108 The second terminal and V D100 The second end is also connected to C 105 The first end of the chip is connected to the RES pin, C 104 The second end of the C 105 The second end is grounded.
[0052] In some embodiments, in combination Figure 3 , the USB communication circuit includes: resistor R 103 , R 104 , capacitor C 114 , C 115 ; Resistance R 103 The first end is connected to the USB+ of the USB interface, and the resistor R 103 The second end of C 114 The first end of the chip is connected to USBD+ / CLK, R 104 The first end is connected to the USB interface USB-, R 104 The second end of C 115 The first end of the chip is connected to the USBD- / DATA connection, C 114 , C 115The second end of USB- and USB+ form a differential data pair, R 103 With R 104 is the matching resistor, C 114 With C 115 Used for noise removal on communication circuits.
[0053] In some embodiments, in combination Figure 3 , the crystal oscillator circuit includes: capacitor C 110 , C 111 , crystal oscillator Y100; C 110 The first end of the connection, C 110 The second end of C is connected to the first end of Y100 and OSC1 of the chip respectively. 111 The first end of the connection, C 111 The second end of is respectively connected to the second end of Y100 and OSC2 of the chip.
[0054] In some embodiments, in combination Figure 3 , KEYPAD's K3 is connected to the chip's PA1 pin, and K4 is connected to the chip's PA0 pin. The chip's PA0~PA3 pins are detection pins, used to detect the status of the connected KEYPAD.
[0055] In some embodiments, the detection terminal includes a computer and a display connected to the computer, or an all-in-one machine, or a laptop computer;
[0056] The operation instructions include an upward instruction and a downward instruction, and the visualization operation includes a page upward operation and a page downward operation in the detection terminal.
[0057] In the detection terminal, the operation instructions can be called through the pre-configured files and running interfaces. For example, common software for the detection terminal, such as POWERPOINT or OFFICE software, can be configured, and the operation instructions can be called through POWERPOINT or OFFICE software to perform corresponding operations, so as to more intuitively detect the function of the knob button under test.
[0058] Using a terminal device such as a computer with a display, an all-in-one machine, or a laptop as part of the detection device saves detection costs.
[0059] In some embodiments, the upward instruction includes an upward movement instruction and / or an upward flip instruction, and the downward instruction includes a downward movement instruction and / or a downward flip instruction;
[0060] The page upward operation includes an upward movement operation and / or an upward flipping operation, and the downward movement instruction includes a downward movement operation and / or a downward flipping operation.
[0061] In some implementations, the rotation information includes clockwise rotation information and counterclockwise rotation information, the clockwise rotation information corresponds to the upward instruction, and the counterclockwise rotation information corresponds to the downward instruction.
[0062] Based on the same inventive concept, according to another aspect of the present invention, Figure 4 As shown, an embodiment of the present invention further provides a method for detecting a knob button. Based on the detection device as described above, the following steps are performed:
[0063] S101, receiving rotation information of the knob button;
[0064] S103, converting the rotation information into an operation instruction, and sending the operation instruction to a detection terminal, so that the detection terminal performs a visual operation according to the operation instruction, wherein the visual operation corresponds to the operation instruction one by one.
[0065] Based on the same inventive concept, according to another aspect of the present invention, Figure 5 As shown, an embodiment of the present invention further provides a computer-readable storage medium 40, which stores a computer program 410 for executing the above method when executed by a processor.
[0066] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.
[0067] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0068] It should be understood that, as used herein, the singular forms "a", "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations including one or more of the associated listed items.
[0069] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A detection device for a knob button, characterized in that: Including detection tooling board and detection terminal; The detection tooling board includes an MCU chip, and the MCU chip is used to receive the rotation information of the knob button, convert the rotation information into an operation instruction, and send the operation instruction to the detection terminal; The detection terminal is used to perform visual operations according to the operation instructions, and the visual operations correspond to the operation instructions one by one. After receiving the operation instructions, the detection terminal calls the operation instructions through pre-configured files and running interfaces to perform visual operations, and detects whether the rotation function of the tested knob button is good or bad according to whether the detection terminal performs corresponding visual operations according to the operation instructions; The detection tooling board also includes an electroluminescent element and a power supply device, wherein the electroluminescent element, the power supply device and the knob button are connected in series; when the knob button is in the trigger position, the power supply device and the electroluminescent element are in a circuit state, and when the knob button is in the cut-off position, the power supply device and the electroluminescent element are in a circuit-breaking state, and after the tested knob button is pressed to the trigger position, the key function of the tested knob button is detected by whether the electroluminescent element is lit; Wherein, the operation instruction includes an upward instruction and a downward instruction, and the visual operation includes a page upward operation and a page downward operation in the detection terminal; The upward instruction includes an upward movement instruction and / or an upward flipping instruction, and the downward instruction includes a downward movement instruction and / or a downward flipping instruction; the page upward operation includes an upward movement operation and / or an upward flipping operation, and the downward movement instruction includes a downward movement operation and / or a downward flipping operation; The rotation information includes clockwise rotation information and counterclockwise rotation information, the clockwise rotation information corresponds to the upward instruction, and the counterclockwise rotation information corresponds to the downward instruction.
2. The device according to claim 1, characterized in that The detection tooling board comprises a USB interface, and the detection tooling board is connected to the detection terminal via the USB interface.
3. The device according to claim 2, characterized in that The detection tooling board includes a power supply circuit, the USB interface is connected to the MCU chip through the power supply circuit, and the power supply circuit is used for communication between the MCU chip and the detection terminal.
4. The device according to claim 1, characterized in that The detection terminal includes a computer and a display connected to the computer, or an all-in-one machine, or a notebook computer.
5. A method for detecting a knob button, characterized in that: Based on the detection device according to any one of claims 1 to 4, the following steps are performed: Receiving rotation information of the knob button; The rotation information is converted into an operation instruction, and the operation instruction is sent to the detection terminal, so that the detection terminal performs a visual operation according to the operation instruction, wherein the visual operation corresponds to the operation instruction one by one, wherein after receiving the operation instruction, the detection terminal calls the operation instruction through a pre-configured file and a running interface to perform a visual operation, and detects whether the rotation function of the tested knob button is good or bad according to whether the detection terminal performs the corresponding visual operation according to the operation instruction; When the knob button is in the trigger position, the power supply device and the electroluminescent element are in a connection state, and when the knob button is in the cut-off position, the power supply device and the electroluminescent element are in an open circuit state. The quality of the rotation function of the tested knob button is detected based on whether the detection terminal performs corresponding visual operations according to the operation instructions.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for detecting a knob button as claimed in claim 5 are performed.
Citation Information
Patent Citations
Keypad test and display driver integrated circuit and control method thereof
CN101943742A
Detection circuit of key
CN102221672A
Fault detection device of absolute value encoder and fault detection distinguishing method thereof
CN111811563A
Vehicle knob switch, vehicle knob switch control method and storage medium
CN112863917A