Signal processing method, circuit, chip and electronic equipment

Through the cyclic sampling and parameter update methods, the problem of deterioration in detection signal quality caused by common mode interference noise in signal processing is solved, and higher detection signal quality and accuracy are achieved.

CN120223204APending Publication Date: 2025-06-27CHIPSEA TECH SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510356196.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In signal processing scenarios, common mode interference noise will cause poor detection signal quality, which will lead to errors in touch position detection.

Method used

Multi-sampled data are obtained by cyclically sampling the multiplexed signals based on signal sampling parameters and setting sampling frequency. When the interference noise of the multi-sampled data does not meet the preset conditions, update the signal sampling parameters until the interference noise meets the preset conditions, and output the target data when the conditions are met.

Benefits of technology

It effectively reduces the probability that the to-processed signal is misinterpreted by the signal processing system due to common mode interference, and improves the quality and accuracy of the detection signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120223204A_ABST
    Figure CN120223204A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a signal processing method and circuit, a chip and electronic equipment, and aims to solve the technical problems. The signal processing method comprises the following steps: circularly sampling multiple paths of to-be-processed signals according to initially set signal sampling parameters and set sampling frequency to obtain multiple paths of sampling data corresponding to the multiple paths of to-be-processed signals; when the interference noise of the multi-channel sampling data does not meet the preset condition, updating the signal sampling parameters until the interference noise of the multi-channel sampling data meets the preset condition; when the interference noise of the multi-channel sampling data meets a preset condition, outputting target data according to the multi-channel sampling data; wherein the actual sampling frequency of the to-be-processed signal is determined based on the signal sampling parameter and the set sampling frequency. According to the invention, the technical problem that multiple to-be-processed signals are wrongly interpreted by a signal processing system due to the influence of common-mode interference can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of signal processing, and in particular to a signal processing method, circuit, chip and electronic device. Background Art

[0002] Currently, in the signal processing scenario where the detected signal is affected by common-mode interference noise, the common-mode interference noise will cause the quality of the detected signal to deteriorate. For example, taking the self-capacitance touch detection scenario as an example, the self-capacitance touch detection technology generates a detection signal by the human body approaching the detection area and changing the electric field. However, due to factors such as the non-parallelism between the human body and the system ground, the stray electric field in space, and the switching power supply, a high-frequency (for example, 50KHz to 600KHz) common-mode interference noise will be superimposed on the detection signal, which may cause the detection signal to be misinterpreted by the signal processing system, and further cause the phenomenon of incorrect touch position detection. Summary of the Invention

[0003] In view of the above problems, embodiments of this application provide a signal processing method, circuit, chip and electronic device to solve the above technical problems.

[0004] In a first aspect, embodiments of this application provide a signal processing method, including:

[0005] Circularly sample multiple signals to be processed according to signal sampling parameters and a set sampling frequency to obtain multiple pieces of sampling data corresponding to the multiple signals to be processed;

[0006] When the interference noise of the multiple pieces of sampling data does not meet the preset condition, update the signal sampling parameters until the interference noise of the multiple pieces of sampling data meets the preset condition;

[0007] When the interference noise of the multiple pieces of sampling data meets the preset condition, output target data according to the multiple pieces of sampling data;

[0008] Wherein, the actual sampling frequency of the signal to be processed is determined based on the signal sampling parameters and the set sampling frequency.

[0009] In a second aspect, this application provides a signal processing circuit, including:

[0010] An analog-to-digital conversion module, which is used to circularly sample multiple signals to be processed according to signal sampling parameters and a set sampling frequency to obtain multiple pieces of sampling data corresponding to the multiple signals to be processed;

[0011] A parameter update module, which is used to update the signal sampling parameters when the interference noise of the multiple pieces of sampling data does not meet the preset condition until the interference noise of the multiple pieces of sampling data meets the preset condition;

[0012] A signal output module, which is used to output target data according to multiplexed sampled data when the interference noise of the multiplexed sampled data meets a preset condition;

[0013] Wherein, the actual sampling frequency of the signal to be processed is determined based on the signal sampling parameters and the set sampling frequency.

[0014] In a third aspect, the present application provides a chip, including the signal processing circuit as described in the second aspect.

[0015] In a fourth aspect, the present application provides an electronic device, including a device main body and the chip as described in the third aspect provided on the device main body.

