Electromagnetic interference suppression circuit and integrated circuit chip
By using the signal difference calculation and step size adjustment module in the electromagnetic interference suppression circuit, a smooth transition of the signal edge is achieved, which solves the problem of poor electromagnetic interference suppression effect in the prior art and improves the stability of signal transmission and the electromagnetic interference suppression effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SHANGHAI LINGFAN MICROELECTRONICS CO LTD
- Filing Date
- 2025-07-23
- Publication Date
- 2026-07-14
AI Technical Summary
Existing electromagnetic interference suppression methods are ineffective in data transmission in electronic devices, affecting the operational reliability of the equipment.
An electromagnetic interference suppression circuit is adopted, including an input signal acquisition module, a difference calculation module, a step size adjustment module, and an output signal update module. By calculating the signal difference and dynamically adjusting the step size, smooth transition processing of signal edges is achieved.
It reduces signal fluctuations and instability, lowers high-frequency components and electromagnetic interference, and improves the suppression effect of electromagnetic interference.
Smart Images

Figure CN224503341U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electromagnetic interference and electromagnetic compatibility technology, and in particular to an electromagnetic interference suppression circuit and an integrated circuit chip. Background Technology
[0002] With the popularization and development of electronic devices, their complexity is increasing, and the electromagnetic interference (EMI) problem caused by this complexity is becoming more and more prominent, especially in the process of data transmission.
[0003] To suppress electromagnetic interference generated by electronic devices during data transmission, signal processing can be performed on the data-carrying signal to suppress electromagnetic interference. However, existing signal processing methods have poor electromagnetic interference suppression effects, affecting the reliability of electronic equipment operation. Utility Model Content
[0004] This application provides an electromagnetic interference suppression circuit and an integrated circuit chip to improve the electromagnetic interference suppression effect.
[0005] In a first aspect, embodiments of this application provide an electromagnetic interference suppression circuit, the circuit including an input signal acquisition module, a difference calculation module, a step size adjustment module and an output signal update module;
[0006] The input signal is acquired through the input signal acquisition module; the input signal acquisition module is connected to the difference calculation module and inputs the input signal into the difference calculation module;
[0007] The difference between the signal value at a first moment in the initial output signal and the signal value at a second moment in the input signal is calculated by the difference calculation module as a first difference. The first moment is the start moment of the signal edge, and the second moment is the end moment of the signal edge. The signal edge is either a rising edge or a falling edge of the signal. The difference calculation module is connected to the step size adjustment module and inputs the first difference into the step size adjustment module.
[0008] The step size adjustment module determines the step size based on the first difference. The step size is used to update the signal value of the signal edge in the initial output signal by the magnitude of the step size so that the signal value of the signal edge transitions smoothly. The step size adjustment module is connected to the output signal update module and inputs the step size into the output signal update module.
[0009] The output signal update module updates the initial output signal according to the step size to output a smooth output signal.
[0010] In one possible implementation, the step size adjustment module further dynamically adjusts the step size based on the first difference and the preset step size;
[0011] The output signal update module updates the initial output signal according to the dynamically adjusted step size.
[0012] In one possible implementation, the step size adjustment module includes a ratio comparison logic unit, an increment unit, a decrement unit, an adjustment direction selection unit, and a step size storage unit; the step size adjustment module is specifically used for:
[0013] The first difference is compared with a first preset multiple of the preset step size by the ratio comparison logic unit. If the first difference is greater than the first preset multiple of the preset step size, the adjustment direction selection unit is instructed by the increase unit to increase the step size, and the increased step size is stored in the step size storage unit.
[0014] And / or,
[0015] The first difference is compared with a second preset multiple of the preset step size by the proportional comparison logic unit. If the first difference is less than the second preset multiple of the preset step size, the adjustment direction selection unit is instructed by the reduction unit to reduce the step size, and the reduced step size is stored in the step size storage unit.
[0016] In one possible implementation, the output signal update module includes an adder, a subtractor, and an update direction selection unit;
[0017] When the signal edge is a rising edge, the output signal update module is specifically used to: in the initial output signal, gradually accumulate the signal value at the first moment by means of the amplitude of the dynamically adjusted step size through the adder and the update direction selection unit until the signal value at the second moment is reached;
[0018] And / or,
[0019] When the signal edge is a falling edge, the output signal update module is specifically used to: in the initial output signal, gradually decrease the signal value at the first moment by means of the magnitude of the dynamically adjusted step size through the subtractor and the update direction selection unit until the signal value at the second moment is reached.
[0020] In one possible implementation, during the gradual accumulation process, the difference between the currently accumulated signal value and the signal value at the second moment is calculated by the difference calculation module as a second difference; the step size adjustment module dynamically adjusts the step size according to the second difference, so that the signal value is rapidly increased in the first half of the gradual accumulation process and slowly increased in the second half of the gradual accumulation process according to the dynamically adjusted step size.
[0021] And / or,
[0022] During the gradual decrease process, the difference between the currently decreasing signal value and the signal value at the second moment is calculated by the difference calculation module as the third difference; the step size adjustment module dynamically adjusts the step size according to the third difference, so that the signal value is rapidly reduced in the first half of the gradual decrease process and slowly reduced in the second half of the gradual decrease process according to the dynamically adjusted step size.
[0023] In one possible implementation, the output signal update module further includes a threshold control unit, which has preset an upper limit value and a lower limit value for the signal; the output signal update module is also used for:
[0024] The smoothed output signal is input to the threshold control unit and compared with the upper limit value and the lower limit value of the signal. Signal values greater than the upper limit value are adjusted to the upper limit value, and / or signal values less than the lower limit value are adjusted to the lower limit value.
[0025] In one possible implementation, the output signal update module is further configured to:
[0026] When the first difference is less than or equal to the preset step size, the signal value of the smoothed output signal at the signal edge corresponding to the first difference is kept consistent with the signal value of the input signal at the signal edge corresponding to the first difference.
[0027] In one possible implementation, both the step size and the dynamically adjusted step size are less than or equal to a preset maximum step size; and / or, at least one of the maximum step size, the preset step size, the first preset multiple, and the second preset multiple is determined based on the maximum and minimum signal values in the input signal.
[0028] In one possible implementation, the input signal acquisition module acquires at least one first difference and its corresponding step size from historical input signals, wherein the historical input signals are input signals acquired prior to the input signals.
[0029] The step size adjustment module determines at least one of the following: the step size, the preset step size, the first preset multiple, and the second preset multiple, based on at least one first difference in the historical input signal and its corresponding step size.
[0030] Secondly, embodiments of this application provide an integrated circuit chip including an electromagnetic interference suppression circuit as described in the first aspect and / or various possible implementations of the first aspect.
[0031] The electromagnetic interference suppression circuit and integrated circuit chip provided in this application include an input signal acquisition module, a difference calculation module, a step size adjustment module, and an output signal update module. The input signal acquisition module acquires the input signal, and the difference calculation module calculates the difference between the signal value at a first moment in the initial output signal and the signal value at a second moment in the input signal as a first difference. The step size adjustment module determines the step size based on the first difference, allowing for smooth transitions of signal values at the signal edges, reducing signal fluctuations and instability. The output signal update module updates the initial output signal according to the step size and outputs a smoothed output signal. Compared to the input signal, the smoothed output signal exhibits smaller fluctuations at each signal edge and a smoother signal value transition, resulting in fewer high-frequency components and consequently less electromagnetic interference. Therefore, this circuit can process the input signal into a smoothed output signal with less electromagnetic interference, improving the electromagnetic interference suppression effect during signal transmission. Attached Figure Description
[0032] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0033] Figure 1 A schematic diagram of the signals provided in the embodiments of this application;
[0034] Figure 2 A schematic diagram of the electromagnetic interference suppression circuit provided in the embodiments of this application. Figure 1 ;
[0035] Figure 3 A schematic diagram of the smooth transition processing provided in the embodiments of this application. Figure 1 ;
[0036] Figure 4 A schematic diagram of the electromagnetic interference suppression circuit provided in the embodiments of this application. Figure 2 ;
[0037] Figure 5 A schematic diagram of the smooth transition processing provided in the embodiments of this application. Figure 2 ;
[0038] Figure 6 A schematic diagram of the smooth transition processing provided in the embodiments of this application. Figure 3 ;
[0039] Figure 7 This is a schematic diagram of the structure of an integrated circuit chip provided in an embodiment of this application.
[0040] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0041] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses consistent with some aspects of this application as detailed in the appended claims.
[0042] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solutions of this application comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0043] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0044] In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0045] In the embodiments of this application, the use of terms such as "first" and "second" is to distinguish between identical or similar items that have essentially the same function and effect. For example, "first electronic device" and "second electronic device" are merely used to distinguish different electronic devices and do not limit their order of execution. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" do not necessarily imply that they are different.
[0046] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0047] The names used in the embodiments of this application will be explained below:
[0048] (1) Electromagnetic interference refers to interference signals caused by electromagnetic fields, which affect the normal operation of electronic equipment. Especially in high-speed data transmission and sensitive signal processing systems, electromagnetic interference can cause signal distortion, bit errors, and even equipment failure.
[0049] (2) Threshold: In signal processing or control systems, a threshold is a set limit value used to determine whether a signal has reached a specific state or condition. When the signal exceeds (or falls below) the threshold, the system will trigger corresponding actions or adjust parameters. Setting a threshold can prevent signals from being too large or too small, ensuring that the system operates within a safe and stable range. In electromagnetic interference suppression, a threshold can be used to limit the maximum and minimum values of the output signal to avoid signal distortion or system abnormalities.
[0050] For example, data transmission between electronic devices can use ultrasonic waves or electromagnetic waves as the carrier for wireless communication. In wireless communication, the transmitting end typically sends out a signal carrying data, and the receiving end receives and processes the signal sent by the transmitting end.
[0051] Figure 1 A schematic diagram of the signals provided in the embodiments of this application, such as... Figure 1 As shown, a signal has corresponding signal values at each moment in a time series. These signal values can be understood as the signal's amplitude, phase, and / or signal strength. Since the signal value changes over time, high-frequency components are generated in parts of the signal that change drastically or at abrupt changes. These high-frequency components can cause electromagnetic interference, affecting the stability and reliability of electronic equipment.
[0052] In existing electronic devices, a combination of integrators and counters is typically used to suppress electromagnetic interference (EMI). However, when the input signal changes drastically, the output signal may exhibit significant fluctuations or instability. These fluctuations or instabilities can generate substantial EMI, affecting the overall performance of the electronic device. Therefore, the EMI suppression capabilities of existing electronic devices are relatively poor and cannot meet the requirements.
[0053] To better reduce electromagnetic interference (EMI), the transmitting end can smooth the signal during data transmission to avoid abrupt signal changes. Therefore, this application provides an EMI suppression circuit, which includes an input signal acquisition module, a difference calculation module, a step size adjustment module, and an output signal update module. The input signal acquisition module acquires the input signal, and the difference calculation module calculates the difference between the signal value at a first moment in the initial output signal and the signal value at a second moment in the input signal as a first difference. The step size adjustment module determines the step size based on the first difference, allowing for smooth transitions of the signal values at the signal edges, resulting in relatively stable transitions and reduced signal fluctuations and instability. The output signal update module updates the initial output signal according to the step size and outputs a smoothed output signal. Compared to the input signal, the smoothed output signal has smaller fluctuations at each signal edge and a smoother signal value transition, resulting in fewer high-frequency components and thus less EMI. Therefore, this circuit can process the input signal into a smooth output signal with less EMI, improving the EMI suppression effect during signal transmission.
[0054] The technical solutions of this application will be described in detail below with reference to specific embodiments. The specific embodiments described below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0055] Figure 2 A schematic diagram of the electromagnetic interference suppression circuit provided in the embodiments of this application. Figure 1 ,like Figure 2 As shown, the circuit includes an input signal acquisition module 201, a difference calculation module 202, a step size adjustment module 203, and an output signal update module 204.
[0056] The input signal is acquired by the input signal acquisition module 201; the input signal acquisition module 201 is connected to the difference calculation module 202 and inputs the input signal into the difference calculation module 202.
[0057] In this embodiment, the input signal can be any signal used for wireless communication, such as an ultrasonic signal, or an electromagnetic wave signal such as a radio frequency signal, infrared signal, or millimeter wave signal. The input signal can be understood as the original signal before signal smoothing. By smoothing the input signal through the circuit of this embodiment, a smoothed output signal can be obtained. This smoothed output signal is smoother than the input signal, thus reducing electromagnetic interference generated when transmitting the smoothed output signal.
[0058] The input signal acquisition module 201 can be any functional module capable of acquiring input signals, such as an input circuit or other circuit structure or module capable of receiving input signals. The input signal acquisition module 201 and the difference calculation module 202 can be electrically connected. After the input signal acquisition module 201 acquires the input signal, it can input the input signal into the difference calculation module 202 in real time.
[0059] The difference between the signal value at the first moment in the initial output signal and the signal value at the second moment in the input signal is calculated by the difference calculation module 202 as the first difference. The first moment is the start time of the signal edge, and the second moment is the end time of the signal edge. The signal edge is the rising edge or falling edge of the signal. The difference calculation module 202 is connected to the step size adjustment module 203 and inputs the first difference into the step size adjustment module 203.
[0060] For example, the difference calculation module 202 can be any functional module or circuit that can calculate the difference between signal values, such as a subtractor or a subtraction circuit.
[0061] The initial output signal can be understood as the output signal before smoothing. The initial output signal can be the same as the input signal; that is, before signal smoothing is applied to the initial output signal, the signal values are the same as the input signal. Signal values can be understood as the amplitude, phase, frequency, and / or signal strength, etc. Figure 1 As shown, an input signal can have several rising edges or falling edges. Any rising edge is a signal edge of the signal, and similarly, any falling edge is also a signal edge of the signal.
[0062] The first moment is the start time of the signal edge, and the second moment is the end time of the signal edge. For example, for a rising edge, the first moment is the time corresponding to the lowest signal value of the rising edge, and the second moment is the time corresponding to the highest signal value of the rising edge. Although the time interval between the lowest and highest signal values of the rising edge may be very short, it can still be understood as the time interval between the first and second moments. As another example, for a falling edge, the first moment is the time corresponding to the highest signal value of the falling edge, and the second moment is the time corresponding to the lowest signal value of the falling edge.
[0063] The difference between the signal value at the first moment in the initial output signal and the signal value at the second moment in the input signal is the first difference. Therefore, the first difference can be understood as the difference between the highest and lowest signal values at the signal edge, or as the signal value difference or height difference at the signal edge. The difference calculation module 202 and the step size adjustment module 203 can be electrically connected. After the difference calculation module 202 calculates the first difference, it can be input into the step size adjustment module 203 to determine the step size.
[0064] The step size adjustment module 203 determines the step size based on the first difference. The step size is used to update the signal value of the signal edge in the initial output signal by the magnitude of the step size so that the signal value of the signal edge transitions smoothly. The step size adjustment module 203 is connected to the output signal update module 204 and inputs the step size into the output signal update module 204.
[0065] For example, the step size can be understood as the smoothing amplitude used when smoothing signal edges. Smoothing signal edges can be understood as gradually raising the signal edge from the lowest signal value to the highest signal value (applicable to rising edges) or from the highest signal value to the lowest signal value (applicable to falling edges) through multiple smoothing amplitudes. The amplitude of the step size can be understood as the size of the step. By updating the signal value of the signal edge in the initial output signal with the amplitude of the step size, the signal value of the signal edge can transition relatively smoothly without abrupt changes in a short time.
[0066] When determining the step size based on the first difference, the step size adjustment module 203 can employ at least one feasible method. For example, it can use a fixed step size, or it can use a mapping method to determine the step size, or it can use an average smoothing method to calculate the step size, etc.
[0067] For example, a fixed step size can be preset as L0. After determining the first difference, the step size L0 is taken as the step size of the first difference. This method is relatively easy to determine the step size and facilitates quick determination of the step size.
[0068] For example, when determining the step size using a mapping method, the mapping relationship between each sub-range and each step size within the difference range can be pre-set. For instance, if the first difference falls within the difference range between difference a and difference e, the pre-set mapping relationship can be: sub-range [a, b] corresponds to step size L1; sub-range (b, c] corresponds to step size L2; sub-range (c, d) corresponds to step size L3; and sub-range (d, e) corresponds to step size L4. After calculating the first difference, the step size corresponding to the first difference can be determined based on the sub-range into which the first difference falls. This method requires obtaining the difference between the highest and lowest signal values of the input signal in advance, so the mapping relationship with the step size can be pre-set. This method offers greater flexibility compared to a fixed step size, and the determined step size is more suitable for the first difference, resulting in smoother edges on the processed signal.
[0069] For example, the step size can also be calculated using average smoothing. For instance, the number of smoothing operations for a signal edge can be preset, for example, 10. For a rising edge, this can be understood as smoothing the rising edge from its lowest signal value to its highest signal value through 10 smoothing operations. Assuming the first difference is 100, then 100 / 10 = 10, so the step size is 10. When smoothing the rising edge, starting from the lowest signal value, the step size increases by 10 each time, for a total of 10 operations, until the highest signal value of the rising edge is reached. Since this method is calculated based on the first difference, it is more suitable for the first difference and offers greater flexibility in smoothing the transition. The above is just an example of how to determine the step size; other methods can also be used, which will not be elaborated further.
[0070] Figure 3 A schematic diagram of the smooth transition processing provided in the embodiments of this application. Figure 1 ,like Figure 3 As shown, after smoothing the rising edge, the rising edge is no longer instantly pulled up from the lowest signal value to the highest signal value, but is gradually pulled up from the lowest signal value with a step size, eventually reaching the highest signal value; after smoothing the falling edge, the falling edge is no longer instantly pulled down from the highest signal value to the lowest signal value, but is gradually reduced from the highest signal value with a step size, eventually reaching the lowest signal value.
[0071] against Figure 3 The smoothed output signal 'a' shown in the figure, after undergoing multiple smoothing processes, can be approximated as a curve, as shown in the figure. Figure 3 The smoothed output signal a' is shown in the lower middle section.
[0072] The step size adjustment module 203 and the output signal update module 204 can be electrically connected. After the step size is determined, the step size can be input to the output signal update module 204 so that the output signal update module 204 can perform smooth transition processing on the signal edge of the initial output signal.
[0073] The output signal update module 204 updates the initial output signal according to the step size to output a smooth output signal.
[0074] For example, updating the initial output signal based on the step size can be understood as performing a smooth transition processing on the signal edge corresponding to the step size, so that the processed signal edge is smoother than before processing. After updating the initial output signal, the initial output signal is the smoothed output signal.
[0075] The electromagnetic interference suppression circuit provided in this application embodiment can perform smooth transition processing on each signal edge in each input signal segment, and can output a smooth output signal in real time. This process can be understood as a process of smoothing the signal edge in real time. In the initial output signal, each signal edge can be smoothed, and the smooth output signal corresponding to the input signal can be obtained efficiently.
[0076] The electromagnetic interference suppression circuit provided in this application includes an input signal acquisition module, a difference calculation module, a step size adjustment module, and an output signal update module. The input signal acquisition module acquires the input signal, and the difference calculation module calculates the difference between the signal value at a first moment in the initial output signal and the signal value at a second moment in the input signal as a first difference. The step size adjustment module determines the step size based on the first difference, allowing for smooth transitions of signal values at the signal edges, reducing signal fluctuations and instability. The output signal update module updates the initial output signal according to the step size and outputs a smoothed output signal. Compared to the input signal, the smoothed output signal exhibits smaller fluctuations at each signal edge and a smoother signal value transition, resulting in fewer high-frequency components and consequently less electromagnetic interference. Therefore, this circuit can process the input signal into a smoothed output signal with less electromagnetic interference, improving the electromagnetic interference suppression effect during signal transmission.
[0077] In one possible implementation, the step size adjustment module further dynamically adjusts the step size based on the first difference and the preset step size; the output signal update module updates the initial output signal based on the dynamically adjusted step size.
[0078] For example, the preset step size can be a pre-set step size or a fixed step size. The preset step size can be used to dynamically adjust the step size. The preset step size can also be understood as the initial step size (delta). For example, the preset step size can be set according to the step size of one or more signal edges in the input signal; or, for a signal edge, the step size initially determined for that signal edge can be determined as the preset step size.
[0079] For example, when performing smooth transition processing on the first signal edge in the input signal, the step size used for smooth transition processing is preset as a preset step size, which is used to dynamically adjust the step size of subsequent signal edges. For instance, if the step size of the first signal edge is 20, this step size value can be preset as the preset step size. When processing the second signal edge or other signal edges, the step size can be dynamically adjusted according to the first difference between the signal edges and the preset step size. If the step size of the second signal edge is determined to be 10, the step size 10 can be dynamically adjusted according to the relationship between the first difference and the preset step size. For example, if the first difference is greater than the preset step size, the step size 10 can be increased; if the first difference is less than the preset step size, the step size 10 can be decreased.
[0080] After dynamically adjusting the step size, the adjusted step size can be obtained. The step size adjustment module can input the adjusted step size into the output signal update module. The output signal update module can update the initial output signal according to the dynamically adjusted step size to process the signal edge and obtain a smooth output signal.
[0081] In practical applications, since the first difference corresponding to different signal edges may be large or small, the embodiments of this application can dynamically adjust the determined step size according to the first difference and the preset step size, so that the step size can be adjusted to better match the first difference, which is conducive to smoother processing of signal edges and improves the smoothness of signal edges.
[0082] In one possible implementation, the step size adjustment module includes a scale comparelogic block, an increase unit, a decrease unit, an adjustment direction selection unit, and a step size storage unit; the step size adjustment module is specifically used for:
[0083] The first difference is compared with the first preset multiple of the preset step size by the proportional comparison logic unit. If the first difference is greater than the first preset multiple of the preset step size, the step size is increased by the addition unit to indicate the adjustment direction selection unit and the increased step size is stored in the step size storage unit.
[0084] And / or, by comparing the first difference with a second preset multiple of the preset step size through the proportional comparison logic unit, if the first difference is less than the second preset multiple of the preset step size, the step size is reduced by the reduction unit indicating the adjustment direction selection unit, and the reduced step size is stored in the step size storage unit.
[0085] For example, the ratio comparison logic unit can be any logic unit used to compare two or more values, and can be implemented by logic circuits; the increase unit and decrease unit can be indicator circuit structures used to indicate the increase and decrease of the step size, respectively; the adjustment direction selection unit can be a circuit structure used to select the two adjustment directions of increase or decrease, such as a multiplexer (MUX); the step size storage unit can be any functional unit that can be used for information storage.
[0086] The first preset multiple can be represented as m, where m can be any value greater than 1. The preset step size can be a step size determined based on the first difference of the signal edges; this step size is the step size before dynamic adjustment.
[0087] Taking a first preset multiple m of 6 as an example, for a rising edge, if its first difference is 100, and the step size determined by the step size adjustment module is 10, this step size 10 can be preset as the preset step size. Then, the first preset multiple of the preset step size is 10 × 6 = 60. The proportional comparison logic unit in the step size adjustment module can compare the first difference 100 with the first preset multiple 60 of the preset step size. Since the first difference 100 is greater than the first preset multiple 60 of the preset step size, it indicates that if the rising edge is smoothed using the step size 10 before dynamic adjustment, the highest signal value of the rising edge cannot be reached even after 6 smoothing transitions. This reflects that the step size before dynamic adjustment is too small, requiring too many smoothing transitions.
[0088] At this point, by adding a unit to select the adjustment direction unit, the direction of dynamic adjustment of the step size can be increased. The step size 10 can be increased, for example, to 20. The step size 20 is the dynamically adjusted step size. By using the step size 20 to smooth the rising edge of the first difference 100, only 5 smoothing transitions are needed to reach the highest signal value. This reduces the number of smoothing operations and improves the smoothing efficiency. At the same time, it can also effectively shorten the response time of electronic equipment to sudden electromagnetic interference, quickly suppress interference signals, and reduce the impact of EMI on electronic equipment.
[0089] After dynamically adjusting the step size, the dynamically adjusted step size can be stored in the storage unit for later use.
[0090] For example, the second preset multiple can be represented as n, where n can be any value less than or equal to 1. The preset step size can be a step size determined for the first difference of the signal edges, which is the step size before dynamic adjustment.
[0091] Taking a second preset multiple n of 1 as an example, for a falling edge, if its first difference is 15, and the step size determined by the step size adjustment module is 20, this step size 20 can be preset as a preset step size. Then, the second preset multiple of the preset step size is 20 × 1 = 20. The proportional comparison logic unit in the step size adjustment module can compare the first difference 15 with the second preset multiple 20 of the preset step size. Since the first difference 15 is less than the second preset multiple 20 of the preset step size, it indicates that if the falling edge is smoothed using the step size 20 before dynamic adjustment, it will exceed the lowest signal value of the falling edge. This reflects that the step size before dynamic adjustment is too large and not suitable for smoothing a small first difference; the step size needs to be reduced.
[0092] At this point, by reducing the unit's adjustment direction selection unit indicator, the direction for dynamically adjusting the step size 20 can be set to decrease the step size. Therefore, the step size 20 can be reduced, for example, to 3. Step size 3 is the dynamically adjusted step size. By using step size 3 to smoothly transition the falling edge of the first difference 15, the lowest signal value can be achieved through 5 smooth transition processes. Based on this, for signal edges corresponding to smaller first differences, a smooth output in a stable state can be maintained by dynamically reducing the step size, avoiding signal fluctuations caused by excessively rapid changes, thereby improving the system's anti-interference capability and signal quality.
[0093] In this embodiment, the step size can be dynamically adjusted based on the first difference, a preset step size, a first preset multiple, and / or a second preset multiple, thus realizing a dynamic adjustment mechanism for the step size. Based on this, a more suitable step size can be adapted according to the first difference, improving the system's response speed during sudden interference while maintaining signal smoothness and stability in a stable state.
[0094] In one possible implementation, the output signal update module includes an adder, a subtractor, and an update direction selection unit;
[0095] When the signal edge is a rising edge, the output signal update module is specifically used to: in the initial output signal, gradually accumulate the signal value at the first moment by means of the increment of the dynamically adjusted step size through the adder and the update direction selection unit until the signal value at the second moment is reached;
[0096] And / or, when the signal edge is a falling edge, the output signal update module is specifically used to: in the initial output signal, gradually decrease the signal value at the first moment by using the magnitude of the dynamically adjusted step size as the reduction amount through a subtractor and an update direction selection unit until the signal value at the second moment is reached.
[0097] For example, an adder is a circuit structure or component that can be used to perform addition operations, and a subtractor is a circuit structure or component that can be used to perform subtraction operations. The update direction selection unit is used to determine the update direction of the signal value at the signal edge, so as to determine whether to accumulate or subtract the signal value. The update direction selection unit can be similar to the adjustment direction selection unit, for example, it can be a multiplexer (MUX).
[0098] Figure 4 A schematic diagram of the electromagnetic interference suppression circuit provided in the embodiments of this application. Figure 2 ,like Figure 4 As shown, after the input signal (Din) enters the circuit through the input port (din), it first passes through the delay module (delay) to ensure timing synchronization. Both the input port and the delay module can be understood as components in the input signal acquisition module. The delayed input signal and the initial output signal (Dout) can be compared by the difference calculation module to calculate the first difference (differ0), providing a basis for subsequent determination of the step size and dynamic adjustment of the step size.
[0099] The first difference is compared with the initial step size delta output from the step size storage unit in the proportional comparison logic unit. It is determined whether difference0 is greater than a certain multiple of delta (e.g., 4 to 6 times) to decide whether to increase or decrease the step size, thus achieving dynamic adjustment of the step size. For example, if difference0 is greater than m times the initial step size delta, the path of the increase unit is selected to instruct the adjustment direction selection unit to dynamically adjust the step size in the direction of increasing the step size; if difference0 is less than n times the initial step size delta, the path of the decrease unit is selected to instruct the adjustment direction selection unit to dynamically adjust the step size in the direction of decreasing the step size. The adjustment direction selection unit can be a MUX, which can select the adjustment direction of the step size according to logic to dynamically adjust the step size. After dynamically adjusting the step size, the dynamically adjusted step size can be stored in the step size storage unit for later use. The proportional comparison logic unit, increase unit, decrease unit, adjustment direction selection unit, and step size storage unit can all be understood as components in the step size adjustment module.
[0100] For example, the step size adjustment module may further include a maximum step size threshold unit, which can receive an input maximum step size (max_slope). By comparing the dynamically adjusted step size with the maximum step size, the maximum step size threshold unit can ensure that the dynamically adjusted step size is within the limit of the maximum step size. This avoids the dynamically adjusted step size being too large, which would affect the smoothness during smooth transitions, and reduces signal abrupt changes caused by excessively rapid smoothing of signal edges, thereby reducing the generation of electromagnetic interference.
[0101] The subtractor, adder, and update direction selection unit can all be understood as components in the output signal update module. After obtaining the dynamically adjusted step size, the initial output signal is updated through the adder or subtractor according to the dynamically adjusted step size, thereby achieving smooth transition processing of the signal edges in the initial output signal.
[0102] For example, when the signal edge is a rising edge, the signal value starting from the lowest value of that rising edge is gradually accumulated by an adder with a dynamically adjusted step size until it reaches the highest value of that rising edge. Similarly, when the signal edge is a falling edge, the signal value starting from the highest value of that falling edge is gradually decreased by a subtractor with a dynamically adjusted step size until it reaches the lowest value of that falling edge. After smoothing the signal edges, a smooth output signal is obtained. This smooth output signal can be fed back to the difference calculation module, forming a closed-loop control that continuously and dynamically adjusts the initial output signal.
[0103] For example, the choice between an incremental or decremental path during an update can be determined using an update direction selection unit. Figure 4 As shown, while the difference calculation module calculates the first difference, it can also obtain the sign bit (sign) that represents whether the signal edge corresponding to the first difference is a rising edge or a falling edge. Based on the sign bit, it can be determined whether the adjustment to the initial output signal is to increase or decrease.
[0104] For example, if the signal value at the first time step is less than the signal value at the second time step, it indicates that the signal edge is a rising edge; if the signal value at the first time step is greater than the signal value at the second time step, it indicates that the signal edge is a falling edge. The sign bit output by the difference calculation module can be input to the proportional comparison logic unit or the update direction selection unit. After obtaining the sign bit, the update direction selection unit can update the signal edges in the initial output signal according to the dynamically adjusted step size and in conjunction with the adder or subtractor to smoothly process the signal edges.
[0105] In the embodiments of this application, the signal values of the rising edge and the falling edge are smoothed by gradually accumulating or gradually decreasing, respectively, which can achieve convenient signal smoothing and effectively suppress electromagnetic interference.
[0106] In one possible implementation, the output signal update module further includes a threshold control unit, which has preset an upper limit value and a lower limit value for the signal; the output signal update module is also used to: compare the smoothed output signal input threshold control unit with the upper limit value and the lower limit value for the signal, adjust the signal value greater than the upper limit value to the upper limit value for the signal, and / or adjust the signal value less than the lower limit value for the lower limit value for the signal.
[0107] like Figure 4 As shown, after updating the initial output signal with a dynamically adjusted step size through an adder or subtractor, the resulting smooth output signal can be input into a threshold control unit. This threshold control unit has preset upper and lower limits for the signal, which is equivalent to setting a signal value range for each signal value in the smooth output signal. The signal value cannot exceed the signal value range formed by the upper and lower limits.
[0108] The threshold control unit can compare the signal value with the upper and lower limits of the signal, and can adjust the signal value that is greater than the upper limit to the upper limit and the signal value that is less than the lower limit to the lower limit.
[0109] In this way, by setting upper and lower limits for the signal to be compared with the smoothed output signal, the smoothed output signal can be kept within the preset safe range of the upper and lower limits. This mechanism can prevent the smoothed output signal from becoming too large or too small under strong interference or abnormal conditions, protecting the normal operation of electronic equipment. Furthermore, by setting the upper and lower limits, signal overflow or distortion can be effectively avoided, enhancing the safety and stability of electronic equipment. Especially in complex electromagnetic environments, the threshold mechanism ensures that the output signal is always within a reasonable range, improving the system's reliability and anti-interference capability.
[0110] For example, the update direction selection unit in the output signal update module can output the equal signal value when the signal value at the first moment in the initial output signal is equal to the signal value at the second moment in the input signal, for example, outputting "1". The fact that the signal value at the first moment in the initial output signal is equal to the signal value at the second moment in the input signal indicates that there was no jump in the signal value between the first and second moments. This signal value is a non-signal edge value; therefore, when they are equal, the signal value can be directly output without smoothing it.
[0111] In one possible implementation, the output signal update module is further configured to: when the first difference is less than or equal to a preset step size, keep the signal value of the smoothed output signal at the signal edge corresponding to the first difference consistent with the signal value of the input signal at the signal edge corresponding to the first difference.
[0112] For example, if the first difference is less than or equal to a preset step size, it indicates that the difference between the lowest and highest signal values at the signal edge is small. Such a signal edge produces less signal fluctuation and abrupt changes, and is less likely to generate electromagnetic interference. In this case, the signal value of the smoothed output signal at the signal edge corresponding to the first difference can be kept consistent with the signal value of the input signal at the signal edge corresponding to the first difference. This can be understood as not needing to perform smooth transition processing on such signal edges, which can speed up the acquisition of the output signal and improve signal processing efficiency.
[0113] For example, when the input signal is equal to the initial output signal, the signal value of the initial output signal can be kept constant compared to the signal value of the input signal, avoiding frequent signal updates and reducing unnecessary signal fluctuations. This measure can effectively suppress frequent adjustments caused by minute differences, ensuring output stability.
[0114] Based on this, the frequent adjustments of electronic devices to minor interferences or signal changes can be reduced, signal noise and fluctuations can be reduced, the stability of the output signal and the anti-interference ability of electronic devices can be improved, and it is particularly suitable for electronic devices in automotive electronic systems that have high requirements for signal smoothness.
[0115] In one possible implementation, during the gradual accumulation process, the difference between the currently accumulated signal value and the signal value at the second moment is calculated by the difference calculation module as the second difference; the step size is dynamically adjusted by the step size adjustment module according to the second difference, so that the signal value is rapidly increased in the first half of the gradual accumulation process and slowly increased in the second half of the gradual accumulation process according to the dynamically adjusted step size.
[0116] And / or, during the gradual decrease process, the difference between the current decreasing signal value and the signal value at the second moment is calculated by the difference calculation module as the third difference; the step size is dynamically adjusted by the step size adjustment module according to the third difference, so that the signal value is rapidly reduced in the first half of the gradual decrease process and slowly reduced in the second half of the gradual decrease process according to the dynamically adjusted step size.
[0117] For example, since the smooth transition process is a gradual adjustment of the signal value, the step size used in this process can be indefinite. An indefinite step size can be understood as the step size being continuously adjusted and changed when smoothing a signal edge. Using an indefinite step size allows for relatively rapid adjustment of the signal value in the first half of the smooth transition process and relatively slow adjustment in the second half, thus resulting in a smoother signal edge after the smooth transition process.
[0118] For example, the second difference is calculated in real time during the gradual accumulation process, and multiple second differences may be calculated during the processing of a rising edge. For instance, during the gradual accumulation process, the direction of the step size adjustment can be determined as increasing or decreasing based on each second difference.
[0119] For example, when processing a rising edge, a first difference is calculated. Half of this first difference is used as a comparison with a second difference to determine whether the dynamic adjustment step size should be increased or decreased. After the first accumulation of the step size based on the lowest signal value, a first second difference is calculated between the accumulated signal value and the highest signal value. If this second difference is greater than half of the first difference, it indicates that the signal value has not yet accumulated to half of the first difference, and the step size can be dynamically increased to speed up the adjustment of the signal value. After dynamically adjusting the step size, the signal value after the first adjustment is accumulated to obtain the second adjusted signal value. Similarly, a second second difference is calculated by comparing this signal value with the highest signal value, and the second difference is compared with half of the first difference. If the second difference is still greater than half of the first difference, the step size needs to be dynamically adjusted in the direction of increasing. This process continues until the accumulated signal value exceeds half of the first difference. Then, the step size can be gradually dynamically adjusted in the direction of decreasing to slow down the accumulation of the signal value and achieve the goal of slowly reaching the highest signal value. In this process, as long as the second difference is greater than half of the first difference, it can be understood as being in the first half of the gradual accumulation process. When the second difference is less than half of the first difference, it can be understood as being in the second half of the gradual accumulation process.
[0120] It should be understood that in practical applications, the step size is dynamically adjusted based on the second difference so that the signal value increases rapidly in the first half of the gradual accumulation process and slowly in the second half. The dividing point between the first and second halves of the gradual accumulation process can be defined as half of the first difference, or it can be defined by other fractions, such as one-third or two-thirds of the first difference. Examples will not be elaborated here.
[0121] Figure 5A schematic diagram of the smooth transition processing provided in the embodiments of this application. Figure 2 ,like Figure 5 As shown, when smoothing the rising edge of the initial output signal, since the distance between the lowest and highest signal values is relatively large in the first half, a gradually increasing indefinite step size can be used to adjust the signal value, thus quickly raising the signal value. However, in the second half, the signal value has accumulated to a certain amount, and the distance to the highest signal value is not significant. Therefore, a gradually decreasing indefinite step size can be used to adjust the signal value, allowing for a relatively slow rise in the signal value in the second half, preventing the signal value from changing too rapidly. Through this indefinite step smoothing process, a rising edge that first increases rapidly and then increases slowly can be obtained, such as... Figure 5 The rising edge of the smoothed output signal b can also be approximated as a curve, such as... Figure 5 The rising edge of the smoothed output signal b'.
[0122] For example, the third difference is calculated in real time during the gradual decrease process, and multiple third differences may be calculated during the processing of a falling edge. For instance, during the gradual decrease process, the direction of the step size adjustment can be determined as increasing or decreasing based on each third difference.
[0123] For example, when processing a falling edge, a first difference is calculated. Half of this first difference is used as a comparison with a third difference to determine whether the dynamic adjustment step size should be increased or decreased. After the first decrease in step size based on the highest signal value, a first third difference is calculated between the decreased signal value and the lowest signal value. If this third difference is greater than half of the first difference, it indicates that the signal value has not yet decreased to half of the first difference, and the step size can be dynamically increased to speed up the adjustment of the signal value. After dynamically adjusting the step size, the signal value after the first adjustment is decreased to obtain the second adjusted signal value. Similarly, a second third difference is calculated by comparing this signal value with the lowest signal value, and the size of this third difference is compared with half of the first difference. If this third difference is still greater than half of the first difference, the step size needs to be dynamically adjusted in the direction of increasing. This process continues until the signal value decreases beyond half of the first difference. At this point, the step size can be gradually adjusted in the direction of decreasing to slow down the decrease in the signal value and achieve the goal of slowly reaching the lowest signal value. In this context, as long as the third difference is greater than half of the first difference, it can be understood as being in the first half of the gradual decreasing process; when the third difference is less than half of the first difference, it can be understood as being in the second half of the gradual decreasing process.
[0124] It should be understood that, similar to the example of the rising edge mentioned above, in practical applications, the dividing point between the first and second halves of the gradual decreasing process can be defined as half of the first difference, or it can be defined by other fractions, such as one-third or two-thirds of the first difference, etc., which will not be elaborated here.
[0125] Figure 6 A schematic diagram of the smooth transition processing provided in the embodiments of this application. Figure 3 ,like Figure 6 As shown, when smoothing the falling edge, in the first half, since the distance between the highest and lowest signal values is relatively large, a gradually increasing indefinite step size can be used to adjust the signal value, thus reducing the signal value relatively quickly. In the second half, the signal value has decreased to a certain amount, and the distance to the lowest signal value is not significant. At this point, a gradually decreasing indefinite step size can be used to adjust the signal value, thus reducing the signal value relatively slowly in the second half and preventing the signal value from changing too rapidly. Through indefinite step size smoothing, a falling edge that first decreases rapidly and then decreases slowly can be obtained, as shown... Figure 6 The falling edge of the smoothed output signal c can also be approximated as a curve, such as... Figure 6 The falling edge in the smoothed output signal c'.
[0126] Based on this, the step size can be dynamically adjusted during the gradual accumulation or decrement process. This allows for rapid signal value adjustment in the first half of the accumulation or decrement and slow adjustment in the second half. This achieves a dynamic smoothing effect, causing the rising or falling edge to update into an S-shaped curve after smoothing, further reducing signal edge fluctuations or abrupt changes, minimizing the generation of high-frequency components, and thus achieving better electromagnetic interference suppression.
[0127] In one possible implementation, both the step size and the dynamically adjusted step size are less than or equal to the preset maximum step size; and / or, at least one of the maximum step size, the preset step size, the first preset multiple, and the second preset multiple is determined based on the maximum and minimum signal values in the input signal.
[0128] For example, if the step size determined based on the first difference and the dynamically adjusted step size obtained after dynamic adjustment based on the step size are both set to be less than or equal to the preset maximum step size, the step size and the dynamically adjusted step size can be effectively limited within the preset maximum step size range. This can control the rate of change of the signal value of the smooth output signal, avoid the signal value being pulled up or down too quickly, reduce signal fluctuations and sudden changes, and suppress the generation of electromagnetic interference.
[0129] At least one of the maximum step size, preset step size, first preset multiple, and second preset multiple can be preset or adjusted according to requirements. The first preset multiple and / or the second preset multiple can also be understood as difference ratio coefficients.
[0130] For example, after determining a segment of input signal, the maximum and minimum signal values of the input signal can be obtained. Based on the difference between the maximum and minimum signal values, the range of signal value variation for that segment can be determined. Based on the range of signal value variation, a reference amplitude for the step size during smooth transition can be set. Alternatively, the expected average step size can be obtained by dividing the difference between the maximum and minimum signal values by the expected number of smoothing operations. Based on this expected average step size, a maximum step size and / or a preset step size can be set. Furthermore, a first preset multiple and / or a second preset multiple can be determined based on the multiple relationship between the expected average step size and the difference between the maximum and minimum signal values.
[0131] Therefore, by setting a maximum step size, both the current step size and the dynamically adjusted step size can be limited to a range less than or equal to the preset maximum step size. This allows control over the rate of signal value adjustment, ensuring a smooth effect. Determining at least one of the maximum step size, preset step size, first preset multiple, and second preset multiple based on the maximum and minimum signal values in the input signal enhances the adjustment flexibility of the electronic device. It enables adjustments to the response speed according to different electromagnetic interference environments and system requirements, avoiding system instability or signal distortion caused by excessively rapid changes. Simultaneously, reasonable parameter adjustment can optimize interference suppression effects and improve the adaptability and reliability of the electronic device.
[0132] In one possible implementation, an input signal acquisition module acquires at least one first difference and its corresponding step size from historical input signals, wherein the historical input signals are input signals acquired before the input signal; and a step size adjustment module determines at least one of a step size, a preset step size, a first preset multiple, and a second preset multiple based on at least one first difference and its corresponding step size from historical input signals.
[0133] For example, based on the above embodiments, a self-learning mechanism can be incorporated by acquiring historical input signals and dynamically adjusting the step size, preset step size, first preset multiple, and / or second preset multiple using historical interference data from the historical input signals. The electronic device analyzes past interference patterns, optimizes parameter settings, and achieves adaptive adjustment, thereby improving the intelligent level of interference suppression.
[0134] For example, at least one first difference and its corresponding step size can be obtained from the historical input signal and the smoothed output signal after processing the historical input signal. From these parameters, experience in determining the step size and dynamically adjusting the step size can be learned.
[0135] Furthermore, based on the historical input signal and the smoothed output signal after processing the historical input signal, it can be analyzed whether electromagnetic interference was generated after smoothing each signal edge of the historical input signal. If no electromagnetic interference was generated, it indicates that the smoothing processing applied to each signal edge of the historical input signal was effective. The step size, preset step size, first preset multiple, and / or second preset multiple used in the smoothing processing are all empirical values that can be used as a reference. These empirical values can be used to form positive feedback to help determine at least one of the step size, preset step size, first preset multiple, and second preset multiple when the circuit processes the current input signal.
[0136] In this embodiment, an input signal acquisition module acquires at least one first difference value and its corresponding step size from historical input signals. A step size adjustment module then determines at least one of the following: a step size, a preset step size, a first preset multiple, and a second preset multiple, based on the first first difference value and its corresponding step size from historical input signals. This enables the electronic device to possess self-adaptive capabilities, continuously optimizing parameters according to the actual interference environment, thereby improving interference suppression effectiveness and response speed. In the long run, this enhances the intelligence level of the electronic device, reduces the need for manual adjustments, and improves the stability and adaptability of the electronic device, making it particularly suitable for the complex and ever-changing automotive electronic environment.
[0137] For example, when using a circuit combining an integrator and a counter to achieve EMI suppression, the integrator's long response time makes it unable to quickly adapt to rapidly changing interference signals, resulting in a slow response speed. Furthermore, the fixed gain and time constant lead to unsatisfactory adjustment effects under different interference intensities, hindering effective dynamic adjustment. In contrast, the electromagnetic interference suppression circuits provided in the above embodiments of this application dynamically adjust the change range of the next output value by comparing the difference between the estimated output value (initial output signal) and the actual input value (input signal), i.e., dynamically adjusting the step size. This allows for rapid response to interference signals and effective dynamic signal adjustment.
[0138] For example, when the initial difference is large (e.g., greater than 4 to 6 times the preset step size), the circuit can increase the step size to adjust the output value more quickly. This step size also has a maximum step size (max_slope), which represents the maximum rate of change of the output value. Conversely, when the difference is less than a certain proportion (e.g., n times the preset step size), the circuit can decrease the step size to maintain a smooth change in the output value. Through these two operations, the circuit ensures a smooth transition at the beginning and end of the output value change. This functionality can be achieved through specific logic combinations (such as proportional comparison logic units and step sizes).
[0139] The electromagnetic interference suppression circuits provided in the above embodiments of this application dynamically adjust the step size by real-time monitoring the difference between the output and input values to smoothly transition each signal edge, thereby outputting a smooth signal curve. This flexible adjustment method for signal smoothing reduces electromagnetic interference caused by signal abrupt changes, improves the system's electromagnetic compatibility, and also reduces resource consumption.
[0140] Figure 7 This is a schematic diagram of the structure of an integrated circuit chip provided in an embodiment of this application, such as... Figure 7 As shown, the integrated circuit chip in this embodiment may include the electromagnetic interference suppression circuit provided in any of the above embodiments. An exemplary integrated circuit chip may be an ultrasonic reversing radar chip.
[0141] In one possible implementation, the integrated circuit chip includes: at least one electromagnetic interference suppression circuit 701; and a memory 702 communicatively connected to the at least one electromagnetic interference suppression circuit 701; wherein the memory 702 stores an input signal that can be processed by the at least one electromagnetic interference suppression circuit 701, and when the input signal is processed by the at least one electromagnetic interference suppression circuit 701, the effects of any of the above embodiments can be achieved.
[0142] Optionally, the memory 702 can be either standalone or integrated with the electromagnetic interference suppression circuit 701.
[0143] The implementation principle and technical effects of the integrated circuit chip provided in this embodiment can be found in the foregoing embodiments, and will not be repeated here.
[0144] In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed.
[0145] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute the contents described in the various embodiments of this application.
[0146] It should be understood that the aforementioned electromagnetic interference suppression circuit can interact with a processor, which can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. Based on the disclosure in this application, the execution can be directly described as being performed by a hardware processor, or by a combination of hardware and software modules within the processor. The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk drive, and could also be a USB flash drive, external hard drive, read-only memory, disk, or optical disc, etc.
[0147] The aforementioned storage units or storage media can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage medium can be any available medium accessible to general-purpose or special-purpose computers.
[0148] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. The processor and storage medium can reside within an application-specific integrated circuit (ASIC). Alternatively, the processor and storage medium can exist as discrete components within an electronic device or host device.
[0149] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes that element.
[0150] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0151] Through the above description of the embodiments, those skilled in the art can clearly understand that the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the content described in the various embodiments of this application.
[0152] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
[0153] Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the embodiments of this application that follow the general principles of the embodiments of this application and include common knowledge or customary techniques in the art not disclosed in the embodiments of this application.
[0154] It should be understood that the embodiments of this application are not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from their scope. The scope of the embodiments of this application is limited only by the appended claims.
Claims
1. An electromagnetic interference suppression circuit, characterized in that, The circuit includes an input signal acquisition module, a difference calculation module, a step size adjustment module, and an output signal update module; The input signal is acquired through the input signal acquisition module; the input signal acquisition module is connected to the difference calculation module and inputs the input signal into the difference calculation module; The difference between the signal value at a first moment in the initial output signal and the signal value at a second moment in the input signal is calculated by the difference calculation module as a first difference. The first moment is the start moment of the signal edge, and the second moment is the end moment of the signal edge. The signal edge is either a rising edge or a falling edge of the signal. The difference calculation module is connected to the step size adjustment module and inputs the first difference into the step size adjustment module. The step size adjustment module determines the step size based on the first difference. The step size is used to update the signal value of the signal edge in the initial output signal by the magnitude of the step size so that the signal value of the signal edge transitions smoothly. The step size adjustment module is connected to the output signal update module and inputs the step size into the output signal update module; The output signal update module updates the initial output signal according to the step size to output a smooth output signal.
2. The circuit according to claim 1, characterized in that, The step size adjustment module also dynamically adjusts the step size based on the first difference and the preset step size; The output signal update module updates the initial output signal according to the dynamically adjusted step size.
3. The circuit according to claim 2, characterized in that, The step size adjustment module includes a ratio comparison logic unit, an increment unit, a decrement unit, an adjustment direction selection unit, and a step size storage unit; the step size adjustment module is specifically used for: The first difference is compared with a first preset multiple of the preset step size by the ratio comparison logic unit. If the first difference is greater than the first preset multiple of the preset step size, the adjustment direction selection unit is instructed by the increase unit to increase the step size, and the increased step size is stored in the step size storage unit. And / or, The first difference is compared with a second preset multiple of the preset step size by the proportional comparison logic unit. If the first difference is less than the second preset multiple of the preset step size, the adjustment direction selection unit is instructed by the reduction unit to reduce the step size, and the reduced step size is stored in the step size storage unit.
4. The circuit according to claim 3, characterized in that, The output signal update module includes an adder, a subtractor, and an update direction selection unit; When the signal edge is a rising edge, the output signal update module is specifically used to: in the initial output signal, gradually accumulate the signal value at the first moment by means of the amplitude of the dynamically adjusted step size through the adder and the update direction selection unit until the signal value at the second moment is reached; And / or, When the signal edge is a falling edge, the output signal update module is specifically used to: in the initial output signal, gradually decrease the signal value at the first moment by means of the magnitude of the dynamically adjusted step size through the subtractor and the update direction selection unit until the signal value at the second moment is reached.
5. The circuit according to claim 4, characterized in that, During the gradual accumulation process, the difference between the currently accumulated signal value and the signal value at the second moment is calculated by the difference calculation module as the second difference; the step size adjustment module dynamically adjusts the step size according to the second difference, so that the signal value is rapidly increased in the first half of the gradual accumulation process and slowly increased in the second half of the gradual accumulation process according to the dynamically adjusted step size. And / or, During the gradual decrease process, the difference between the currently decreasing signal value and the signal value at the second moment is calculated by the difference calculation module as the third difference; the step size adjustment module dynamically adjusts the step size according to the third difference, so that the signal value is rapidly reduced in the first half of the gradual decrease process and slowly reduced in the second half of the gradual decrease process according to the dynamically adjusted step size.
6. The circuit according to any one of claims 1-5, characterized in that, The output signal update module further includes a threshold control unit, which has preset upper and lower limit values for the signal; the output signal update module is also used for: The smoothed output signal is input to the threshold control unit and compared with the upper limit value and the lower limit value of the signal. Signal values greater than the upper limit value are adjusted to the upper limit value, and / or signal values less than the lower limit value are adjusted to the lower limit value.
7. The circuit according to any one of claims 2-5, characterized in that, The output signal update module is also used for: When the first difference is less than or equal to the preset step size, the signal value of the smoothed output signal at the signal edge corresponding to the first difference is kept consistent with the signal value of the input signal at the signal edge corresponding to the first difference.
8. The circuit according to any one of claims 3-5, characterized in that, The step size and the dynamically adjusted step size are both less than or equal to the preset maximum step size; and / or, at least one of the maximum step size, the preset step size, the first preset multiple, and the second preset multiple is determined based on the maximum and minimum signal values in the input signal.
9. The circuit according to any one of claims 3-5, characterized in that, The input signal acquisition module acquires at least one first difference and its corresponding step size from historical input signals, wherein the historical input signals are input signals acquired before the input signal. The step size adjustment module determines at least one of the following: the step size, the preset step size, the first preset multiple, and the second preset multiple, based on at least one first difference in the historical input signal and its corresponding step size.
10. An integrated circuit chip, characterized in that, Includes the electromagnetic interference suppression circuit as described in any one of claims 1-9.