Analog switch circuit, method of controlling analog switch circuit, and electronic device
By integrating a programmable filter and controller into the analog switch circuit, adaptive signal switching is achieved, solving the electromagnetic compatibility and signal quality issues of analog switches under the Type-C interface and improving the electromagnetic compatibility performance of analog switches.
Patent Information
- Application Number
- CN202211292836.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-21
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-10-21
AI Technical Summary
Existing analog switches have poor anti-interference performance for audio and related analog signals, requiring external noise reduction circuits, and it is difficult to meet the signal quality requirements of both digital and analog signals, especially with prominent electromagnetic compatibility issues under the Type-C interface.
An analog switching circuit integrating a programmable filter and a controller is used. The controller controls the programmable filter to operate in high-pass, low-pass, or band-pass filtering modes. The switching switch enables adaptive switching of the signal, eliminating the need for external noise reduction circuitry.
It meets signal quality requirements in various modes without requiring external noise reduction circuitry, while also improving the electromagnetic compatibility performance of analog switches.
Smart Images

Figure CN115587063B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of integrated circuit technology, specifically relating to an analog switch circuit, a method for controlling the analog switch circuit, and an electronic device. Background Technology
[0002] Analog switch circuits are circuits that control the "on / off" state of analog signals. Their function is to operate in two states—open and closed—under the control of a switch signal, and to quickly switch between these two states. However, existing analog switches have poor anti-interference performance for audio and related analog signals, requiring the configuration of numerous external noise reduction circuits. Furthermore, these analog switches are susceptible to electromagnetic interference and have electromagnetic compatibility issues.
[0003] In addition, with the widespread use of the Type-C interface, which has rich interface definitions and strong scalability, the corresponding analog switches need to take into account both digital and analog signals. However, the bandwidth and interference sources of these two signals are completely different, and a single filtering and noise reduction circuit cannot simultaneously meet the signal quality requirements of both analog and digital audio signals. Summary of the Invention
[0004] The purpose of this application is to provide an analog switch circuit, a method for controlling the analog switch circuit, and an electronic device that can switch the filtering circuit according to the actual transmitted signal without configuring an external noise reduction circuit, thereby meeting the signal quality requirements under various modes and improving the electromagnetic compatibility performance of the analog switch.
[0005] To solve the above-mentioned technical problems, this application is implemented as follows:
[0006] In a first aspect, embodiments of this application provide an analog switching circuit, the circuit comprising:
[0007] Digital signal input terminals and analog signal input terminals, switching switches, programmable filters, controllers, and signal output terminals, including:
[0008] The first end of the programmable filter is connected to the signal output end, and the second end of the programmable filter is connected to the first end of the switching switch.
[0009] The second end of the switch is connected to the digital signal input terminal, and the third end of the switch is connected to the analog signal input terminal.
[0010] The first terminal of the controller is connected to the programmable filter, and the second terminal of the controller is connected to the switching switch;
[0011] The controller is used to control the analog switch circuit to switch between a first operating state and a second operating state. In the first operating state, the first and second terminals of the switching switch are turned on, and the programmable filter operates in high-pass filtering or band-pass filtering mode. In the second operating state, the first and third terminals of the switching switch are turned on, and the programmable filter operates in low-pass filtering mode.
[0012] In a second aspect, embodiments of this application provide a method for controlling an analog switching circuit, the method being applied to the analog switching circuit as described in the first aspect, the method comprising:
[0013] According to the signal type at the signal input terminal, the analog switch circuit is controlled to switch between a first working state and a second working state. In the first working state, the first and second terminals of the switching switch are turned on, and the programmable filter operates in high-pass filtering or band-pass filtering mode. In the second working state, the first and third terminals of the switching switch are turned on, and the programmable filter operates in low-pass filtering mode.
[0014] Thirdly, embodiments of this application provide an electronic device that includes the analog switch circuit described in the first aspect.
[0015] This application provides an analog switch circuit, comprising: a digital signal input terminal and an analog signal input terminal, a switching switch, a programmable filter, a controller, and a signal output terminal. The first terminal of the programmable filter is connected to the signal output terminal, and the second terminal of the programmable filter is connected to the first terminal of the switching switch. The second terminal of the switching switch is connected to the digital signal input terminal, and the third terminal of the switching switch is connected to the analog signal input terminal. The first terminal of the controller is connected to the programmable filter, and the second terminal of the controller is connected to the switching switch. The controller controls the analog switch circuit to switch between a first operating state and a second operating state. In the first operating state, the first and second terminals of the switching switch are turned on, and the programmable filter operates in high-pass or band-pass filtering mode. In the second operating state, the first and third terminals of the switching switch are turned on, and the programmable filter operates in low-pass filtering mode. This allows for switching the filtering circuit according to the actual transmitted signal without the need for external noise reduction circuitry, satisfying signal quality requirements under various modes, while simultaneously improving the electromagnetic compatibility performance of the analog switch. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the structure of an analog switching circuit provided in an embodiment of this application;
[0017] Figure 2This is a schematic diagram of another analog switching circuit provided in an embodiment of this application;
[0018] Figure 3 This is a schematic diagram of another analog switching circuit provided in an embodiment of this application;
[0019] Figure 4 This is a schematic flowchart of a method for controlling an analog switch circuit provided in an embodiment of this application;
[0020] Figure 5 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0021] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0022] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0023] The impedance testing device, method, and electronic equipment provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0024] Figure 1 An analog switching circuit provided in an embodiment of this application is shown, such as... Figure 1As shown, the analog switch circuit 10 includes: a digital signal input terminal and an analog signal input terminal, a switching switch 12, a programmable filter 11, a controller 13, and a signal output terminal, wherein: the first terminal of the programmable filter 11 is connected to the signal output terminal, and the second terminal of the programmable filter 11 is connected to the first terminal of the switching switch 12; the second terminal of the switching switch 12 is connected to the digital signal input terminal, and the third terminal of the switching switch 12 is connected to the analog signal input terminal; the first terminal of the controller 13 is connected to the programmable filter, and the second terminal of the controller 13 is connected to the switching switch; the controller 13 is used to control the analog switch circuit 10 to switch between a first operating state and a second operating state. In the first operating state, the first and second terminals of the switching switch 12 are turned on, and the programmable filter 11 operates in high-pass filtering or band-pass filtering mode; in the second operating state, the first and third terminals of the switching switch 12 are turned on, and the programmable filter 11 operates in low-pass filtering mode.
[0025] The digital signal input terminal is generally connected to an application processor (AP) chip in an electronic device, and the analog signal input terminal is generally connected to an integrated circuit (IC) chip, thereby enabling the digital signal input terminal to input digital signals and the analog signal input terminal to input analog signals.
[0026] The signal output terminal can be connected to a USB interface, a Type-C interface, or other interfaces. This interface integrates functions such as charging, data transmission, and audio-visual transmission. In addition to supporting conventional USB digital communication, it can also transmit audio-visual signals and be expanded into various audio and video output interfaces, such as HDMI, VGA, DVI, analog headphone, and digital headphone interfaces. When this interface realizes the switching between digital and analog signals, it is essential to use an analog switch, and the corresponding analog switch needs to be able to handle both digital and analog signals.
[0027] In this embodiment, the first and second terminals of the switch are connected, and the programmable filter operates in high-pass or band-pass filtering mode. For example, when the Type-C interface is plugged into a computer's USB or other digital interface, digital signal transmission is achieved. Alternatively, the first and third terminals of the switch are connected, and the programmable filter operates in low-pass filtering mode. For example, when an analog headset is plugged into the Type-C interface, the audio signal downstream from the audio IC passes normally, and the low-frequency sound signal upstream from the analog headset also passes normally. The radio frequency signal radiated by the headset or the high-frequency switching signal in the electronic device is effectively blocked by the low-pass filter.
[0028] This application provides an analog switch circuit that integrates a programmable filter internally and controls the programmable filter to operate in a target mode via a controller. The target mode includes one of low-pass filtering, high-pass filtering, and band-pass filtering. This eliminates the need for external noise reduction circuits, allowing the switching of the filtering circuit according to the actual transmitted signal to meet signal quality requirements in various modes and improve the electromagnetic compatibility performance of the analog switch.
[0029] This application provides an analog switch circuit, comprising: a digital signal input terminal and an analog signal input terminal, a switching switch, a programmable filter, a controller, and a signal output terminal. The first terminal of the programmable filter is connected to the signal output terminal, and the second terminal of the programmable filter is connected to the first terminal of the switching switch. The second terminal of the switching switch is connected to the digital signal input terminal, and the third terminal of the switching switch is connected to the analog signal input terminal. The first terminal of the controller is connected to the programmable filter, and the second terminal of the controller is connected to the switching switch. The controller controls the analog switch circuit to switch between a first operating state and a second operating state. In the first operating state, the first and second terminals of the switching switch are turned on, and the programmable filter operates in high-pass or band-pass filtering mode. In the second operating state, the first and third terminals of the switching switch are turned on, and the programmable filter operates in low-pass filtering mode. This allows for switching the filtering circuit according to the actual transmitted signal without the need for external noise reduction circuitry, satisfying signal quality requirements under various modes, while simultaneously improving the electromagnetic compatibility performance of the analog switch.
[0030] In one implementation, the circuit further includes:
[0031] A register, which is connected to the controller;
[0032] The controller is further configured to perform write operations to the register according to the signal type at the signal input terminal, wherein different signal types correspond to different write data.
[0033] In one implementation, the controller is configured to:
[0034] The analog switch circuit is controlled to switch between a first operating state and a second operating state based on the data read from the register.
[0035] In one implementation, the controller is configured to:
[0036] The analog switch circuit is controlled to switch between a first operating state and a second operating state based on the data read from the register.
[0037] In one implementation, the number of programmable filters and the number of switching switches are n, wherein one programmable filter is connected to one switching switch, and n is an integer greater than 1.
[0038] Specifically, such as Figure 2 As shown, the analog switch circuit 10 includes two programmable filters 111 and 112, and two switching switches 121 and 122. The first terminal of the controller 13 is connected to both programmable filters 111 and 112, and the second terminal of the controller 13 is connected to both switching switches 121 and 122. The second terminal of switching switch 121 is connected to one digital signal input terminal of the AP chip, and the third terminal of switching switch 121 is connected to one analog signal input terminal of the IC chip. The second terminal of switching switch 122 is connected to the other digital signal input terminal of the AP chip, and the third terminal of switching switch 122 is connected to the other analog signal input terminal of the IC chip. The first terminal of programmable filter 111 is connected to one signal output terminal of the Type-C interface, and the second terminal of programmable filter 111 is connected to the first terminal of switching switch 121. The first terminal of programmable filter 112 is connected to the other signal output terminal of the Type-C interface, and the second terminal of programmable filter 112 is connected to the first terminal of switching switch 122.
[0039] Under the control of the controller 13, the analog switch circuit 10 switches between a first operating state and a second operating state. In the first operating state, the first and second terminals of the switching switch 121 and the first and second terminals of the switching switch 122 are turned on, and the programmable filter 111 and the programmable filter 112 operate simultaneously in high-pass filtering or band-pass filtering mode. In the second operating state, the first and third terminals of the switching switch 121 and the first and third terminals of the switching switch 122 are turned on, and the programmable filter 111 and the programmable filter 112 operate simultaneously in low-pass filtering mode.
[0040] In one implementation, Figure 3 This application illustrates another analog switching circuit provided in an embodiment, such as... Figure 3As shown, the analog switch circuit 20 includes: differential digital signal input terminals IN1_P / IN1_N, differential analog signal input terminals IN2_P / IN2_N, and single-ended analog signal input terminals IN3 and IN4; three programmable filters 211, 212, and 213; and three sets of switching switches 221, 222, and 223. The two second terminals of the switching switch 221 are respectively connected to the two differential digital signal input terminals IN1_P / IN1_N of the AP chip; the two third terminals of the switching switch 221 are respectively connected to the two differential analog signal input terminals IN2_P / IN2_N of the IC chip; the two first terminals of the programmable filter 211 are respectively connected to the two differential signal output terminals Out1_P and Out1_N of the Type-C interface; and the second terminal of the programmable filter 211 is connected to the first terminal of the switching switch 221. The first terminal of the switching switch 222 is connected to the single-ended analog signal input terminal IN3. The IC chip is connected to the switching switch 223. The first terminal of the switching switch 223 is connected to the IC chip through the single-ended analog signal input terminal IN4. The second or third terminal of the switching switch 222 is connected to the first terminal of the programmable filter 212. The second or third terminal of the switching switch 223 is connected to the first terminal of the programmable filter 213. The second and third terminals of the programmable filter 212 are respectively connected to the two differential signal output terminals Out2_P and Out2_N of the Type-C interface. The second and third terminals of the programmable filter 213 are respectively connected to the other two differential signal output terminals Out3_P and Out3_N of the Type-C interface. The analog switch circuit 20 also includes a controller 23 and a register 24. The register 24 is connected to the controller 23. The controller 23 is used to perform write operations to the register 24 according to the signal type of the signal input terminal. Different signal types correspond to different write data.
[0041] In one implementation, the controller controls the programmable filter to operate in a target mode, including:
[0042] Based on the data read from the register, multiple programmable filters are controlled to operate simultaneously in the target mode.
[0043] Figure 3 Switches 222 and 223 differ from switch 221 in that they are not connected to the AP chip, but only to the audio IC chip. Therefore, these two switches do not need to switch between digital and analog signals. The two programmable filters 212 and 213 connected to them can be controlled independently or in conjunction with programmable filter 211. Their specific control principle is the same as described above. Figures 1 to 2The principles in the embodiments are the same and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0044] It should be noted that the input and output terminals in this embodiment are relative. When one is an input terminal, the other is an output terminal, and vice versa. For example, the differential signal input terminals IN1_P / IN1_N and the differential signal output terminals Out1_P / Out1_N mentioned above indicate that the signal flows from the chip to the outside. When a signal flows from the outside to the chip through the Type-C interface, the original differential signal output terminal Out1_P / Out1_N becomes the signal input terminal, and the original differential signal input terminal IN1_P / IN1_N becomes the signal output terminal. In addition, the signal can be differential input and differential output, differential input and single-ended output, or single-ended input and differential output. It can be designed according to specific circumstances and is not limited here.
[0045] This application provides an analog switch circuit comprising a digital signal input terminal, an analog signal input terminal, a switching switch, a programmable filter, a controller, and a signal output terminal. Specifically: a first terminal of the programmable filter is connected to the signal output terminal, and a second terminal of the programmable filter is connected to the first terminal of the switching switch; the second terminal of the switching switch is connected to the digital signal input terminal, and a third terminal of the switching switch is connected to the analog signal input terminal; a first terminal of the controller is connected to the programmable filter, and a second terminal of the controller is connected to the switching switch; the controller controls the analog switch circuit to switch between a first operating state and a second operating state. In the first operating state, the first and second terminals of the switching switch are turned on, and the programmable filter operates in high-pass or band-pass filtering mode; in the second operating state… In the first and third terminals of the switching switch are turned on, and the programmable filter operates in low-pass filtering mode. A register is connected to the controller. The controller is used to perform write operations to the register according to the signal type of the signal input terminal, where different signal types correspond to different write data. The controller is used to control the analog switch circuit to switch between a first operating state and a second operating state based on the data read from the register. The number of programmable filters and the number of switching switches are n, where one programmable filter is connected to one switching switch, and n is an integer greater than 1. Multiple switching switches can be controlled in a coordinated manner. Multiple programmable filters switch filtering circuits according to the actual transmitted signal to meet signal quality requirements in various modes, while improving the electromagnetic compatibility performance of the analog switch.
[0046] This application also provides a method for controlling an analog switch circuit. The method for controlling an analog switch circuit provided by this application is described below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0047] Figure 4 This application illustrates a method for controlling an analog switch circuit according to an embodiment of the present application. This method is applied to the above-mentioned... Figures 1 to 3 The aforementioned analog switch circuit. For example... Figure 4 As shown, the method includes the following steps:
[0048] S301: Based on the signal type at the signal input terminal, control the analog switch circuit to switch between a first working state and a second working state. In the first working state, the first and second terminals of the switching switch are turned on, and the programmable filter operates in high-pass filtering or band-pass filtering mode. In the second working state, the first and third terminals of the switching switch are turned on, and the programmable filter operates in low-pass filtering mode.
[0049] This application provides a method for controlling an analog switch circuit. By controlling the analog switch circuit to switch between a first operating state and a second operating state according to the signal type at the signal input terminal, in the first operating state, the first and second terminals of the switching switch are turned on and the programmable filter operates in high-pass or band-pass filtering mode. In the second operating state, the first and third terminals of the switching switch are turned on and the programmable filter operates in low-pass filtering mode. This method can realize the switching of the filtering circuit according to the actual transmitted signal, meet the signal quality requirements of various modes, and improve the electromagnetic compatibility performance of the analog switch.
[0050] In one implementation, controlling the analog switch circuit to switch between a first operating state and a second operating state based on the signal type at the signal input terminal includes:
[0051] When the signal type at the signal input terminal is a digital signal, the first terminal and the second terminal of the switching switch are turned on, and the programmable filter is controlled to work in high-pass filtering or band-pass filtering mode.
[0052] When the signal type at the signal input terminal is an analog signal, the first and third terminals of the switching switch are turned on, and the programmable filter is controlled to operate in low-pass filtering mode.
[0053] In one implementation, controlling the analog switch circuit to switch between a first operating state and a second operating state based on the signal type at the signal input terminal includes:
[0054] The analog switch circuit is controlled to switch between a first operating state and a second operating state based on the data read from the register.
[0055] In one implementation, before controlling the analog switching circuit to switch between a first operating state and a second operating state according to the signal type at the signal input terminal, the method further includes:
[0056] Write operations are performed on the register according to the signal type at the signal input terminal, where different signal types correspond to different write data.
[0057] It should be noted that the method for controlling an analog switch circuit provided in this application has the same inventive concept as the analog switch circuit described above, and can achieve the same technical effect. The specific execution steps of the method for controlling the analog switch circuit described above can be found in the functional description of each module of the analog switch circuit, and will not be repeated here.
[0058] It should also be noted that the method for controlling the analog switch circuit provided in this application embodiment is executed by the aforementioned analog switch circuit, or more specifically, by the controller in the analog switch circuit.
[0059] Optionally, embodiments of this application also provide an electronic device, including as follows: Figures 1 to 3 The analog switch circuit described above, or the implementation of such... Figure 4 The various processes of the method embodiment for controlling the analog switch circuit described herein can achieve the same technical effect, and will not be repeated here to avoid repetition.
[0060] More specifically, Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0061] The electronic device 400 includes, but is not limited to, components such as: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 404, interface unit 408, memory 409, and processor 410.
[0062] The audio output unit 403, display unit 406, or interface unit 408 includes, for example: Figures 1 to 3The analog switch circuit, processor 410, is used to: control the analog switch circuit to switch between a first operating state and a second operating state according to the signal type at the signal input terminal. In the first operating state, the first and second terminals of the switching switch are turned on, and the programmable filter operates in high-pass or band-pass filtering mode. In the second operating state, the first and third terminals of the switching switch are turned on, and the programmable filter operates in low-pass filtering mode. Without configuring an external noise reduction circuit, the filtering circuit can be switched according to the actual transmitted signal to meet the signal quality requirements under various modes, while improving the electromagnetic compatibility performance of the analog switch.
[0063] Those skilled in the art will understand that the electronic device 400 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 410 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0064] It should be understood that, in this embodiment, the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The GPU 4041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 404 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here. The memory 409 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understandable that the aforementioned modem processor may not be integrated into the processor 410.
[0065] It should also 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, method, 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, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0066] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of 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 computer 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 (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0067] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. An analog switch circuit, characterized by, The circuit includes: The system includes digital signal input terminals, analog signal input terminals, switching switches, programmable filters, controllers, signal output terminals, and registers, among which: The first end of the programmable filter is connected to the signal output end, and the second end of the programmable filter is connected to the first end of the switching switch. The second end of the switch is connected to the digital signal input terminal, and the third end of the switch is connected to the analog signal input terminal. The first terminal of the controller is connected to the programmable filter, and the second terminal of the controller is connected to the switching switch; The controller is used to control the analog switch circuit to switch between a first working state and a second working state. In the first working state, the first and second terminals of the switching switch are turned on and the programmable filter operates in high-pass filtering or band-pass filtering mode. In the second working state, the first and third terminals of the switching switch are turned on and the programmable filter operates in low-pass filtering mode. The register is connected to the controller; The controller is further configured to perform a write operation to the register according to the signal type at the signal input terminal, wherein different signal types correspond to different write data; and The analog switch circuit is controlled to switch between a first operating state and a second operating state based on the data read from the register.
2. The circuit of claim 1, wherein, The number of programmable filters and the number of switching switches are n, wherein one programmable filter is connected to one switching switch, and n is an integer greater than 1.
3. A method of controlling an analog switch circuit, characterized by, The method is applied to the analog switching circuit as described in any one of claims 1 to 2, and the method includes: According to the signal type at the signal input terminal, the analog switch circuit is controlled to switch between a first working state and a second working state. In the first working state, the first and second terminals of the switching switch are turned on, and the programmable filter operates in high-pass filtering or band-pass filtering mode. In the second working state, the first and third terminals of the switching switch are turned on, and the programmable filter operates in low-pass filtering mode.
4. The method according to claim 3, characterized in that, The step of controlling the analog switch circuit to switch between a first operating state and a second operating state according to the signal type at the signal input terminal includes: When the signal type at the signal input terminal is a digital signal, the first terminal and the second terminal of the switching switch are turned on, and the programmable filter is controlled to work in high-pass filtering or band-pass filtering mode. When the signal type at the signal input terminal is an analog signal, the first and third terminals of the switching switch are turned on, and the programmable filter is controlled to operate in low-pass filtering mode.
5. The method according to claim 3, characterized in that, The step of controlling the analog switch circuit to switch between a first operating state and a second operating state according to the signal type at the signal input terminal includes: Based on the data read from the register, the analog switch circuit is controlled to switch between a first operating state and a second operating state.
6. The method according to claim 5, characterized in that, Before controlling the analog switching circuit to switch between a first operating state and a second operating state according to the signal type at the signal input terminal, the method further includes: Write operations are performed on the register according to the signal type at the signal input terminal, where different signal types correspond to different write data.
7. An electronic device, characterized in that, Includes the analog switching circuit as described in any one of claims 1-2.
Citation Information
Patent Citations
The multi-mode can dispose the wave filter
CN204517770U
Control circuit and method, and electronic device
WO2022078385A1