[0016] The present application performs cyclic sampling on multiplexed signals to be processed according to the signal sampling parameters and the set sampling frequency, so that multiplexed sampled data corresponding to the multiplexed signals to be processed can be obtained. After judging the interference noise of the multiplexed sampled data, if the interference noise of the multiplexed sampled data does not meet the preset condition, the present application can update the signal sampling parameters until the interference noise of the multiplexed sampled data meets the preset condition, and output target data according to the multiplexed sampled data when the interference noise of the multiplexed sampled data meets the preset condition, thereby solving the technical problem that the target data is mixed with interference noise data, and further causing the signal to be processed to be misinterpreted by the signal processing system due to the influence of common-mode interference.

[0017] These aspects or other aspects of the present application will be more clearly understood in the following description of the embodiments. Description of the Drawings

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1 Shows a schematic flow chart of the signal processing method in the embodiments of the present application.

[0020] Figure 2 Shows a schematic diagram of cyclic sampling of multiplexed signals to be processed in the embodiments of the present application.

[0021] Figure 3 Shows a schematic diagram of the signal to be processed being sampled in the embodiments of the present application.

[0022] Figure 4 Shows another schematic diagram of the signal to be processed being sampled in the embodiments of the present application.

[0023] Figure 5Another schematic diagram showing the signal to be processed being sampled in an embodiment of the present application is shown.

[0024] Figure 6 A schematic diagram showing an update process of signal sampling parameters in an embodiment of the present application is shown.

[0025] Figure 7 A schematic diagram showing a process for judging interference noise in an embodiment of the present application is shown.

[0026] Figure 8 Another schematic diagram showing a process for judging interference noise in an embodiment of the present application is shown.

[0027] Figure 9 Another schematic diagram showing a process for judging interference noise in an embodiment of the present application is shown.

[0028] Figure 10 A schematic diagram showing a signal processing circuit in an embodiment of the present application is shown. Detailed implementation manners

[0029] The embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary only for explaining the present application and should not be construed as limiting the present application.

[0030] In order to enable those skilled in the art of the present technology to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.

[0031] In the embodiments of the present application, it should be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0032] Moreover, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

[0033] In the description of the embodiments of the present application, words such as "example" or "for example" are used to give examples, explanations or descriptions. Any embodiment or design solution described as "for example" or "for instance" in the embodiments of the present application is not construed as being more preferred or having more advantages than another embodiment or design solution. The use of words such as "example" or "for example" is intended to present relative concepts in a clear manner.

[0034] In addition, "a plurality of" in the embodiments of the present application means two or more. In view of this, "a plurality of" in the embodiments of the present application can also be understood as "at least two". "At least one" can be understood as one or more, for example, understood as one, two or more. For example, including at least one means including one, two or more, and there is no limitation on which ones are included. For example, including at least one of A, B, and C, then what can be included is A, B, C, A and B, A and C, B and C, or A and B and C.

[0035] It should be noted that in the embodiments of the present application, " / and / " describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / ", unless otherwise specified, generally represents an "or" relationship between the front and back associated objects.

[0036] The present application provides a signal processing method, circuit, chip and electronic device, which will be described in detail below.

[0037] First, refer to Figure 1 , Figure 1 shows a schematic flow chart of a signal processing method in an embodiment of the present application. Among them, the signal processing method includes:

[0038] Step S101, cyclically sample multiple signals to be processed according to signal sampling parameters and a set sampling frequency to obtain multiple pieces of sampling data corresponding to the multiple signals to be processed;

[0039] Specifically, circular sampling of multiple signals to be processed is a process of performing analog-to-digital conversion on multiple signals to be processed in sequence. Therefore, circular sampling of multiple signals to be processed can obtain multiple sets of sampled data corresponding to the multiple signals to be processed.

[0040] For example, referring to Figure 2 , Figure 2 FIG. shows a schematic diagram of circular sampling of multiple signals to be processed in an embodiment of the present application. The multiple signals to be processed input to the analog-to-digital conversion module include VIN1, VIN2, VIN3, VIN4, VIN5, and VIN6. In one round of the loop, VIN1, VIN2, VIN3, VIN4, VIN5, and VIN6 are sequentially sampled by the analog-to-digital conversion module. Therefore, the analog-to-digital conversion module sequentially outputs multiple sets of sampled data Dout1, Dout2, Dout3, Dout4, Dout5, and Dout6. Repeating the above process is the circular sampling process of multiple signals to be processed, and multiple sets of sampled data corresponding to the multiple signals to be processed can be obtained.

