CN113064372B - Identification circuit, related touch module and controller - Google Patents

Identification circuit, related touch module and controller Download PDF

Info

Publication number
CN113064372B
CN113064372B CN202110373514.1A CN202110373514A CN113064372B CN 113064372 B CN113064372 B CN 113064372B CN 202110373514 A CN202110373514 A CN 202110373514A CN 113064372 B CN113064372 B CN 113064372B
Authority
CN
China
Prior art keywords
pin
stimulated
triode
resistor
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110373514.1A
Other languages
Chinese (zh)
Other versions
CN113064372A (en
Inventor
冯春林
蒋艳芳
粟晓立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XIAMEN YUDIAN AUTOMATION TECHNOLOGY CO LTD
Original Assignee
XIAMEN YUDIAN AUTOMATION TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XIAMEN YUDIAN AUTOMATION TECHNOLOGY CO LTD filed Critical XIAMEN YUDIAN AUTOMATION TECHNOLOGY CO LTD
Priority to CN202110373514.1A priority Critical patent/CN113064372B/en
Publication of CN113064372A publication Critical patent/CN113064372A/en
Application granted granted Critical
Publication of CN113064372B publication Critical patent/CN113064372B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Electronic Switches (AREA)

Abstract

The invention relates to an identification circuit, a related touch module and a controller, wherein the identification circuit comprises a time sequence generation unit, an excited unit and an identification unit; the time sequence generating unit generates and transmits a time sequence signal; the stimulated unit is provided with a plurality of stimulated ends, receives the time sequence signals and sends stimulated signals when the corresponding stimulated ends are stimulated; the identifying unit transmits a clock signal to the timing generating unit, which also receives the stimulated signal and identifies the stimulated end of the stimulated unit according to the clock period at which the receiving time of the stimulated signal is located. By adopting the identification circuit, the corresponding touch module can effectively reduce the processor I/O ports occupied by the touch keys, so that richer control functions can be realized on the corresponding controller at lower cost.

Description

Identification circuit, related touch module and controller
Technical Field
The present invention relates to the field of identification circuits and controllers with touch control functions, and more particularly, to an identification circuit, a touch control module and a controller thereof.
Background
Most of the existing industrial controllers still adopt mechanical keys, but the service lives of the mechanical keys are lower, and the controllers cannot adopt an integrated panel due to the adoption of the mechanical keys, so that the controllers cannot realize a waterproof function.
Some prior art proposes a controller with a touch function, where each touch key is connected to a touch IC, and each output end of the touch IC is correspondingly connected to a main processor of the controller, and the touch principle is approximately as follows: when the touch IC detects the capacitance value change generated after the corresponding touch key is pressed, a touch signal is fed back to the main processor through a specific output end, and the main processor correspondingly identifies the touched touch key according to an I/O port for receiving the touch signal and correspondingly controls parameters to be controlled according to corresponding functions.
However, when the functions of the controller are rich, only touch recognition needs to occupy a large number of I/O ports on the main processor, which results in the need to use a main processor with more ports and higher cost to realize the rich control functions and corresponding touch control functions of the controller.
Disclosure of Invention
The invention aims to solve the technical problems and provide an identification circuit, a related touch module and a controller.
To achieve the above object, a first aspect of the present invention provides an identification circuit comprising: a timing generation unit that generates and transmits a timing signal defining a plurality of timing segments; the device comprises an excited unit, a first excitation unit and a second excitation unit, wherein the excited unit is provided with a plurality of excited ends, each excited end is provided with a corresponding time sequence section, and each time sequence section corresponds to one excited end; it also receives the timing signal and transmits an stimulated signal when the stimulated end corresponding to the current timing segment is stimulated; an identification unit that transmits a clock signal to the timing generation unit to cause the timing generation unit to generate the timing signal, a timing section of the timing signal corresponding to a clock period of the clock signal; it also receives the stimulated signal and identifies the stimulated end of the stimulated cell based on the clock cycle at which the stimulated signal was received.
Further, the stimulated unit is also provided with a plurality of inquiry ends which are in one-to-one correspondence with the stimulated ends, and each inquiry end is provided with a corresponding time sequence section; the identification unit comprises a microprocessor, and the time sequence generation unit comprises a shift register; the microprocessor sends the clock signal and the data signal to the shift register, which also receives the stimulated signal to identify a stimulated end stimulated by the stimulated unit; the shift register is provided with a plurality of shift output ends which are connected with the inquiry ends in a one-to-one correspondence manner, and the shift register respectively outputs inquiry signals to the corresponding inquiry ends in a time-sharing switching manner through the shift output ends according to the clock signals and the data signals; the inquiry signals switched and output by the shifting output ends jointly form the time sequence signals, and the sending period of each inquiry signal forms the time sequence section.
Further, a first data table is built in the microprocessor, and the first data table stores the corresponding relation between each stimulated end and each clock period; and the microprocessor queries the first data table according to the clock period of the receiving moment of the stimulated signal when receiving the stimulated signal so as to identify the stimulated end of the stimulated unit which is stimulated currently.
Further, the type of the shift register is 74HC164, the 8 th pin of the shift register is connected with the microprocessor to receive the clock signal, and the 1 st pin and the 2 nd pin of the shift register are connected in series and are both connected with the microprocessor to receive the data signal; the 3 rd pin, the 4 th pin, the 5 th pin, the 6 th pin, the 10 th pin, the 11 th pin, the 12 th pin and the 13 th pin of the shift register are all suitable for forming shift output ends thereof.
Further, the stimulated ends of the stimulated units are stimulated when a change in the electrophysical quantity exceeding a preset threshold is detected.
In order to achieve the above object, a second aspect of the present invention further provides a touch module, which includes a plurality of touch keys and an identification circuit according to any one of the above technical solutions; each touch key is respectively connected with one stimulated end of the stimulated unit, and when the touch key is pressed down, the corresponding stimulated end is stimulated; the recognition unit recognizes the pressed touch key according to the recognition result of the stimulated end of the stimulated unit.
Further, the stimulated unit is also provided with a plurality of inquiry ends which are in one-to-one correspondence with the stimulated ends, and each inquiry end is provided with a corresponding time sequence section; the identification unit comprises a microprocessor, and the time sequence generation unit comprises a shift register; the microprocessor sends the clock signal and the data signal to the shift register, which also receives the stimulated signal to identify a stimulated end of the stimulated unit that is currently stimulated; the shift register is provided with a plurality of shift output ends which are connected with the inquiry ends in a one-to-one correspondence manner, and the shift register respectively outputs inquiry signals to the corresponding inquiry ends in a time-sharing switching manner through the shift output ends according to the clock signals and the data signals; the inquiry signals switched and output by the shifting output ends jointly form the time sequence signals, and the sending period of each inquiry signal forms the time sequence section;
the number of the touch keys is 4; the stimulated unit comprises a touch IC, and the model of the touch IC is KF8TS2510; the touch IC is configured such that the 12 th pin, the 11 th pin, the 10 th pin and the 9 th pin respectively form an excited end and are respectively connected with one touch key through a current limiting resistor, the 5 th pin, the 6 th pin, the 7 th pin and the 8 th pin respectively form inquiry ends corresponding to the 12 th pin, the 11 th pin, the 10 th pin and the 9 th pin and are all used for receiving the inquiry signals, and the 13 th pin forms an output end of the excited unit and is used for sending the excited signals outwards.
In order to achieve the above object, a third aspect of the present invention further provides a controller, which includes a housing and a touch module according to any one of the above technical solutions; the touch key is arranged on the shell, and the identification circuit is arranged in the shell.
Further, the identification unit also controls the parameters to be controlled according to the function of the touch key after identifying the pressed touch key.
Further, the stimulated unit is also provided with a plurality of inquiry ends which are in one-to-one correspondence with the stimulated ends, and each inquiry end is provided with a corresponding time sequence section; the identification unit comprises a microprocessor, and the time sequence generation unit comprises a shift register; the microprocessor sends the clock signal and the data signal to the shift register, which also receives the stimulated signal to identify a stimulated end of the stimulated unit that is currently stimulated; the shift register is provided with a plurality of shift output ends which are connected with the inquiry ends in a one-to-one correspondence manner, and the shift register respectively outputs inquiry signals to the corresponding inquiry ends in a time-sharing switching manner through the shift output ends according to the clock signals and the data signals; the inquiry signals switched and output by the shifting output ends jointly form the time sequence signals, and the sending period of each inquiry signal forms the time sequence section;
the type of the shift register is 74HC164, the 8 th pin of the shift register is connected with the microprocessor to receive the clock signal, and the 1 st pin and the 2 nd pin of the shift register are connected in series and are both connected with the microprocessor to receive the data signal; the 3 rd pin, the 4 th pin, the 5 th pin, the 6 th pin, the 10 th pin, the 11 th pin, the 12 th pin and the 13 th pin of the shift register are all suitable for forming shift output ends thereof;
the controller also comprises a first LED digital display screen, a second LED digital display screen, an internal power supply and a digital display driving circuit; the first LED digital display screen and the second LED digital display screen are both arranged on the shell and are respectively used for displaying real-time parameters and target parameters; the model of the first LED digital display screen is TOF-8401BH, and the model of the second LED digital display screen is TOF-5421BH; the internal power supply and the digital display driving circuit are arranged in the shell, and the digital display driving circuit comprises a first triode, a second triode, a third triode, a fourth triode, a fifth triode, a sixth triode, a seventh triode, an eighth triode, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor and an eighth resistor; the base electrode of the first triode is connected with the 13 th pin of the shift register, the emitter electrode of the first triode is connected with the 12 th pin of the first LED digital display screen, and the collector electrode of the first triode is connected with the internal power supply; the base electrode of the second triode is connected with the 12 th pin of the shift register, the emitter electrode of the second triode is connected with the 9 th pin of the first LED digital display screen, and the collector electrode of the second triode is connected with the internal power supply; the base electrode of the third triode is connected with the 11 th pin of the shift register, the emitter electrode of the third triode is connected with the 8 th pin of the first LED digital display screen, and the collector electrode of the third triode is connected with the internal power supply; the base electrode of the fourth triode is connected with the 10 th pin of the shift register, the emitter electrode of the fourth triode is connected with the 6 th pin of the first LED digital display screen, and the collector electrode of the fourth triode is connected with the internal power supply; the base electrode of the fifth triode is connected with the 6 th pin of the shift register, the emitter electrode of the fifth triode is connected with the 2 nd pin of the second LED digital display screen, and the collector electrode of the fifth triode is connected with the internal power supply; the base electrode of the sixth triode is connected with the 5 th pin of the shift register, the emitter electrode of the sixth triode is connected with the 3 rd pin of the second LED digital display screen, and the collector electrode of the sixth triode is connected with the internal power supply; the base electrode of the seventh triode is connected with the 4 th pin of the shift register, the emitter electrode of the seventh triode is connected with the 6 th pin of the second LED digital display screen, and the collector electrode of the seventh triode is connected with the internal power supply; the base electrode of the eighth triode is connected with the 3 rd pin of the shift register, the emitter electrode of the eighth triode is connected with the 10 th pin of the second LED digital display screen, and the collector electrode of the eighth triode is connected with the internal power supply; the 4 th pin, the 1 st pin, the 3 rd pin, the 11 th pin, the 5 th pin, the 2 nd pin, the 7 th pin and the 10 th pin of the first LED digital display screen are respectively connected with the microprocessor through the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor, the sixth resistor, the seventh resistor and the eighth resistor; and the 12 th pin, the 1 st pin, the 11 th pin, the 8 th pin, the 5 th pin, the 4 th pin, the 7 th pin and the 9 th pin of the second LED digital display screen are respectively connected with the microprocessor through the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor, the sixth resistor, the seventh resistor and the eighth resistor.
Compared with the prior art, the invention has the following beneficial effects:
(1) According to the identification circuit, the identification unit sends the clock signal to the time sequence generation unit, so that the time sequence generation unit generates a corresponding time sequence signal according to the clock signal, and a plurality of time sequence sections defined by the time sequence signal correspond to the clock period of the clock signal; on this basis, the stimulated unit receives the timing signal and feeds back the stimulated signal to the identification unit when the stimulated end corresponding to the current timing section is stimulated, so that the identification unit can identify the stimulated end stimulated on the stimulated unit by corresponding the time of receiving the stimulated signal to the clock period.
The identification circuit of the invention introduces a time dimension, and by establishing a closed time sequence relation chain in the signal transmission process of the identification unit, the time sequence generation unit and the stimulated unit, the identification unit only needs to set a port for receiving stimulated signals, and can identify the stimulated end stimulated at the current moment according to the corresponding relation of the time of the port for receiving the stimulated signals in the time sequence relation chain, thereby being beneficial to reducing the signal port which is required to be occupied by the identification unit on the application layer of identifying the stimulated end, effectively reducing the I/O port of a processor which is required to be occupied by identifying the touch key, and further providing a material foundation for realizing richer control functions on a corresponding controller with lower cost.
(2) The identification circuit of the invention, the generation and the reception of the time sequence signal are realized by the following modes: for generating the time sequence signals, the identification unit and the time sequence generation unit are respectively constructed by a microprocessor and a shift register, the microprocessor drives each shift output end of the shift register to shift and output the query signals in a time-sharing way by sending a clock signal and a data signal to the shift register, so that each query signal forms the time sequence signals together by endowing time attributes to each query signal, and the sending period of each query signal forms a time sequence section substantially, thus, the generation of the time sequence signals can be formed by simple hardware connection without complex algorithm.
Meanwhile, for receiving the time sequence signals, the stimulated units are configured to have inquiry ends which are in one-to-one correspondence with the stimulated ends, and the inquiry ends are respectively connected with a shift output end to receive the inquiry signals in a time-sharing mode, so that the stimulated units can be configured to inquire and detect whether the stimulated ends are stimulated according to the time sequence signals formed by the inquiry signals only by simply corresponding ports of the stimulated units, and corresponding responses are carried out when the stimulated ends are stimulated.
Therefore, the generation and the reception of the time sequence signals are realized in the mode, the configuration of the identification unit, the time sequence generation unit and the stimulated unit is simpler, and the time sequence relation chain can be easily established in the signal transmission process of the identification unit, the time sequence generation unit and the stimulated unit.
(3) According to the identification circuit, the corresponding relation between each stimulated end and the clock period is established in the microprocessor, and the stimulated end which is stimulated currently can be identified quickly according to the table look-up mode after the stimulated signal is received, so that the identification mode is simple and quick.
(4) The identification circuit adopts the shift register with the model of 74HC164, has eight shift output ends, can be used for identifying eight stimulated ends at most, and has wide application range and high expandability.
(5) In the identification circuit of the invention, the excited end of the excited unit is excited when detecting that the change of the electric physical quantity exceeds the preset threshold, so the excited unit can be an integrated circuit capable of directly detecting the change of the electric physical quantity of the excitation source (for example, the change of a capacitance value is generated after a touch key is pressed), or can be excited by externally connecting other integrated circuits capable of detecting the change of the electric physical quantity of the excitation source without having the capability of directly detecting the change of the electric physical quantity of the excitation source and transmitting a digital signal or an analog signal through two integrated circuits, thereby the application range is wide.
(6) The touch module of the invention applies the identification circuit and inherits all advantages thereof, so that the identification unit of the identification circuit can identify the pressed touch key, thereby effectively reducing the I/O ports of the processor occupied by the identification of the touch key, and being beneficial to realizing richer control functions on the corresponding controller with lower cost.
(7) The touch module of the invention adopts the touch IC with the model of KF8TS2510 to construct stimulated units, has more I/O ports, and is suitable for realizing the receiving and response of time sequence signals by configuring corresponding stimulated ends and inquiry ends; in addition, the touch IC can be used for directly detecting the capacitance value change generated by the pressed touch key, so that the circuit structure is simpler.
(8) The controller provided by the invention has the advantages that all the advantages of the controller are inherited by applying the touch module, and the controller can realize more abundant control functions at lower cost.
(9) In the controller, the identification unit controls the parameters to be controlled of the controller after the pressed touch key is identified, in other words, the identification unit can be used as the main processor of the controller, so that the I/O ports occupied by the main processor due to the identification of the touch key are reduced.
(10) The controller of the invention also comprises an LED digital display screen and a corresponding digital display driving circuit, the microprocessor controls the display value of the LED digital display screen by switching the digital display bit to be controlled in a time-sharing way through the shift register, the display value of the LED digital display tube is controlled by fully utilizing the shift register, and the I/O port occupied by the microprocessor due to display control is effectively reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments below are briefly introduced, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an identification circuit according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an embodiment of an identification circuit of the present invention;
FIG. 3 is a circuit diagram of a touch module according to an embodiment of the invention;
fig. 4 is a circuit configuration diagram of a controller according to an embodiment of the present invention.
The main reference numerals:
a timing generation unit 1, a shift register 11, a shift output terminal 111, an excited unit 2, an excited terminal 21, an inquiry terminal 22, an identification unit 3, and a microprocessor 31.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are preferred embodiments of the invention and should not be taken as excluding other embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without creative efforts, are within the protection scope of the present invention.
In the claims, specification and drawings hereof, unless explicitly defined otherwise, the terms "first," "second," or "third," etc. are used for distinguishing between different objects and not for describing a particular sequential order. In the claims, specification and drawings of the present invention, the terms "comprising," having, "and variations thereof as used herein, are intended to be" including but not limited to. In the claims, specification and drawings of the present invention, the term "electrically connected" when used herein means that it includes both direct electrical connection and indirect electrical connection.
Referring to fig. 1, an embodiment of the present invention provides an identification circuit including a timing generation unit 1, an excited unit 2, and an identification unit 3.
The timing generation unit 1 generates and transmits a timing signal a that divides a time axis and defines a plurality of timing segments. It should be noted that the timing signal a may be understood as a signal for expressing that a specific event is performed in a specific timing section.
The stimulated unit 2 has a plurality of stimulated ends 21, each stimulated end 21 having a corresponding time period and each time period corresponding to only one stimulated end 21. The stimulated unit 2 also receives the timing signal a and transmits a stimulated signal B when a stimulated end 21 corresponding to a current timing section is stimulated. It should be noted that the excitation is understood as an excitation of the stimulated unit by an excitation source, which may be a digital signal or an analog signal, or may be a change in the value of an electro-physical quantity other than a current or a voltage, and may be detected by the stimulated unit. In other words, the stimulated end 21 of the stimulated unit 2 is stimulated when detecting that the change of the electro-physical quantity exceeds the preset threshold, for example, the change of the capacitance value exceeds the preset threshold after the touch key is pressed, or the change of the voltage signal exceeds the preset threshold due to the change of the level signal from the low level to the high level, so that the application range is wide.
The identification unit 3 transmits a clock signal C to the timing generation unit 1 to cause the timing generation unit 1 to generate the timing signal a, the timing section of which corresponds to the clock period of the clock signal C. In this embodiment, the time length of the time sequence segment of the time sequence signal a is the clock period of the clock signal C, so as to achieve the correspondence between the time sequence segment and the clock period on the time axis. The recognition unit 3 also receives the stimulated signal B and recognizes the stimulated end 21 that the stimulated unit 2 is currently stimulated in accordance with the clock cycle at which the reception timing of the stimulated signal B is located.
Thus, in the identification circuit of the present embodiment, the identification unit 3 transmits the clock signal C to the timing generation unit 1, so that the timing generation unit 1 generates the corresponding timing signal a according to the clock signal C, and a plurality of timing segments defined by the timing signal a correspond to the clock period of the clock signal C. On this basis, the stimulated unit 2 feeds back the stimulated signal B to the identification unit by receiving the timing signal a and when the stimulated end 21 corresponding to the current timing section is stimulated, so that the identification unit 3 can identify the stimulated end 21 stimulated on the stimulated unit 2 by corresponding the time of receiving the stimulated signal B to the clock period.
As can be seen from the above process, since the recognition circuit of the present embodiment introduces a time dimension, by establishing a closed time sequence relationship chain in the signal transmission process of the recognition unit 3, the time sequence generating unit 1 and the stimulated unit 2, the recognition unit 3 only needs to set a port for receiving the stimulated signal B, and can recognize the stimulated end 21 stimulated at the current moment according to the corresponding relationship of the time of the port for receiving the stimulated signal B in the time sequence relationship chain, thereby being beneficial to reducing the signal ports required to be occupied by the recognition unit 3 on the application level of recognizing the stimulated end 21, and providing a material basis for effectively reducing the processor I/O ports required to be occupied by recognizing the touch keys, and further realizing richer control functions on the corresponding controller with lower cost.
Referring to fig. 2, further, the generation and reception of the timing signal a in the present embodiment is specifically realized by the following manner.
The recognition unit 3 comprises a microprocessor 31 and the timing generation unit 1 comprises a shift register 11. The stimulated unit 2 also has a plurality of inquiry terminals 22 in one-to-one correspondence with the respective stimulated terminals 21, each inquiry terminal 22 also having a corresponding timing segment.
The microprocessor 31 sends the clock signal C and the data signal D to the shift register 11, which also receives the stimulated signal B to identify the stimulated end 21 that the stimulated unit 2 is currently stimulated. In this embodiment, the clock signal C is a time pulse signal, and the data signal D is a level digital signal.
The shift register 11 has a plurality of shift output terminals 111 connected to the respective inquiry terminals 22 in one-to-one correspondence, and shifts and outputs the same level digital signal A1 as the data signal D through the respective shift output terminals 111 according to the clock signal C and the data signal D, so as to respectively time-division switch and output the level digital signal A1 to the corresponding inquiry terminal 22, where the level digital signal forms an inquiry signal A1 facing the stimulated unit 2. Thus, the inquiry signals A1 outputted by the shift output terminals 111 together form the timing signal a, and the transmission period of each inquiry signal A1 forms the timing section.
In the identification circuit shown in fig. 2, the identification unit 3 and the timing generation unit 1 are respectively constructed by the microprocessor 31 and the shift register 11, and the microprocessor 31 drives the shift output terminals 111 of the shift register 11 to shift and output the inquiry signals A1 in a time-sharing manner by transmitting the clock signal C and the data signal D to the shift register 11, so that the inquiry signals A1 form the timing signal a in common by imparting the time attribute to the inquiry signals A1, and the transmission period of each inquiry signal A1 forms substantially one timing segment, and thus, the generation of the timing signal a can be performed without a complicated algorithm by a simple hardware connection. And, the stimulated unit 2 is configured to have the query terminals 22 in one-to-one correspondence with the respective stimulated terminals 21, and the respective query terminals 22 are respectively connected to a shift output terminal 111 to receive the query signal A1 in a time-sharing manner, so that the stimulated unit 2 can be configured to query and detect whether the respective stimulated terminals 21 are stimulated or not according to the timing signal a constituted by the query signal A1, and to respond correspondingly when stimulated, with simple correspondence to the ports of the stimulated unit 2. In other words, the generation and the reception of the timing signal a are realized in the above manner, the configuration of the identification unit 3, the timing generation unit 1 and the stimulated unit 2 is simpler, and the timing relationship chain can be established in the signal transmission process of the three more easily.
Specifically, referring to fig. 3, the type of the shift register 11 is 74HC164, the 8 th pin thereof is connected to the microprocessor to receive the clock signal C (mcu_clk), and the 1 st pin and the 2 nd pin thereof are connected in series and are both connected to the microprocessor to receive the DATA signal D (mcu_data). The 3 rd, 4 th, 5 th, 6 th, 10 th, 11 th, 12 th and 13 th pins of the shift register are adapted to constitute the shift output 111 thereof. Because the shift register with the model number of 74HC164 is adopted, the shift register has eight shift output ends, can be used for identifying eight stimulated ends at most, has wide application range and high expandability.
Preferably, the microprocessor 31 has a first data table built therein, which stores the correspondence between each of the plurality of terminals 21 and each of the plurality of clock cycles. The microprocessor 31 queries the first data table according to the clock period of the receiving time of the stimulated signal B when receiving the stimulated signal B, so as to identify the stimulated end 21 currently stimulated by the stimulated unit 2, and the identification manner is simple and quick.
Referring to fig. 3, the embodiment of the invention further provides a touch module, which includes a plurality of touch keys (S1, S2, S3, S4) and the identification circuit of the foregoing embodiment. Each of the touch keys (S1, S2, S3, S4) is connected to one of the stimulated ends 21 of the stimulated unit 2, and when pressed, stimulated the corresponding stimulated end 21. The recognition unit 3 recognizes the pressed touch key based on the recognition result of the stimulated end 21 of the stimulated unit 2. Due to the fact that the identification circuit is used, the touch module of the embodiment inherits all advantages of the touch module, the pressed touch keys can be identified through the identification unit of the identification circuit, the I/O ports of the processor occupied by the identification of the touch keys are effectively reduced, and the touch module is beneficial to realizing richer control functions on corresponding controllers at lower cost.
In a specific structure, the number of the touch keys is 4. The stimulated cells include a touch IC, model KF8TS2510. The touch IC is configured such that the 12 th, 11 th, 10 th and 9 th pins respectively constitute one of the stimulated ends 21 and are respectively connected with one of the touch keys (S1, S2, S3, S4) through a current limiting resistor, the 5 th, 6 th, 7 th and 8 th pins respectively constitute the query ends 22 corresponding to the 12 th, 11 th, 10 th and 9 th pins and are respectively used for receiving the query signals A1 (SW 0-SW 3), and the 13 th pin thereof constitutes an OUTPUT end of the stimulated unit and is used for transmitting the stimulated signal B (MCU_OUTPUT) outwards. Because the touch IC with the model KF8TS2510 is adopted to construct the stimulated unit, the number of I/O ports is large, and the method is suitable for realizing the receiving and the response of the timing signals by configuring the corresponding stimulated end 21 and the query end 22. In addition, the touch IC can be used for directly detecting the capacitance value change generated by the pressed touch key, so that the circuit structure is simpler.
Further, referring to fig. 4, an embodiment of the present invention further provides a controller, which includes a housing and the touch module described in the foregoing embodiment. The touch key is arranged on the shell, and the identification circuit is arranged in the shell. The controller of the embodiment inherits all advantages of the touch module due to the application of the touch module, and can realize richer control functions with lower cost.
In addition, the identification unit also controls parameters to be controlled according to the functions of the touch keys after identifying the pressed touch keys. In other words, the identification unit can be used as a main processor of the controller, so that the I/O ports occupied by the main processor due to the identification of the touch keys are reduced.
Further, the controller also comprises a first LED digital display screen LED1, a second LED digital display screen LED2, an internal power supply VCC and a digital display driving circuit.
The first LED digital display screen LED1 and the second LED digital display screen LED2 are arranged on the shell and are respectively used for displaying real-time parameters and target parameters; the model of the first LED digital display screen LED1 is TOF-8401BH, and the model of the second LED digital display screen LED2 is TOF-5421BH.
The internal power supply VCC and the digital display driving circuit are arranged in the shell, and the digital display driving circuit comprises a first triode T1, a second triode T2, a third triode T3, a fourth triode T4, a fifth triode T5, a sixth triode T6, a seventh triode T7, an eighth triode T8, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7 and an eighth resistor R8.
The base electrode of the first triode T1 is connected with the 13 th pin of the shift register, the emitter electrode of the first triode T1 is connected with the 12 th pin of the first LED digital display screen LED1, and the collector electrode of the first triode T1 is connected with the internal power supply VCC; the base electrode of the second triode T2 is connected with the 12 th pin of the shift register, the emitter electrode of the second triode T2 is connected with the 9 th pin of the first LED digital display screen LED1, and the collector electrode of the second triode T2 is connected with the internal power supply VCC; the base electrode of the third triode T3 is connected with the 11 th pin of the shift register, the emitter electrode of the third triode T3 is connected with the 8 th pin of the first LED digital display screen LED1, and the collector electrode of the third triode T3 is connected with the internal power supply VCC; the base electrode of the fourth triode T4 is connected with the 10 th pin of the shift register, the emitter electrode of the fourth triode T4 is connected with the 6 th pin of the first LED digital display screen LED1, and the collector electrode of the fourth triode T4 is connected with the internal power supply VCC; the base electrode of the fifth triode T5 is connected with the 6 th pin of the shift register, the emitter electrode of the fifth triode T5 is connected with the 2 nd pin of the second LED digital display screen LED2, and the collector electrode of the fifth triode T5 is connected with the internal power supply VCC; the base electrode of the sixth triode T6 is connected with the 5 th pin of the shift register, the emitter electrode of the sixth triode T6 is connected with the 3 rd pin of the second LED digital display screen LED2, and the collector electrode of the sixth triode T6 is connected with the internal power supply VCC; the base electrode of the seventh triode T7 is connected with the 4 th pin of the shift register, the emitter electrode of the seventh triode T7 is connected with the 6 th pin of the second LED digital display screen LED2, and the collector electrode of the seventh triode T7 is connected with the internal power supply VCC; the base electrode of the eighth triode T8 is connected with the 3 rd pin of the shift register, the emitter electrode of the eighth triode T8 is connected with the 10 th pin of the second LED digital display screen LED2, and the collector electrode of the eighth triode T8 is connected with the internal power supply VCC.
The 4 th pin, the 1 st pin, the 3 rd pin, the 11 th pin, the 5 th pin, the 2 nd pin, the 7 th pin and the 10 th pin of the first LED digital display screen LED1 are respectively connected with the Microprocessor (MCU) through the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8; the 12 th pin, the 1 st pin, the 11 th pin, the 8 th pin, the 5 th pin, the 4 th pin, the 7 th pin and the 9 th pin of the second LED digital display screen LED2 are respectively connected with the Microprocessor (MCU) through the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8.
The controller of the embodiment also comprises an LED digital display screen and a corresponding digital display driving circuit, and the microprocessor controls the display value of the LED digital display screen by switching the digital display bit to be controlled in a time-sharing way through the shift register, so that the display value of the LED digital display tube is controlled by fully utilizing the shift register, and the I/O port occupied by the microprocessor due to display control is effectively reduced.
The foregoing description of the embodiments and description is presented to illustrate the scope of the invention, but is not to be construed as limiting the scope of the invention. Modifications, equivalents, and other improvements to the embodiments of the invention or portions of the features disclosed herein, as may occur to persons skilled in the art upon use of the invention or the teachings of the embodiments, are intended to be included within the scope of the invention, as may be desired by persons skilled in the art from a logical analysis, reasoning, or limited testing, in combination with the common general knowledge and/or knowledge of the prior art.

Claims (9)

1. An identification circuit, comprising:
a timing generation unit that generates and transmits a timing signal defining a plurality of timing segments;
the device comprises an excited unit, a first excitation unit and a second excitation unit, wherein the excited unit is provided with a plurality of excited ends, each excited end is provided with a corresponding time sequence section, and each time sequence section corresponds to one excited end; it also receives the timing signal and transmits an stimulated signal when the stimulated end corresponding to the current timing segment is stimulated;
an identification unit that transmits a clock signal to the timing generation unit to cause the timing generation unit to generate the timing signal, a timing section of the timing signal corresponding to a clock period of the clock signal; the method also receives the stimulated signal and identifies the stimulated end of the stimulated unit according to the clock period of the stimulated signal at the receiving moment;
the stimulated unit is also provided with a plurality of inquiry ends which are in one-to-one correspondence with the stimulated ends, and each inquiry end is provided with a corresponding time sequence section;
the identification unit comprises a microprocessor, and the time sequence generation unit comprises a shift register;
the microprocessor sends the clock signal and the data signal to the shift register, which also receives the stimulated signal to identify a stimulated end of the stimulated unit that is currently stimulated;
the shift register is provided with a plurality of shift output ends which are connected with the inquiry ends in a one-to-one correspondence manner, and the shift register respectively outputs inquiry signals to the corresponding inquiry ends in a time-sharing switching manner through the shift output ends according to the clock signals and the data signals; the inquiry signals switched and output by the shifting output ends jointly form the time sequence signals, and the sending period of each inquiry signal forms the time sequence section.
2. The identification circuit of claim 1, wherein: a first data table is established in the microprocessor and stores the corresponding relation between each stimulated end and each clock period;
and the microprocessor queries the first data table according to the clock period of the receiving moment of the stimulated signal when receiving the stimulated signal so as to identify the stimulated end of the stimulated unit which is stimulated currently.
3. The identification circuit of claim 1, wherein: the type of the shift register is 74HC164, the 8 th pin of the shift register is connected with the microprocessor to receive the clock signal, and the 1 st pin and the 2 nd pin of the shift register are connected in series and are both connected with the microprocessor to receive the data signal;
the 3 rd pin, the 4 th pin, the 5 th pin, the 6 th pin, the 10 th pin, the 11 th pin, the 12 th pin and the 13 th pin of the shift register are all suitable for forming shift output ends thereof.
4. A recognition circuit according to any one of claims 1-3, characterized in that: the stimulated ends of the stimulated units are stimulated when a change in the electrophysical quantity exceeding a preset threshold is detected.
5. A touch module comprising a number of touch keys and the identification circuit of any one of claims 1-4; each touch key is respectively connected with one stimulated end of the stimulated unit, and when the touch key is pressed down, the corresponding stimulated end is stimulated; the recognition unit recognizes the pressed touch key according to the recognition result of the stimulated end of the stimulated unit.
6. The touch module of claim 5, wherein: the identification circuit is in particular an identification circuit as claimed in claim 2;
the number of the touch keys is 4; the stimulated unit comprises a touch IC, and the model of the touch IC is KF8TS2510;
the touch IC is configured such that the 12 th pin, the 11 th pin, the 10 th pin and the 9 th pin respectively form an excited end and are respectively connected with one touch key through a current limiting resistor, the 5 th pin, the 6 th pin, the 7 th pin and the 8 th pin respectively form inquiry ends corresponding to the 12 th pin, the 11 th pin, the 10 th pin and the 9 th pin and are all used for receiving the inquiry signals, and the 13 th pin forms an output end of the excited unit and is used for sending the excited signals outwards.
7. A controller, characterized by: comprising a housing and a touch module as claimed in claim 5 or 6; the touch key is arranged on the shell, and the identification circuit is arranged in the shell.
8. The controller as set forth in claim 7, wherein: and the identification unit is used for controlling the parameters to be controlled according to the functions of the touch keys after identifying the pressed touch keys.
9. The controller as set forth in claim 8, wherein: the identification circuit is in particular an identification circuit as claimed in claim 4;
the controller also comprises a first LED digital display screen, a second LED digital display screen, an internal power supply and a digital display driving circuit;
the first LED digital display screen and the second LED digital display screen are both arranged on the shell and are respectively used for displaying real-time parameters and target parameters; the model of the first LED digital display screen is TOF-8401BH, and the model of the second LED digital display screen is TOF-5421BH;
the internal power supply and the digital display driving circuit are arranged in the shell, and the digital display driving circuit comprises a first triode, a second triode, a third triode, a fourth triode, a fifth triode, a sixth triode, a seventh triode, an eighth triode, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor and an eighth resistor;
the base electrode of the first triode is connected with the 13 th pin of the shift register, the emitter electrode of the first triode is connected with the 12 th pin of the first LED digital display screen, and the collector electrode of the first triode is connected with the internal power supply; the base electrode of the second triode is connected with the 12 th pin of the shift register, the emitter electrode of the second triode is connected with the 9 th pin of the first LED digital display screen, and the collector electrode of the second triode is connected with the internal power supply; the base electrode of the third triode is connected with the 11 th pin of the shift register, the emitter electrode of the third triode is connected with the 8 th pin of the first LED digital display screen, and the collector electrode of the third triode is connected with the internal power supply; the base electrode of the fourth triode is connected with the 10 th pin of the shift register, the emitter electrode of the fourth triode is connected with the 6 th pin of the first LED digital display screen, and the collector electrode of the fourth triode is connected with the internal power supply; the base electrode of the fifth triode is connected with the 6 th pin of the shift register, the emitter electrode of the fifth triode is connected with the 2 nd pin of the second LED digital display screen, and the collector electrode of the fifth triode is connected with the internal power supply; the base electrode of the sixth triode is connected with the 5 th pin of the shift register, the emitter electrode of the sixth triode is connected with the 3 rd pin of the second LED digital display screen, and the collector electrode of the sixth triode is connected with the internal power supply; the base electrode of the seventh triode is connected with the 4 th pin of the shift register, the emitter electrode of the seventh triode is connected with the 6 th pin of the second LED digital display screen, and the collector electrode of the seventh triode is connected with the internal power supply; the base electrode of the eighth triode is connected with the 3 rd pin of the shift register, the emitter electrode of the eighth triode is connected with the 10 th pin of the second LED digital display screen, and the collector electrode of the eighth triode is connected with the internal power supply;
the 4 th pin, the 1 st pin, the 3 rd pin, the 11 th pin, the 5 th pin, the 2 nd pin, the 7 th pin and the 10 th pin of the first LED digital display screen are respectively connected with the microprocessor through the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor, the sixth resistor, the seventh resistor and the eighth resistor; and the 12 th pin, the 1 st pin, the 11 th pin, the 8 th pin, the 5 th pin, the 4 th pin, the 7 th pin and the 9 th pin of the second LED digital display screen are respectively connected with the microprocessor through the first resistor, the second resistor, the third resistor, the fourth resistor, the fifth resistor, the sixth resistor, the seventh resistor and the eighth resistor.
CN202110373514.1A 2021-04-07 2021-04-07 Identification circuit, related touch module and controller Active CN113064372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110373514.1A CN113064372B (en) 2021-04-07 2021-04-07 Identification circuit, related touch module and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110373514.1A CN113064372B (en) 2021-04-07 2021-04-07 Identification circuit, related touch module and controller

Publications (2)

Publication Number Publication Date
CN113064372A CN113064372A (en) 2021-07-02
CN113064372B true CN113064372B (en) 2023-11-03

Family

ID=76566047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110373514.1A Active CN113064372B (en) 2021-04-07 2021-04-07 Identification circuit, related touch module and controller

Country Status (1)

Country Link
CN (1) CN113064372B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329684A (en) * 2017-06-26 2017-11-07 努比亚技术有限公司 A kind of edge interaction control method, equipment and computer-readable recording medium
CN109256171A (en) * 2018-11-22 2019-01-22 合肥京东方光电科技有限公司 Shift register cell, driving method, circuit, display panel and device
CN110007793A (en) * 2017-12-08 2019-07-12 乐金显示有限公司 Touch circuit and its driving method touch driving circuit and touch display unit
CN110989451A (en) * 2019-12-19 2020-04-10 广东金莱特电器股份有限公司 Multi-point touch and remote control shared detection control method
CN111782084A (en) * 2020-07-01 2020-10-16 北京力游科技有限公司 Touch detection method and device of display screen and display screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107705757B (en) * 2017-11-27 2019-10-18 京东方科技集团股份有限公司 Shift register and its Time-sharing control method, display panel and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329684A (en) * 2017-06-26 2017-11-07 努比亚技术有限公司 A kind of edge interaction control method, equipment and computer-readable recording medium
CN110007793A (en) * 2017-12-08 2019-07-12 乐金显示有限公司 Touch circuit and its driving method touch driving circuit and touch display unit
CN109256171A (en) * 2018-11-22 2019-01-22 合肥京东方光电科技有限公司 Shift register cell, driving method, circuit, display panel and device
CN110989451A (en) * 2019-12-19 2020-04-10 广东金莱特电器股份有限公司 Multi-point touch and remote control shared detection control method
CN111782084A (en) * 2020-07-01 2020-10-16 北京力游科技有限公司 Touch detection method and device of display screen and display screen

Also Published As

Publication number Publication date
CN113064372A (en) 2021-07-02

Similar Documents

Publication Publication Date Title
US6252376B1 (en) Battery-state monitoring system for a battery group
CN101282591B (en) Buzzer driving circuit
CN112562578A (en) LED and LCD display driving circuit supporting integrated touch key function
CN106019040B (en) A kind of optocoupler electric property detection device
CN202394744U (en) Circuit and terminal capable of indicating key states through LED (light-emitting diode) lamps
CN101943742A (en) Key detection and display driving integrated circuit and control method thereof
CN113064372B (en) Identification circuit, related touch module and controller
TWI411229B (en) Touch sensing circuits and methods
CN104349528B (en) LED status display system
US20200187326A1 (en) Led dimming control circuit, dimming control method and led power system thereof
CN115167703A (en) Touch driving device, touch device and touch driving method
US6922088B2 (en) Self-determining electronic control circuit
US8247995B2 (en) Control system for multiple light sources
CN207867280U (en) The electronic building brick and sensor of programmable study
CN100375136C (en) Driving circuit of vacuum fluorescent display
CN220419936U (en) Mouse
US7155626B2 (en) Data processor including clock thinning-out circuit
CN207336671U (en) A kind of test circuit and test board of button capacitance plate
CN213688717U (en) Multiplex detection circuitry and electrical apparatus of many temperature sensing package
CN109243362A (en) LED display driving and keyboard turntable driving multiplex circuit and its driving multiplexing method
CN216390965U (en) Multiplexing circuit and electronic equipment
CN215815124U (en) Single IO mouth many button detection circuitry based on many charactron
CN217282695U (en) Low-power consumption intelligence lock system
CN218735089U (en) Control panel and mirror lamp of mirror lamp
CN218568196U (en) Wireless remote control coding chip and application circuit thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant