[go: up one dir, main page]

CN117971074B - Main control system supporting touch and display, signal time sequence control method and electronic cigarette - Google Patents

Main control system supporting touch and display, signal time sequence control method and electronic cigarette Download PDF

Info

Publication number
CN117971074B
CN117971074B CN202410382350.2A CN202410382350A CN117971074B CN 117971074 B CN117971074 B CN 117971074B CN 202410382350 A CN202410382350 A CN 202410382350A CN 117971074 B CN117971074 B CN 117971074B
Authority
CN
China
Prior art keywords
touch
structural member
display
chip
frequency
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
CN202410382350.2A
Other languages
Chinese (zh)
Other versions
CN117971074A (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.)
Shenzhen Betterlife Electronic Science And Technology Co ltd
Original Assignee
Shenzhen Betterlife Electronic Science And 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 Shenzhen Betterlife Electronic Science And Technology Co ltd filed Critical Shenzhen Betterlife Electronic Science And Technology Co ltd
Priority to CN202410382350.2A priority Critical patent/CN117971074B/en
Publication of CN117971074A publication Critical patent/CN117971074A/en
Application granted granted Critical
Publication of CN117971074B publication Critical patent/CN117971074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a main control system supporting touch and display, a signal time sequence control method and an electronic cigarette, and relates to the technical field of electronic cigarette display control. The signal timing control method comprises the following steps: acquiring a first fundamental frequency of a first structural member, and determining a scanning frequency of a second structural member according to the first fundamental frequency; scanning the touch channel of the second structural member for a plurality of times; when the data obtained by multiple scanning is inconsistent, signals between the first structural member and the chip are obtained, and when the obtained signals are at a high level, the touch signals of the second structural member are detected in the shadow eliminating time period of the first structural member by adopting the first scanning frequency; and when the data obtained by multiple scanning is judged to be consistent, signals between the first structural member and the chip are obtained, and when the obtained signals are at a low level, the touch signals of the second structural member are detected in the display time period of the first structural member by adopting the second scanning frequency. The invention can avoid signal interference of the display device on the touch structure, and is favorable for acquiring accurate touch data.

Description

Main control system supporting touch and display, signal time sequence control method and electronic cigarette
Technical Field
The invention relates to the technical field of electronic cigarette display control, in particular to a main control system supporting touch and display, a signal time sequence control method and an electronic cigarette.
Background
The electronic cigarettes begin to be popular a few years ago, and an intelligent TFT LCD (Thin Film Transistor Liquid CRYSTAL DISPLAY, thin film transistor liquid crystal display screen) not only displays basic use information such as electric quantity, smoke quantity and the like, but also reflects important parameters such as the number of times of inhalation, power setting, resistance value of an atomizer, time of inhalation and the like in real time, so that each detail is mastered as far as possible. For large-sized TFT LCD screens, the use of touch keys is reduced, a touch panel that can be intuitively operated is added, allowing the user to monitor smoking habits, adjust device settings, and obtain information regarding fluid use and battery status. The electronic cigarette touch screen generally adopts a self-capacitance detection mode, the touch sensor adopts a triangular ITO pattern, namely an ITO sensor (Indium Tin Oxides sensor, indium tin oxide sensor), ITO (Indium Tin Oxides, indium tin oxide) is coated on glass or Film (Film layer) according to a specific pattern, and then the glass is attached to a layer of protective glass, so that the ITO sensor is formed, and the touch screen is the same as the touch screen control mode of the intelligent watch. Therefore, the electronic cigarette with the touch screen function currently requires a main control chip and a touch screen chip.
As shown in fig. 1, in the conventional circuit with a TFT LCD display screen electronic cigarette, a main control chip is connected with a touch module through an I2C interface, and the touch module includes a self-capacitance touch screen chip and an ITO sensor, where the ITO sensor is generally in a triangle pattern, so as to complete a single-point gesture touch function. However, the current touch screen chip is applied to the slave device, and can be used only by matching with the main control chip and is driven by the main control chip, so that the main SPI interface is not provided, the TFT LCD display screen (thin film transistor liquid crystal display screen) cannot be directly driven, and the function of externally hanging SPI FLASH (FLASH memory with SPI ports) is not needed. And carry 2 chips, increased the PCB area of electron cigarette.
Therefore, a new electronic cigarette main control chip is needed to directly control the ITO sensor and the TFT LCD display screen and to uniformly manage the display time sequence and the touch detection time sequence of the TFT LCD.
Disclosure of Invention
The invention aims to provide a main control system supporting touch and display, a signal time sequence control method and an electronic cigarette, so as to solve the technical problems. The preferred technical solutions of the technical solutions provided by the present invention can produce a plurality of technical effects described below.
In order to achieve the above purpose, the present invention provides the following technical solutions:
The invention provides a signal time sequence control method, which is used for controlling a touch detection time sequence and a display driving time sequence of a chip with a touch function and a display driving function, and comprises the following steps:
Acquiring a first fundamental frequency of a first structural member, and determining a scanning frequency of a second structural member according to the first fundamental frequency; the first structural member is a display device, and the second structural member is a touch structure;
scanning the touch channel of the second structural member for multiple times, and judging the consistency of data obtained by the multiple times of scanning;
when the data obtained by multiple scanning is inconsistent, signals between the first structural member and the chip are obtained, and when the obtained signals are at a high level, the touch signals of the second structural member are detected in the shadow eliminating time period of the first structural member by adopting a first scanning frequency;
And when the data obtained by multiple scanning is judged to be consistent, signals between the first structural member and the chip are obtained, and when the obtained signals are at a low level, the touch signals of the second structural member are detected in the display time period of the first structural member by adopting the second scanning frequency.
Further, the scanning frequency of the second structural member is staggered from the odd-numbered and even-numbered multiples of the first fundamental frequency.
Further, the signal timing control method further comprises the steps of obtaining a second fundamental frequency of the third structural member, and determining the scanning frequency of the second structural member according to the second fundamental frequency.
Further, the scanning frequency of the second structural member is staggered from the odd-numbered multiple and the even-numbered multiple of the second fundamental frequency.
Further, the signal timing control method further comprises the following steps of
And adding touch detection data, and filtering signal interference of the third structural member through a multi-order digital filter.
As a common invention conception, the invention also provides a main control system supporting touch and display, which comprises a main control SOC chip, a display device and a touch structure; the main control SOC chip is connected with the touch structure and is used for acquiring a touch signal of the touch structure and processing the acquired touch signal; the main control SOC chip is connected with the display device and used for controlling the display of the display device.
Further, the main control SOC chip is connected with the display device through an SPI interface, and obtains a TE signal of the display device through the SPI interface; and the main control SOC chip is communicated with the display device in a DMA transmission mode.
Further, the master control SOC chip is connected with the touch structure through a plurality of touch channels.
As a common inventive concept, the invention also provides an electronic cigarette, which comprises the main control system supporting touch and display, and the signal time sequence control method is realized through the main control SOC chip; the device also comprises a power control circuit, a sampling circuit, a memory chip and an atomizer; the power control circuit, the sampling circuit and the storage chip are all connected with the main control SOC chip, the atomizer is connected with the power control circuit and the sampling circuit, and the power control circuit is connected with an input power supply.
Further, the display device is a TFT LCD display screen, and the touch structure is ITO sersor; the interface of the main control SOC chip comprises: the touch device comprises an interface for connecting the touch structure, a 2-way SPI interface, a 3-way ADC input interface, a 2-way comparator input interface, 1I 2C interface, a 2-way serial port and a plurality of general purpose GPIO interfaces; one path of the 2 paths of SPI interfaces is used for connecting the display device, and the other path of the 2 paths of SPI interfaces is used for connecting the memory chip.
By implementing one of the technical schemes, the invention has the following advantages or beneficial effects:
The invention integrates the touch function of the touch structure and the display driving function of the display device into one chip, the chip independently completes the time sequence control of touch detection and display driving, and adjusts the touch channel detection scheme according to the SPI interface TE signal of the display device at the SPI data communication time, thereby thoroughly solving the signal interference of the display device on the touch structure.
Therefore, for the chip with integrated touch function and display drive function, the method can directly control the touch structure and the display device, and uniformly manage the display time sequence of the display device and the touch detection time sequence of the touch structure, so that signal interference of the display device on the touch structure is avoided, accurate touch data can be acquired, and user experience of products such as electronic cigarettes is improved.
Drawings
For a clearer description of the technical solutions of embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art, in which:
Fig. 1 is a circuit configuration diagram of an electronic cigarette with a TFT LCD display screen according to the prior art;
FIG. 2 is a flow chart of a signal timing control method according to an embodiment of the invention;
FIG. 3 is a graph of interference spectrum of the electronic cigarette according to the embodiment of the invention when the TFT LCD screen works;
FIG. 4 is an interference spectrum diagram of a charger of an electronic cigarette according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating the operation of TE signals and touch scan signals according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a touch and display enabled master control system according to an embodiment of the present invention;
FIG. 7 is a circuit block diagram of a master control system supporting touch and display for an electronic cigarette in accordance with an embodiment of the present invention;
fig. 8 is a pin definition schematic diagram of a master SOC chip supporting touch and display according to an embodiment of the present invention.
In the figure:
501. A main control SOC chip; 502. a display device; 503. a touch structure; 504. a power control circuit; 505. a sampling circuit; 506. a memory chip; 507. an atomizer; 508. and inputting a power supply.
Detailed Description
For a better understanding of the objects, technical solutions and advantages of the present invention, reference should be made to the various exemplary embodiments described hereinafter with reference to the accompanying drawings, which form a part hereof, and in which are described various exemplary embodiments which may be employed in practicing the present invention. The same reference numbers in different drawings identify the same or similar elements unless expressly stated otherwise. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. It is to be understood that they are merely examples of processes, methods, apparatuses, etc. that are consistent with certain aspects of the present disclosure as detailed in the appended claims, other embodiments may be utilized, or structural and functional modifications may be made to the embodiments set forth herein without departing from the scope and spirit of the present disclosure.
In the description of the present invention, it should be understood that the terms "center," "longitudinal," "transverse," and the like are used in an orientation or positional relationship based on that shown in the drawings, and are merely for convenience in describing the present invention and to simplify the description, rather than to indicate or imply that the elements referred to must have a particular orientation, be constructed and operate in a particular orientation. The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "plurality" means two or more. The terms "connected," "coupled" and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, integrally connected, mechanically connected, electrically connected, communicatively connected, directly connected, indirectly connected via intermediaries, or may be in communication with each other between two elements or in an interaction relationship between the two elements. The term "and/or" includes any and all combinations of one or more of the associated listed items. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In order to illustrate the technical solutions of the present invention, the following description is made by specific embodiments, only the portions related to the embodiments of the present invention are shown.
Embodiment one: as shown in fig. 2, the present invention provides a signal timing control method for controlling a touch detection timing and a display driving timing of a chip integrated with a touch function and a display driving function, comprising the following steps:
S100, acquiring a first fundamental frequency of a first structural member, and determining a scanning frequency of a second structural member according to the first fundamental frequency; the first structural member is a display device, and the second structural member is a touch structure;
s200, scanning the touch channel of the second structural member for multiple times, and judging the consistency of data obtained by the multiple times of scanning; it should be noted that if the difference value between every two data acquired by multiple scanning is smaller than the set number, the data acquired by multiple scanning is judged to be consistent, otherwise, the data is judged to be inconsistent;
s300, when data obtained through multiple scanning are inconsistent, signals between the first structural component and the chip are obtained, and when the obtained signals are at a high level, touch signals of the second structural component are detected in a shadow eliminating time period of the first structural component by adopting first scanning frequency;
And S400, when the data obtained by multiple scanning are judged to be consistent, signals between the first structural member and the chip are obtained, and when the obtained signals are at a low level, a touch signal of the second structural member is detected in a display time period of the first structural member by adopting a second scanning frequency. The signal obtained between the first structural member and the chip is a TE signal of an SPI interface of the display device described below.
It should be noted that, after integrating the touch function and the display driving function into one chip, the touch structure of this embodiment does not have a touch chip. Therefore, the circuit cost and the PCB design difficulty of related products (such as electronic cigarettes) can be reduced.
In this embodiment, after the touch function of the touch structure and the display driving function of the display device are integrated in one chip, the chip independently completes the timing control of touch detection and display driving, and can adjust the touch channel detection scheme at the SPI data communication time according to the display device SPI interface TE signal (e.g., an output interface in the TFT LCD display screen, which is mainly used to obtain the feedback signal from the TFT controller to the MCU), thereby thoroughly solving the signal interference of the display device on the touch structure. Therefore, for the chip with integrated touch function and display driving function, the method can directly control the touch structure (such as ITO sensor) and the display device (TFT LCD display screen), and uniformly manage the display time sequence of the display device and the touch detection time sequence of the touch structure, so that signal interference of the display device on the touch structure is avoided, accurate touch data can be acquired, and user experience of products such as electronic cigarettes is improved.
As a possible embodiment, the scanning frequency of the second structure is staggered by an odd multiple and an even multiple of the first fundamental frequency. For example, every two frequency-doubled intermediate frequency points in the multiple frequency-doubled intermediate frequency points serve as the scanning frequency of the second structural member.
In e.g. electronic cigarette products, besides the signal interference of the display device to the touch structure, there are other interferences, such as common mode interference of the power supply of the electronic cigarette charger (e.g. the third structure below). The interference is various frequency-doubled harmonics of the operating fundamental frequency generated by the switching power supply from the charger. The interference of the TFT LCD display screen to the touch structure is also various frequency multiplication harmonic waves of the TFT LCD working fundamental frequency, and the working fundamental frequency of the charger and the TFT LCD display screen is different, so that the working frequency of the touch structure is difficult to select to the frequency where both interference frequency multiplication can be avoided. Therefore, the interference of the power supply common mode on the touch signal needs to be further considered.
The signal timing control method of the embodiment further includes obtaining a second fundamental frequency of the third structural member, and determining a scanning frequency of the second structural member according to the second fundamental frequency. In particular, the scanning frequency of the second structure is staggered by odd and even multiples of the second fundamental frequency. For example, every two frequency-doubled intermediate frequency points in the multiple frequency-doubled intermediate frequency points serve as the scanning frequency of the second structural member.
Further, the signal timing control method of the present embodiment further includes adding touch detection data, and filtering signal interference of the third structural member by a multi-order digital filter. The interference of the signal of the third structural member on the touch signal is further reduced.
As a specific example, the following description is given by taking an electronic cigarette as an example:
the display screen of the electronic cigarette TFT LCD is generally 60Hz refresh rate, and corresponds to a period of about 16.7ms, and the period is divided into a display screen brushing stage and a shadow eliminating stage. The TFT LCD display screen has small interference to the touch screen in the shadow eliminating stage, but has short time (about 4.5ms at maximum), small data volume of touch detection, limited digital filter effect and fixed point reporting rate on the frame rate of the display screen (generally 60 Hz).
The TFT LCD display screen brushing stage has large interference (different display content interference conditions) to the touch screen, but long time (more than 12.2 ms), large data volume of touch detection, good digital filter effect and flexible configuration by software parameters, wherein the point reporting rate (the number of times that a chip integrating a touch function and a display driving function acquires a touch position because the chip is not touched and the fused chip directly acquires the touch position).
The vanishing stage and the display brushing stage can be distinguished by the high and low levels of the TE signal. Two touch parameter detection mechanisms with different configurations are established in the high level time period and the low level time period of the TE signal, the scanning frequency, the detection duration and the point reporting rate of the two detection are independent. When the interference signal is small and the touch signal is stable, touch data can be acquired by adopting a display screen brushing time period; when some display contents cause that interference signals are very large, touch data are acquired by adopting a shadow elimination time period, so that the touch signal point reporting rate and the signal to noise ratio can be compatible.
As an example, in step S200, the touch channel of the second structural member is scanned multiple times, and consistency determination is performed on data acquired by the multiple scans. The method comprises the following steps:
General judgment mode of touch data interference signal size: the scanning detection of the same group of touch channels is rapidly carried out for 2 times (relative to the finger pressing speed), when no interference exists, the data acquired by 2 times of scanning are close (the difference between the two is smaller than the set number), and the data acquired by 2 times of scanning are considered to be consistent (good consistency); when there is interference, the degree of interference of the charger or TFT LCD display screen received is different because of the difference between the detection time and the detection time, so that the greater difference (the difference between the charger and the TFT LCD display screen is greater than or equal to the set number) occurs in the 2 times of touch data, and the greater the difference, the greater the interference received, the data obtained by the 2 times of scanning is considered inconsistent (the consistency is poor). It should be noted that a group of touch channels may be a combination of several touch channels.
The core of the two touch detection mechanisms is that: the touch detection in the shadow eliminating time period is that the TFT LCD display screen does not brush the screen, the TFT LCD interference is avoided, and the interference frequency of the charger is staggered in addition to the selection of the touch working frequency, so that the anti-interference touch data can be obtained even though the data amount of the touch detection is small; the touch detection frequency in the display time period of the TFT LCD is staggered with the interference frequency of the TFT LCD as much as possible, and the filtering of the charger interference is increased by means of the large touch detection data through the multi-order digital filter, so that the frequency interference of the charger is avoided. And finally, a chip (a main control SOC chip in the second embodiment) integrating the touch function and the display driving function combines the characteristics of the two touch detection data, judges the truest touch data, and avoids the signal interference of a charger and a TFT LCD display screen on touch.
As shown in fig. 3, the interference frequency spectrum of the electronic cigarette TFT LCD screen is about 30.4KHz (first fundamental frequency), and a large interference signal is generated on odd and even frequency multiples of the fundamental frequency. Since the touched ITO sensor is directly attached to the TFT LCD display screen, the frequency multiplication interference of the TFT LCD is also serious to the interference of the touch screen (ITO sensor), so the scanning frequency of the touch screen must also avoid these interference frequencies as much as possible. However, the conventional touch screen has only one scanning frequency, and different interference frequencies of the charger and the TFT LCD display screen need to be avoided at the same time, so that the touch scanning frequency is difficult to consider and the selection is difficult.
As shown in FIG. 4, the interference spectrum of a charger of the electronic cigarette is shown as the interference fundamental frequency of the charger is about 34.7KHz (second fundamental frequency), a large interference signal can be generated on odd and even frequency multiplication of the fundamental frequency, the scanning frequency range of the touch screen is generally 70KHz-150KHz, and a plurality of frequency multiplication interference signals exist in the range, so the scanning frequency of the touch screen is required to be selected on the frequency without interference as much as possible.
As shown in fig. 5, the TFTLCD shows that the vanishing time is 3.5ms, the ito sensor pattern is 4 pairs of triangle patterns, and according to the conventional touch screen chip, 1 pair of touch channels can be scanned at a time, if the touch scanning signal frequency is 100KHz, that is, the first scanning frequency can be 100KHz, and at this time, the first scanning frequency is odd-numbered frequency multiplication and even-numbered frequency multiplication which stagger the first fundamental frequency and the second fundamental frequency. The number of repeated scanning times is about 175 times (2 times of sampling, 3.5/0.04 x2 = 175) within 3.5ms after scanning the 4 pairs of touch channels, the detected data volume is small, the digital filter effect is limited, and the signal to noise ratio is low. The resulting 175 repeated scans in 3.5ms is the calculated scan count at a first scan frequency of 100 KHz.
The TFT LCD display screen brushing stage is 13.2ms, the touch scanning frequency is 100KHz, namely the second scanning frequency can be 100KHz, and the second scanning frequency is odd frequency multiplication and even frequency multiplication which are staggered with the first fundamental frequency and the second fundamental frequency. The scanning of the 4 pairs of touch channels is completed, the scanning times can be repeated more than 660 times (2 times of sampling, 13.2/0.04 x 2=660) within 13.2ms, the data volume of touch detection is large, the filtering algorithm effect is good, the signal-to-noise ratio is high, and the point reporting rate can be flexibly configured by software. The resulting number of scans can be repeated 660 times within 13.2ms as calculated for the second scan frequency of 100 KHz.
It should be noted that, the scanning frequency of the touch structure is a first scanning frequency in the TFT LCD display vanishing time period and is a second scanning frequency in the FT LCD display screen brushing time period, and both may be determined according to the odd-numbered double and the even-numbered double of the actual first fundamental frequency and the second fundamental frequency.
At present, the digital filtering of touch data generally adopts an FIR or IIR filtering mode, and the better the filtering characteristic of interference signals is, the larger the required touch data volume is; for example, the number of touch detection data of a digital filter of a fir= (23 x factor+24), the factor is a filtering factor, and the larger the filtering factor is, the greater the attenuation of an interference signal is (when the factor=15, 369 touch detection data are needed, and the attenuation of-35 dB can be achieved).
And two different configurations of touch parameter detection are established in the high and low level time periods of the TE signal, the scanning frequency of the two detection, the detection duration and the point reporting rate are independent. When the interference signal is small and the touch signal is stable, the touch data of the display screen brushing time period can be adopted, the signal to noise ratio is high, the point reporting rate can be flexibly set, when some display contents lead to the fact that the interference signal is very large, the touch data of the shadow eliminating time period can be adopted, the touch data is not interfered, and therefore the touch signal point reporting rate and the signal to noise ratio are excellent in most of the time can be ensured.
The touch detection during the deghosting period is configured as (configuration 1 in fig. 5): in order to ensure that a TFTLCD display screen is not brushed, TFTLCD interference is avoided, the touch working frequency point is selected to be staggered with the interference frequency point of a charger as much as possible, so that although the data amount of touch detection is small, touch data with less interference can be obtained, for example, three frequency multiplication interference frequency points of the charger in FIG. 4 are 69.5KHz/104.1KHz/138.8KHz (the working fundamental frequency of the charger is 34.7 KHz), the touch detection frequency can be selected to be 86.9KHz or 121.5KHz, namely, the middle frequency point of two frequency multiplication interference frequency points of the charger can be selected, and in this way, although the data amount of touch detection is small, touch data with less interference can be obtained; whereas the touch detection during the TFTLCD display period is configured as (configuration 2 in fig. 5): the touch detection frequency is staggered with the interference frequency points of the TFTLCD as far as possible, in the conventional touch detection frequency range of 70KHz-150KHz, three frequency multiplication interference frequency points of the TFT LCD display screen in FIG. 3 are 60.8KHz/91.2KHz/121.6KHz (the working fundamental frequency of the LCD is 30.4 KHz), and can be selected to be about 76KHz or 106.6KHz, namely the middle frequency point of the LCD frequency multiplication interference frequency point, and then the filtering of interference signals is increased by means of a large number of touch detection data through an FIR/IIR digital filter, so that the frequency point interference of the LCD is avoided; and finally, a chip integrating the touch function and the display driving function combines the characteristics of the two touch detection data and the signal interference condition, judges and selects the most real touch data, and avoids the interference of a charger and a TFTLCD display screen on touch.
However, at present, the conventional practice needs to consider the frequency multiplication interference frequency points of the charger and the TFT LCD display screen, for example: in the conventional touch detection frequency range of 70KHz-150KHz, three frequency multiplication interference frequency points of the LCD are 60.8KHz/91.2KHz/121.6KHz, and three frequency multiplication interference frequency points of the charger are 69.5KHz/104.1KHz/138.8KHz, the touch detection frequency needs to be integrated with the interference frequency points to select the frequency point with the minimum interference, and the clean frequency range which can be selected is very small and difficult to consider.
Embodiment two: as shown in fig. 6, as the same inventive concept, the present embodiment provides a main control system supporting touch and display, including a main control SOC chip 501, a display device 502, and a touch structure 503. The main control SOC chip 501 is connected to the touch structure 503, and is configured to acquire a touch signal of the touch structure 503 and process the acquired touch signal; the main control SOC chip 501 is connected to the display device 502 and is used for controlling the display of the display device 502.
As a possible implementation manner, the main control SOC chip 501 is connected to the display device 502 through an SPI interface, and obtains a TE signal of the display device 502 through the SPI interface; the main control SOC chip 501 communicates with the display device 502 via DMA (Direct Memory Access ) transfer. Note that, the main control SOC chip 501 is further provided with a RST interface for acquiring a reset signal of the display device 502. Further, the master SOC chip 501 is connected to the touch structure 503 through a plurality of touch channels.
It should be noted that, based on the same inventive concept, the master SOC chip 501 of the present embodiment can implement the signal timing control method described above. For example, a related software program is implanted in the master SOC chip 501.
The embodiment can be applied to electronic cigarette products, and is certainly not limited to electronic cigarette products. The main control chip and the touch chip of the electronic cigarette are integrated together to form the main control SOC chip 501, so that the circuit cost and the PCB design difficulty of the electronic cigarette can be reduced, accurate touch data can be acquired, and the user experience of products such as the electronic cigarette is improved.
Embodiment III: as shown in fig. 7 to 8, as the same inventive concept, this embodiment provides an electronic cigarette, which includes the main control system supporting touch and display described in the second embodiment, and implements the signal timing control method described in the first embodiment through the main control SOC chip 501. Also included are power control circuitry 504, sampling circuitry 505, memory chip 506, and nebulizer 507. The power control circuit 504, the sampling circuit 505 and the memory chip 506 are all connected with the main control SOC chip 501, the atomizer 507 is connected with the power control circuit 504 and the sampling circuit 505, and the power control circuit 504 is connected with an input power supply 508.
A plurality of touch channels (12 channels in general) are designed on the main control SOC chip 501, the touch channels are directly connected with ITO sensors, the ITO sensors are generally 4 pairs or 6 pairs of triangular patterns (adjusted according to the size of a TFT LCD display screen), and the SOC chip can also control the TFT display screen and the plug-in memory chip 506 through a main SPI.
As a possible embodiment, the display device 502 is a TFT LCD display and the touch structure 503 is ITO sersor. The interface of the main control SOC chip 501 includes: an interface for connecting touch architecture 503, a 2-way SPI interface, a 3-way ADC input interface, a 2-way comparator input interface, 1I 2C interface, a 2-way serial interface, and a plurality of general purpose GPIO interfaces. Further, one of the 2-way SPI interfaces is used for connecting to the display device 502, and the other is used for connecting to the memory chip 506.
Referring to fig. 8, pins 1 to 12 may be configured as touch channels (6 pairs of triangle patterns are maximally supported) connected to the ITO sensor, and may also be configured as general purpose GPIOs. Two SPI interfaces are supported, one connecting the TFT LCD display (pin 14-17), one connecting the SPI FLASH (pin 37-40), and also 3 ADC inputs (pin 21, pin 22, pin 23), 2 comparator inputs (pin 24, pin 25), 1I 2C interface (pin 26, pin 27), 2 serial ports (pin 18, pin 19, pin 34, pin 35), and several general purpose GPIO ports (pin 20, pin 28, pin 29, pin 30, pin 33, pin 36).
In summary, in this embodiment, the electronic cigarette main control chip with the TFT display screen and the touch screen chip are coupled, so that the cost and the design difficulty of the PCB board can be reduced. In addition, two sets of touch detection parameters are configured according to TE signals of the TFT LCD, so that the touch signal point reporting rate and the signal to noise ratio are effectively improved.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flow according to the embodiments above may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
The foregoing is only illustrative of the preferred embodiments of the application, and it will be appreciated by those skilled in the art that various changes in the features and embodiments may be made and equivalents may be substituted without departing from the spirit and scope of the application. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the application without departing from the essential scope thereof. Therefore, it is intended that the application not be limited to the particular embodiment disclosed, but that the application will include all embodiments falling within the scope of the appended claims.

Claims (9)

1. The signal time sequence control method is characterized by being used for controlling a touch detection time sequence and a display driving time sequence of a chip with a touch function and a display SPI driving function, and comprises the following steps:
Acquiring a first fundamental frequency of a first structural member, and determining a scanning frequency of a second structural member according to the first fundamental frequency; the first structural member is a display device, and the second structural member is a touch structure;
the method further comprises the steps of obtaining a second fundamental frequency of a third structural member, and determining the scanning frequency of the second structural member according to the second fundamental frequency;
scanning the touch channel of the second structural member for multiple times, and judging the consistency of data obtained by the multiple times of scanning;
when the data obtained by multiple scanning is inconsistent, signals between the first structural member and the chip are obtained, and when the obtained signals are at a high level, the touch signals of the second structural member are detected in the shadow eliminating time period of the first structural member by adopting a first scanning frequency;
And when the data obtained by multiple scanning is judged to be consistent, signals between the first structural member and the chip are obtained, and when the obtained signals are at a low level, the touch signals of the second structural member are detected in the display time period of the first structural member by adopting the second scanning frequency.
2. The method of claim 1, wherein the scanning frequency of the second structure is staggered by odd and even multiples of the first fundamental frequency.
3. The method of claim 1, wherein the scanning frequency of the second structure is staggered by odd and even multiples of the second fundamental frequency.
4. The method of claim 1, further comprising
And adding touch detection data, and filtering signal interference of the third structural member through a multi-order filter.
5. The main control system supporting touch and display is characterized by comprising a main control SOC chip, a display device and a touch structure; the master control SOC chip realizes the signal timing control method according to any one of claims 1 to 4; the main control SOC chip is connected with the touch structure and is used for acquiring a touch signal of the touch structure and processing the acquired touch signal; the main control SOC chip is connected with the display device and used for controlling the display of the display device; the touch structure does not include a touch chip.
6. The master control system supporting touch and display according to claim 5, wherein said master control SOC chip is connected to said display device via an SPI interface, and obtains TE signals of said display device via said SPI interface; and the main control SOC chip is communicated with the display device in a DMA transmission mode.
7. The touch and display enabled master control system of claim 5, wherein said master control SOC chip is coupled to said touch architecture via a plurality of touch channels.
8. An electronic cigarette, which is characterized by comprising the main control system supporting touch and display as claimed in any one of claims 5-7, and implementing the signal timing control method as claimed in any one of claims 1-4 through the main control SOC chip; the device also comprises a power control circuit, a sampling circuit, a memory chip and an atomizer;
the power control circuit, the sampling circuit and the storage chip are all connected with the main control SOC chip, the atomizer is connected with the power control circuit and the sampling circuit, and the power control circuit is connected with an input power supply.
9. The electronic cigarette of claim 8, wherein the display device is a TFT LCD display screen and the touch structure is ITO sersor; the interface of the main control SOC chip comprises: the touch device comprises an interface for connecting the touch structure, a 2-way SPI interface, a 3-way ADC input interface, a 2-way comparator input interface, 1I 2C interface, a 2-way serial port and a plurality of general purpose GPIO interfaces;
One path of the 2 paths of SPI interfaces is used for connecting the display device, and the other path of the 2 paths of SPI interfaces is used for connecting the memory chip.
CN202410382350.2A 2024-04-01 2024-04-01 Main control system supporting touch and display, signal time sequence control method and electronic cigarette Active CN117971074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410382350.2A CN117971074B (en) 2024-04-01 2024-04-01 Main control system supporting touch and display, signal time sequence control method and electronic cigarette

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410382350.2A CN117971074B (en) 2024-04-01 2024-04-01 Main control system supporting touch and display, signal time sequence control method and electronic cigarette