[0041] It can be understood that in some possible embodiments, the analog-to-digital conversion module can also perform circular sampling only on some of the signals to be processed. For example, in one round of the loop, the signals to be processed VIN1, VIN2, VIN3, and VIN4 are sequentially sampled by the analog-to-digital conversion module, and the analog-to-digital conversion module sequentially outputs the sampled data Dout1, Dout2, Dout3, and Dout4.

[0042] The signal sampling parameter refers to a parameter related to circular sampling of multiple signals to be processed. The set sampling frequency is the frequency of the sampling clock connected to the analog-to-digital conversion module. Every time a period of the sampling clock passes, the analog-to-digital conversion module performs an analog-to-digital conversion and outputs a digital signal. In the embodiments of the present application, the actual sampling frequency of the signal to be processed is determined based on the signal sampling parameter and the set sampling frequency. Therefore, the actual sampling frequency of the signal to be processed can be changed by changing the signal sampling parameter.

[0043] In some embodiments of the present application, the signal sampling parameter may include the signal sampling times, and the signal sampling times is the number of times each signal to be processed is sampled in each circular sampling process.

[0044] For example, referring to Figure 3 , Figure 3FIG. 0 shows a schematic diagram of the signal to be processed being sampled in an embodiment of the present application. During each cyclic sampling process, the duration of the signal VIN1 to be processed input into the analog-to-digital conversion module corresponds to four cycles of the sampling clock. Therefore, the signal VIN1 to be processed is sampled 4 times, and the corresponding sampled data Dout1 includes D11, D12, D13, and D14. Similarly, during each cyclic sampling process, the signal VIN2 to be processed is sampled 4 times, and the corresponding sampled data Dout2 includes D12, D22, D23, and D24. The same applies to other signals to be processed and will not be elaborated further. That is, in Figure 3 the signal sampling times is 4.

[0045] It should be noted that the actual sampling frequency of the signal to be processed can be changed by changing the signal sampling times. For example, taking the sampling of N signals to be processed during each cyclic sampling process and the signal sampling times being M as an example, it can be known that the actual sampling frequency of each signal to be processed is:

[0046]

[0047] where fsd1 is the actual sampling frequency of the signal to be processed, and fs is the set sampling frequency (i.e., the frequency of the sampling clock input into the analog-to-digital conversion module).

[0048] It can be seen that the actual sampling frequency of the signal to be processed can be changed by changing the signal sampling times. Therefore, according to the Nyquist theorem, for the interference noise superimposed on the signal to be processed, the folding frequency of the interference noise will also change.

[0049] In some embodiments of the present application, the signal sampling parameter includes the signal sampling interval, and the signal sampling interval is the interval time between the end moment of the sampling of the previous signal to be processed and the start moment of the sampling of the next signal to be processed.

[0050] For example, referring to Figure 4 , Figure 4 FIG. 24 shows another schematic diagram of the signal to be processed being sampled in an embodiment of the present application. During each cyclic sampling process, each signal to be processed is sampled once during each cyclic sampling process. The sampled data Dout1 includes D11, the sampled data Dout2 includes D21, the sampled data Dout3 includes D31, and the sampled data Dout4 includes D41. The interval between the end moment of the sampling of the signal VIN1 to be processed and the start moment of the sampling of the signal VIN2 to be processed is one cycle of the sampling clock. The interval between the end moment of the sampling of the signal VIN2 to be processed and the start moment of the sampling of the signal VIN3 to be processed is one cycle of the sampling clock, and so on. That is, in Figure 4 the signal sampling interval is one cycle of the sampling clock.

[0051] It should be noted that the actual sampling frequency of the signal to be processed can be changed by changing the signal sampling interval. For example, taking the sampling of N signals to be processed in each loop sampling process, and the signal sampling interval is K cycles of the sampling clock as an example, it can be known that the actual sampling frequency of each signal to be processed is:

[0052]

[0053] It can be seen that the actual sampling frequency of the signal to be processed can also be changed by changing the signal sampling interval, that is, the folding frequency of the interference noise can also be changed.

[0054] It can be understood that in some possible embodiments, referring to Figure 5 , Figure 5 shows another schematic diagram of the signal to be processed being sampled in the embodiment of the present application. The signal sampling parameters can also include the signal sampling times and the signal sampling interval at the same time. By changing the signal sampling times and the signal sampling interval, the actual sampling frequency of the signal to be processed can be changed. For example, taking the sampling of N signals to be processed in each loop sampling process, the signal sampling times is M, and the signal sampling interval is K cycles of the sampling clock as an example, it can be known that the actual sampling frequency of each signal to be processed is:

[0055]

[0056] It should be pointed out that the signal sampling parameters are not limited to the signal sampling times and the signal sampling interval. For example, the signal sampling parameters can also include the number of signals to be processed sampled in each loop sampling process. By changing the number of signals to be processed sampled in each loop sampling process, the actual sampling frequency of the signal to be processed can be changed.

[0057] Step S102, when the interference noise in the multi-channel sampled data does not meet the preset conditions, update the signal sampling parameters until the interference noise in the multi-channel sampled data meets the preset conditions;

[0058] It should be noted that since the actual sampling frequency of the signal to be processed is determined based on the signal sampling parameters and the set sampling frequency, updating the signal sampling parameters can change the actual sampling frequency of the signal to be processed. Then, for the interference noise in the signal to be processed, the folding frequency of the interference noise will also change. Therefore, after each update of the signal sampling parameters, it can be judged whether the interference noise in the multi-channel sampled data meets the preset conditions, so as to identify whether the folding frequency of the interference noise is moved outside the passband of the low-pass filter, and finally ensure that the multi-channel sampled data can filter out the interference noise through the low-pass filter.

[0059] Therefore, in the present application, after each update of the signal sampling parameters, it can be determined again whether the interference noise of the multi-channel sampled data meets the preset conditions. If the interference noise of the multi-channel sampled data meets the preset conditions, the signal sampling parameters are continuously updated and the above process is repeated until the interference noise of the multi-channel sampled data meets the preset conditions, so as to facilitate subsequent filtering out of out-of-band interference noise in the sampled data through a low-pass filter.

[0060] In some embodiments of the present application, the present application can perform spectrum analysis on the multi-channel sampled data, for example, determine whether the folding frequency of the interference noise is shifted to the out-of-band of the low-pass filter, so as to determine whether the interference noise of the multi-channel sampled data meets the preset conditions. In some embodiments of the present application, the present application can also analyze the data of the multi-channel sampled data filtered by the low-pass filter, and determine whether the interference noise of the multi-channel sampled data meets the preset conditions by identifying the noise magnitude of the filtered data.

[0061] Step S103, when the interference noise of the multi-channel sampled data meets the preset conditions, output target data according to the multi-channel sampled data.

[0062] It should be noted that when the interference noise of the multi-channel sampled data meets the preset conditions, it can be considered at this time that the folding frequency of the interference noise is shifted to the out-of-band of the low-pass filter. Therefore, the interference noise can be filtered out by performing filtering on each channel of sampled data through the low-pass filter, so as to obtain target data without aliasing interference noise.

[0063] In some embodiments of the present application, for example, in the embodiment where step S102 analyzes the data of the multi-channel sampled data filtered by the low-pass filter to determine whether the interference noise of the multi-channel sampled data meets the preset conditions, when the interference noise of the multi-channel sampled data meets the preset conditions, step S103 can directly perform downsampling on the data filtered in step S102 to obtain the target data.

[0064] For example, taking the set sampling frequency of 100 kHz and sampling 5 signals to be processed in each cycle sampling process as an example, assuming that the signal sampling times are 8 when the preset conditions are met and the signal sampling interval is 2 sampling clock cycles, then the actual sampling frequency Fsd1 of the signal to be processed is:

[0065]

[0066] After performing filtering processing on each channel of sampled data, if the average value of every 20 filtered data is used as one target data, the target frequency of the target data refresh is 100 Hz, so as to ensure that the target data meets the 100 Hz data refresh requirement of the system.

[0067] It can be understood that in step S103, the filtered data obtained in step S102 can also be directly used as the target data; or, if in step S102 other methods are used to determine whether the interference noise of the multiplexed sampled data meets the preset conditions, then in step S103, the multiplexed sampled data can also be filtered and decimated to obtain the target data.

[0068] In the embodiments of the present application, the present application performs cyclic sampling on the multiplexed signals to be processed according to the signal sampling parameters and the set sampling frequency, so that multiplexed sampled data corresponding to the multiplexed signals to be processed can be obtained. After determining the interference noise of the multiplexed sampled data, if the interference noise of the multiplexed sampled data does not meet the preset conditions, the present application can update the signal sampling parameters until the interference noise of the multiplexed sampled data meets the preset conditions, so as to ensure that the folding frequency of the interference noise is shifted outside the passband of the low-pass filter, and finally the interference noise can be filtered out by passing the multiplexed sampled data through the low-pass filter, reducing the probability that the multiplexed signals to be processed are misinterpreted by the signal processing system due to the influence of common-mode interference.