Publications (2)

Publication Number Publication Date
CN117971074A CN117971074A (en) 2024-05-03
CN117971074B true CN117971074B (en) 2024-07-05

Family

ID=90864958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410382350.2A Active CN117971074B (en) 2024-04-01 2024-04-01 Main control system supporting touch and display, signal time sequence control method and electronic cigarette

Country Status (1)

Country Link
CN (1) CN117971074B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528124A (en) * 2014-09-30 2016-04-27 敦泰科技有限公司 Electronic equipment, touch display device and driving circuit

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677449B (en) * 2012-08-30 2016-12-21 中兴通讯股份有限公司 The method of adjustment of a kind of touch screen rate of scanning and electric terminal
US10845901B2 (en) * 2013-07-31 2020-11-24 Apple Inc. Touch controller architecture
CN205052868U (en) * 2015-09-01 2016-03-02 胡朝群 Intelligence electron cigarette with interactive graphics operation interface
CN105528117B (en) * 2016-01-28 2019-02-19 青岛海信移动通信技术股份有限公司 A kind of acquisition method and device of touch screen scanning frequency
CN106324341B (en) * 2016-08-16 2019-09-24 江苏东方航天校准检测有限公司 A kind of multi channel signals frequency measuring block based on system on chip
CN109074200B (en) * 2017-03-07 2021-11-12 深圳市汇顶科技股份有限公司 Touch control chip, capacitive touch screen, capacitive active pen and bidirectional communication method of capacitive touch screen and capacitive active pen
TWI728275B (en) * 2017-11-03 2021-05-21 瑞鼎科技股份有限公司 Organic light-emitting diode touch display operating method
CN107943350A (en) * 2018-01-16 2018-04-20 京东方科技集团股份有限公司 A kind of touch-control display panel and its touch-control driving method
CN209825236U (en) * 2019-04-12 2019-12-24 深圳市海派特光伏科技有限公司 Electron cigarette with bluetooth function
CN112732106A (en) * 2019-10-14 2021-04-30 深圳曦华科技有限公司 Drive circuit, touch display device, and electronic apparatus
CN114403512A (en) * 2020-10-28 2022-04-29 深圳市赛尔美电子科技有限公司 e-cigarette
CN112363641B (en) * 2020-11-24 2024-06-21 Oppo广东移动通信有限公司 Touch scanning method, TPIC chip, DDIC chip and module

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528124A (en) * 2014-09-30 2016-04-27 敦泰科技有限公司 Electronic equipment, touch display device and driving circuit