[0069] In some embodiments of the present application, when the interference noise of the multiplexed sampled data does not meet the preset conditions, the step of updating the signal sampling parameters until the interference noise of the multiplexed sampled data meets the preset conditions includes: updating the signal sampling parameters according to a preset rule, and re-determining whether the interference noise of the multiplexed sampled data meets the preset conditions after each update of the signal sampling parameters; wherein, the preset rule includes increasing the signal sampling parameters when updating the signal sampling parameters for the Nth time, and decreasing the signal sampling parameters when updating the signal sampling parameters for the (N + 1)th time, and N is any integer greater than or equal to 1.

[0070] For example, referring to Figure 6 , Figure 6 shows a schematic diagram of an update process of the signal sampling parameters in the embodiments of the present application. The initially set number of signal samplings is 8. When updating the number of signal samplings for the first time because the interference noise of the multiplexed sampled data does not meet the preset conditions, the number of signal samplings is updated to 10; when updating the number of signal samplings for the second time because the interference noise of the multiplexed sampled data does not meet the preset conditions, the number of signal samplings is updated to 6; when updating the number of signal samplings for the third time because the interference noise of the multiplexed sampled data does not meet the preset conditions, the number of signal samplings is updated to 12; when updating the number of signal samplings for the fourth time because the interference noise of the multiplexed sampled data does not meet the preset conditions, the number of signal samplings is updated to 4.

[0071] It can be seen that when updating the signal sampling parameters according to the preset rules, the signal sampling parameters actually change alternately between increasing and decreasing, so as to ensure that the signal sampling parameters are updated more comprehensively, and avoid the phenomenon that the interference noise of the multi-channel sampling data may not meet the preset conditions due to only decreasing or only increasing the signal sampling parameters.

[0072] In some embodiments of the present application, after the Nth update of the signal sampling parameters, the updated signal sampling parameters increase by a first preset value relative to the initially set signal sampling parameters; after the (N + 1)th update of the signal sampling parameters, the updated signal sampling parameters decrease by a second preset value relative to the initially set signal sampling parameters; wherein, the first preset value is equal to the second preset value.

[0073] For example, continue to refer to Figure 6 , the signal sampling times of the first update increase by 2 relative to the initially set signal sampling times, and the signal sampling times of the second update decrease by 2 relative to the initially set signal sampling times; the signal sampling times of the third update increase by 4 relative to the initially set signal sampling times, and the signal sampling times of the fourth update decrease by 4 relative to the initially set signal sampling times.

[0074] It can be seen that the step size of increase is equal to the step size of decrease during two adjacent updates of the signal sampling parameters, which can ensure that the signal sampling parameters are updated regularly, thus facilitating better finding of the signal sampling parameters corresponding to the size when the interference noise of the multi-channel sampling data meets the preset conditions.

[0075] In some embodiments of the present application, refer to Figure 7 , Figure 7 shows a schematic flowchart of a process for judging interference noise in an embodiment of the present application. Among them, the steps of judging whether the interference noise of the multi-channel sampling data meets the preset conditions include:

[0076] Step S701: Filter each channel of sampling data to obtain multi-channel filtered data corresponding to the multi-channel sampling data;

[0077] Step S702: Judge whether the interference noise of each channel of sampling data meets the preset conditions according to each channel of filtered data.

[0078] It should be noted that if the interference noise of each channel of sampled data meets the preset conditions, the folding frequency of the interference noise is shifted to the out-of-band of the low-pass filter, and at this time, the noise of each channel of filtered data should be small; conversely, if the interference noise of each channel of sampled data does not meet the preset conditions, the folding frequency of the interference noise is not shifted to the out-of-band of the low-pass filter, and at this time, the noise of each channel of filtered data should be large. Therefore, the present application can identify whether the folding frequency of the interference noise is shifted to the out-of-band of the low-pass filter according to the noise magnitude of each channel of filtered data, so as to determine whether the interference noise of each channel of sampled data meets the preset conditions.

[0079] Exemplarily, a digital filter can be used to filter each channel of sampled data. For example, a low-pass filter with -3dB and a bandwidth of 30Hz can be used to filter each channel of sampled data, so as to obtain multiple channels of filtered data corresponding to the multiple channels of sampled data.

[0080] In some embodiments of the present application, refer to Figure 8 , Figure 8 shows another schematic flowchart for determining interference noise in an embodiment of the present application. Among them, the steps of determining whether the interference noise of each channel of sampled data meets the preset conditions according to the filtered data corresponding to each channel of sampled data include:

[0081] Step S801, determine the root mean square value of each channel of filtered data according to each channel of filtered data;

[0082] Step S802, when the root mean square value of each channel of filtered data is less than the first preset threshold, determine that the interference noise of each channel of sampled data meets the preset conditions;

[0083] Step S803, when the root mean square value of each channel of filtered data is greater than or equal to the first preset threshold, determine that the interference noise of each channel of sampled data does not meet the preset conditions.

[0084] It should be noted that the root mean square value (RMS) of the filtered data can characterize the noise magnitude of the filtered data. Therefore, it can be determined whether the interference noise of each channel of sampled data meets the preset conditions according to the magnitude of the root mean square value of each channel of filtered data. For example, an appropriate number (such as 8 consecutive ones) of filtered data can be selected from each channel of filtered data to calculate the root mean square value. When the root mean square value of each channel of filtered data is less than the first preset threshold, it indicates that the folding frequency of the interference noise is shifted to the out-of-band of the low-pass filter. Therefore, it can be determined that the interference noise of each channel of sampled data meets the preset conditions; conversely, when the root mean square value of each channel of filtered data is greater than or equal to the first preset threshold, it indicates that the folding frequency of the interference noise is not shifted to the out-of-band of the low-pass filter. Therefore, it can be determined that the interference noise of each channel of sampled data does not meet the preset conditions.

[0085] In some embodiments of the present application, refer to Figure 9 ,Figure 9 FIG. 0 shows another schematic flow chart for determining interference noise in an embodiment of the present application. Among them, the steps of determining whether the interference noise of each channel of sampling data meets a preset condition according to the filtered data corresponding to each channel of sampling data include:

[0086] Step S901: Determine the peak-to-peak value of the filtered data for each channel according to the filtered data for each channel;

[0087] Step S902: When the peak-to-peak value of the filtered data for each channel is less than a second preset threshold, it is determined that the interference noise of each channel of sampling data meets the preset condition;

[0088] Step S903: When the peak-to-peak value of the filtered data for each channel is greater than or equal to the second preset threshold, it is determined that the interference noise of each channel of sampling data does not meet the preset condition.

[0089] It should be noted that the peak-to-peak value (Peak-peak) of the filtered data can also characterize the noise magnitude of the filtered data. Therefore, in the present application, it is also possible to determine whether the interference noise of each channel of sampling data meets the preset condition according to the peak-to-peak value of the filtered data for each channel. For example, an appropriate number (such as 8 consecutive data points) of filtered data can be selected from each channel of filtered data to calculate the peak-to-peak value. When the peak-to-peak value of the filtered data for each channel is less than the second preset threshold, it indicates that the folding frequency of the interference noise has been shifted outside the passband of the low-pass filter. Therefore, it can be determined that the interference noise of each channel of sampling data meets the preset condition; conversely, when the peak-to-peak value of the filtered data for each channel is greater than or equal to the second preset threshold, it indicates that the folding frequency of the interference noise has not been shifted outside the passband of the low-pass filter. Therefore, it can be determined that the interference noise of each channel of sampling data does not meet the preset condition.

[0090] It can be understood that those skilled in the art can set the magnitudes of the first preset threshold and the second preset threshold in the above embodiments according to actual needs (such as signal quality requirements), and the present application does not make specific limitations here.

[0091] Furthermore, in order to better implement the signal processing method in the embodiments of the present application, on the basis of the signal processing method, the present application also provides a signal processing circuit. Refer to Figure 10 , Figure 10 FIG. 23 shows a schematic diagram of a signal processing circuit in an embodiment of the present application. Among them, the signal processing circuit includes an analog-to-digital conversion module 1001, a parameter update module 1002, and a signal output module 1003.

[0092] Specifically, the analog-to-digital conversion module 1001 is configured to cyclically sample multiple signals to be processed according to the initially set signal sampling parameters and the set sampling frequency, so as to obtain multiple sets of sampling data corresponding to the multiple signals to be processed. Exemplarily, the analog-to-digital conversion module 1001 may include a multiplexer, a parameter register, an analog-to-digital converter, etc. The multiplexer can control the cyclic input of multiple signals to be processed into the analog-to-digital converter for analog-to-digital conversion. The parameter register can store the signal sampling parameters, and the analog-to-digital converter can perform analog-to-digital conversion on the input signal to be processed.