Also Published As

Publication number Publication date
CN117971074A (en) 2024-05-03

Similar Documents

Publication Publication Date Title
US9582104B2 (en) Scan sequence generator
JP5796255B2 (en) Negative pixel compensation
CN105528117B (en) A kind of acquisition method and device of touch screen scanning frequency
US8749512B2 (en) Negative pixel compensation
NL2003543C2 (en) Multiple simultaneous frequency detection.
CN103619243A (en) Portable device
US20080157867A1 (en) Individual channel phase delay scheme
CN102855037B (en) A kind of capacitance plate mobile terminal and screen control method, device
US20090009483A1 (en) Single-chip touch controller with integrated drive system
CN107636582A (en) Determine the method and touch control chip of touch location
US20100164898A1 (en) Channel Scan Logic
US20130176273A1 (en) Fast touch detection in a mutual capacitive touch system
WO2008157249A1 (en) Integrated in-plane switching
US20180121016A1 (en) Touch sensitive processing apparatus, method and electronic system
CN102789345A (en) Automatic gain control for capacitive touch panel sensing system
WO2021253552A1 (en) Touch display panel, touch display device, and touch drive method therefor
JP2017510885A (en) Touch screen controller and method for charger noise reduction using noise shaping
CN107436700A (en) Data processing method and device
CN109561643A (en) Electromagnetic interference control method and Related product
CN117971074B (en) Main control system supporting touch and display, signal time sequence control method and electronic cigarette
CN107295218B (en) A kind of image processing method and mobile terminal
CN109254687A (en) The data processing method and touch control display apparatus of touch control display apparatus
CN108536369A (en) Output parameter adjusting method and regulating device applied to electric terminal
CN104360769A (en) Anti-interference method for touch panel, touch panel and display
CN109561642A (en) Electromagnetic interference control method and Related product

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