[0093] The parameter update module 1002 is configured to update the signal sampling parameters until the interference noise of the multiple sets of sampling data meets the preset conditions when the interference noise of the multiple sets of sampling data does not meet the preset conditions. Exemplarily, the parameter update module 1002 may include a low-pass filter and a logic judgment circuit. The low-pass filter can filter the multiple sets of sampling data to obtain filtered data. The logic judgment circuit can calculate the peak-to-peak value (Peak-peak) and the root mean square value (RMS) of the filtered data output by the low-pass filter, so as to judge whether the interference noise of the multiple sets of sampling data meets the preset conditions according to the peak-to-peak value and the root mean square value, and send an enable signal to update the signal sampling parameters stored in the parameter register when the interference noise of the multiple sets of sampling data does not meet the preset conditions.

[0094] The signal output module 1003 is configured to output target data according to the multiple sets of sampling data when the interference noise of the multiple sets of sampling data meets the preset conditions. In some embodiments of the present application, for example, in the embodiment where the parameter update module 1002 includes a low-pass filter, the signal output module 1003 may include a decimation circuit. The signal output module 1003 can perform decimation processing on the filtered data output by the low-pass filter through the decimation circuit, so as to obtain target data with interference noise filtered out and refreshed at the target frequency. In some embodiments of the present application, the signal output module 1003 may also include a low-pass filter and a decimation circuit, and perform filtering and decimation processing on the multiple sets of sampling data through the low-pass filter and the decimation circuit, so as to obtain target data with interference noise filtered out and refreshed at the target frequency.

[0095] In an embodiment of the present application, the present application performs cyclic sampling on multiple signals to be processed by the analog-to-digital conversion module 1001 according to signal sampling parameters and a set sampling frequency, so that multiple sets of sampling data corresponding to the multiple signals to be processed can be obtained. After the parameter update module 1002 determines the interference noise of the multiple sets of sampling data, if the interference noise of the multiple sets of sampling data does not meet the preset conditions, the parameter update module 1002 can update the signal sampling parameters until the interference noise of the multiple sets of sampling data meets the preset conditions, so as to ensure that the folding frequency of the interference noise is shifted outside the passband of the low-pass filter. Finally, the interference noise can be filtered out by passing the multiple sets of sampling data through the low-pass filter, reducing the probability that the signal to be processed is misinterpreted by the signal processing system due to the influence of common-mode interference.

[0096] An embodiment of the present application further provides a chip, which includes the above-mentioned signal processing circuit. A chip (Integrated Circuit, IC) is also called a chip, and this chip can be, but is not limited to, a SOC (System on Chip, chip-level system) chip, a SIP (system in package, system-level package) chip. Since the chip of the present application has the signal processing circuit described in the above embodiment, it has all the beneficial effects of the signal processing circuit in the above embodiment, which will not be elaborated here.

[0097] An embodiment of the present application further provides an electronic device, which includes a device main body and the above-mentioned chip disposed in the device main body. The electronic device can be, but is not limited to, a weighing scale, a body fat scale, a nutrition scale, an infrared electronic thermometer, a pulse oximeter, a body composition analyzer, a display, true wireless earphones, a car central control screen, a car, a smart wearable device, a mobile terminal, a smart home device. The smart wearable device includes, but is not limited to, a smart watch, a smart bracelet, and a cervical massager. The mobile terminal includes, but is not limited to, a smart phone, a laptop computer, a tablet computer, and a POS (point of sales terminal) machine. The smart home device includes, but is not limited to, a smart socket, a smart rice cooker, a smart sweeper, and a smart light.

[0098] The above are only preferred embodiments of the present application and do not impose any form of limitation on the present application. Although the present application has been disclosed above with preferred embodiments, it is not intended to limit the present application. Any person skilled in the art can make some changes or modifications to the above-disclosed technical content to obtain equivalent embodiments with equivalent changes. However, as long as the content of the technical solution of the present application is not departed from, any brief modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present application still fall within the scope of the technical solution of the present application.

Claims

1. A signal processing method, characterized in that: include: According to the signal sampling parameters and the set sampling frequency, the multiple channels of signals to be processed are cyclically sampled to obtain multiple channels of sampling data corresponding to the multiple channels of the signals to be processed; When the interference noise of the multiple channels of sampled data does not meet the preset condition, updating the signal sampling parameter until the interference noise of the multiple channels of sampled data meets the preset condition; When the interference noise of the multiple channels of sampled data meets the preset condition, target data is output according to the multiple channels of sampled data.

2. The signal processing method according to claim 1, characterized in that: The signal sampling parameters include the number of signal sampling times, which is the number of times each channel of the signal to be processed is sampled during each cyclic sampling process; and / or The signal sampling parameters include a signal sampling interval, and the signal sampling interval is the interval between the sampling end time of the previous signal to be processed and the sampling start time of the next signal to be processed.

3. The signal processing method according to claim 1, characterized in that: When the interference noise of the multiple channels of sampled data does not meet the preset condition, the step of updating the signal sampling parameters until the interference noise of the multiple channels of sampled data meets the preset condition comprises: The signal sampling parameters are updated according to preset rules, and after each update of the signal sampling parameters, it is re-determined whether the interference noise of the multiple channels of the sampled data meets the preset conditions; The preset rule includes increasing the signal sampling parameter when the signal sampling parameter is updated for the Nth time, and decreasing the signal sampling parameter when the signal sampling parameter is updated for the N+1th time, where N is any integer greater than or equal to 1.

4. The signal processing method according to claim 3, characterized in that: After the signal sampling parameter is updated for the Nth time, the updated signal sampling parameter is increased by a first preset value relative to the initially set signal sampling parameter; After the signal sampling parameter is updated for the N+1th time, the updated signal sampling parameter is reduced by a second preset value relative to the initially set signal sampling parameter; Wherein, the first preset value is equal to the second preset value.

5. The signal processing method according to claim 3, characterized in that: The step of determining whether the interference noise of the multiple channels of sampled data meets a preset condition comprises: Filtering each channel of the sampled data to obtain multiple channels of filtered data corresponding to the multiple channels of the sampled data; According to each channel of the filtered data, it is determined whether the interference noise of each channel of the sampled data meets a preset condition.

6. The signal processing method according to claim 5, characterized in that: The step of judging whether the interference noise of each channel of the sampled data meets a preset condition according to the filtered data corresponding to each channel of the sampled data comprises: Determine the root mean square value of each channel of filtered data according to each channel of filtered data; When the root mean square value of each channel of the filtered data is less than a first preset threshold, it is determined that the interference noise of each channel of the sampled data meets a preset condition; When the root mean square value of each channel of the filtered data is greater than or equal to the first preset threshold, it is determined that the interference noise of each channel of the sampled data does not meet the preset condition.

7. The signal processing method according to claim 5, characterized in that: The step of judging whether the interference noise of each channel of the sampled data meets a preset condition according to the filtered data corresponding to each channel of the sampled data comprises: Determine the peak-to-peak value of each channel of filtered data according to each channel of filtered data; When the peak-to-peak value of each channel of the filtered data is less than a second preset threshold, it is determined that the interference noise of each channel of the sampled data meets a preset condition; When the peak-to-peak value of each channel of filtered data is greater than or equal to the second preset threshold, it is determined that the interference noise of each channel of sampled data does not meet the preset condition.

8. The signal processing method according to claim 1, characterized in that: When the interference noise of the multiple channels of sampled data meets the preset condition, the step of outputting target data according to the multiple channels of sampled data comprises: Down-sampling is performed on each channel of the sampled data to obtain the target data refreshed at a target frequency.

9. A signal processing circuit, characterized in that: include: An analog-to-digital conversion module, the analog-to-digital conversion module is used to perform cyclic sampling on multiple channels of signals to be processed according to signal sampling parameters and a set sampling frequency, so as to obtain multiple channels of sampling data corresponding to the multiple channels of signals to be processed; A parameter updating module, wherein the parameter updating module is used to update the signal sampling parameters until the interference noise of the multiple channels of the sampled data meets the preset condition when the interference noise of the multiple channels of the sampled data does not meet the preset condition; A signal output module is used to output target data according to the multiple channels of sampled data when the interference noise of the multiple channels of sampled data meets the preset condition.

10. A chip, characterized in that: Comprising the signal processing circuit as claimed in claim 9.

11. An electronic device, characterized in that: The invention comprises a device body and the chip as claimed in claim 10 arranged in the device body.