Analog front end circuit and smoke alarm

By combining the design of luminescence, photosensitive, amplification, filtering and integration modules in the analog front-end circuit, the problem of ambient light interference is solved, and the accuracy and stability of smoke detection are improved.

CN115083097BActive Publication Date: 2024-11-08PINGJIE ELECTRONIC TECHNOLOGY (JIANGSU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210648196.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-09
Publication Date
2024-11-08
Estimated Expiration
2042-06-09

AI Technical Summary

Technical Problem

Ambient light causes interference and damage to the simulated front-end circuit, affecting the smoke detection capability.

Method used

An analog front-end circuit is designed, including a light emitting module, a photosensitive module, an amplification module, a filtering module and an integral module. By generating detection light signals, collecting ambient light signals, amplifying processing, filtering, and removing ambient electrical signals through positive and negative phases. The phase sequence integrates the DC signal to eliminate interference.

Benefits of technology

It effectively eliminates the interference of ambient light on the simulated front-end circuit, improves the accuracy and stability of smoke detection, and protects the circuit from the damage of high-intensity ambient light.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115083097B_ABST
    Figure CN115083097B_ABST
Patent Text Reader

Abstract

The present invention relates to an analog front-end circuit and a smoke alarm. The analog front-end circuit includes: a light-emitting module for generating a detection light signal; a photosensitive module for collecting an ambient light signal and a detection light signal, and converting the collected light signal into a photocurrent signal; the photocurrent signal includes an ambient electrical signal and a detection electrical signal; an amplifying module connected to the photosensitive module, and the amplifying module is used to amplify the photocurrent signal when the light intensity of the ambient light signal is less than a preset threshold value, so as to output a voltage signal; a filtering module connected to the amplifying module, and is used to filter the voltage signal amplified by the amplifying module to remove the ambient electrical signal; an integrating module connected to the filtering module, and is used to perform positive phase sequence integration and negative phase sequence integration on the voltage signal after filtering, so as to filter out the interference signals generated by the amplifying module, the filtering module and the integrating module, and output a direct current signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of integrated circuits, and in particular to an analog front-end circuit and a smoke alarm. Background Art

[0002] Smoke alarms are widely used in fire detection and play an extremely important role in early identification and alarm of fires. Their application scenarios include but are not limited to electric vehicle battery smoke alarms and indoor smoke alarms. As the core unit of smoke alarms, photoelectric measurement chips mainly include drivers, AFE (analog front end circuit), ADC (analog-to-digital converter) and digital processing units.

[0003] However, since ambient light can cause modulation interference to the analog front-end circuit, its ability to detect smoke is affected, and when the ambient light intensity is too high, it can also damage the analog front-end circuit. Summary of the invention

[0004] Based on this, it is necessary to provide an analog front-end circuit and a smoke alarm to address the above problems, so as to eliminate the interference of ambient light on the analog front-end circuit and the damage to the analog front-end circuit caused by excessive ambient light intensity.

[0005] In order to achieve the above object, the present invention provides an analog front-end circuit, comprising:

[0006] A light emitting module, used for generating a detection light signal;

[0007] A photosensitive module, used for collecting ambient light signals and the detection light signals, and converting the collected light signals into photocurrent signals; the photocurrent signals include ambient electrical signals and detection electrical signals;

[0008] an amplification module, connected to the photosensitive module, and used to amplify the photocurrent signal to output a voltage signal;

[0009] A filtering module, connected to the amplifying module, and configured to filter the voltage signal amplified by the amplifying module to remove the environmental electrical signal;

[0010] The integration module is connected to the filtering module and is used to perform positive phase sequence integration and negative phase sequence integration on the voltage signal after filtering to filter out interference signals generated by the amplification module, the filtering module and the integration module, and output a direct current signal.

[0011] In one of the embodiments, the analog front end circuit is configured with a first operating mode and a second operating mode;

[0012] When the amplification module operates in the first operating mode, it is used to detect the light intensity of the ambient light signal;

[0013] When the amplification module operates in the second operation mode, it is used to amplify the photocurrent signal to output a voltage signal;

[0014] Wherein, in the first working mode, the light emitting module stops generating the detection light signal.

[0015] In one embodiment, the amplification module comprises:

[0016] A transimpedance amplifier, used for amplifying the photocurrent signal;

[0017] A gain adjustment unit is connected to the transimpedance amplifier and is used to adjust the amplification gain of the transimpedance amplifier.

[0018] In one of the embodiments, when the amplification module operates in the second operation mode, the amplification module is further configured to reduce an amplification gain for amplifying the photocurrent signal when the light intensity of the ambient light signal exceeds a preset threshold.

[0019] In one embodiment, the filtering module includes:

[0020] Bandpass filter;

[0021] A filtering auxiliary unit is connected to the bandpass filter.

[0022] In one embodiment, the analog front end circuit further includes:

[0023] The first switch module is connected to the filter module and is used to short-circuit the filter module when the amplification module operates in the first operation mode.

[0024] In one embodiment, the integration module includes:

[0025] an integrator, used to integrate the voltage signal after filtering by the filtering module;

[0026] A first switch unit, connected to the integrator;

[0027] A second switch unit, connected to the integrator and the first switch unit respectively;

[0028] an input resistance unit, connected to the first switch unit and the second switch unit respectively;

[0029] a first capacitor, wherein a first end of the first capacitor is connected to the first switch unit, the second switch unit and a positive input end of the integrator respectively, and a second end of the first capacitor is connected to a positive output end of the integrator;

[0030] a second capacitor, wherein a first end of the second capacitor is connected to the first switch unit, the second switch unit and the inverting input end of the integrator respectively, and a second end of the second capacitor is connected to the inverting output end of the integrator;

[0031] Among them, when the first switch unit is in the on state and the second switch unit is in the off state, the integration module is used to perform a positive phase sequence integration on the voltage signal after filtering; when the second switch unit is in the on state and the first switch unit is in the off state, the integration module is used to perform a negative phase sequence integration on the voltage signal after filtering.

[0032] In one embodiment, the positive phase sequence integration and the negative phase sequence integration are performed alternately; the integral corresponding to the direct current signal output by the integration module is equal to the difference between the positive phase sequence integral and the negative phase sequence integral.

[0033] In one embodiment, the analog front end circuit further includes:

[0034] A second switch module is connected to the integration module; when the second switch module is in an off state, the integrator is in an integration mode, and the first capacitor and the second capacitor are both fully charged; when the second switch module is in an on state, the integrator is in a buffer mode, and the first capacitor and the second capacitor both release charges.

[0035] The present invention also provides a smoke alarm, comprising: an analog front-end circuit, an analog-to-digital conversion circuit, a processing module and an alarm module as in any of the above solutions;

[0036] The analog-to-digital conversion circuit is connected to the analog front-end circuit and is used to convert the electrical signal output by the analog front-end circuit into a digital signal;

[0037] The processing module is connected to the analog-to-digital conversion circuit, and is used to judge the digital signal converted by the analog-to-digital conversion circuit, and send an alarm instruction to the alarm module when the digital signal is abnormal;

[0038] The alarm module is connected to the processing module and is used to send out an alarm signal when receiving the alarm instruction sent by the processing module; the alarm signal is at least one of a sound signal, an indicator light signal, a text signal and an image signal.

[0039] The smoke alarm of the present invention comprises the analog front-end circuit described in any one of the above solutions. Its beneficial effects can refer to the beneficial effects of the analog front-end circuit, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 is a schematic diagram of the structure of an analog front-end circuit provided in an embodiment;

[0042] Figure 2 It is a structural schematic diagram of an amplification module in an analog front-end circuit provided in an embodiment;

[0043] Figure 3 It is a structural schematic diagram of a filtering module in an analog front-end circuit provided in an embodiment;

[0044] Figure 4 It is a structural schematic diagram of a first switch module and a filter module in an analog front-end circuit provided in an embodiment;

[0045] Figure 5 It is a schematic diagram of the structure of an integration module in an analog front-end circuit provided in an embodiment;

[0046] Figure 6 It is a schematic structural diagram of an integration module in an analog front-end circuit provided in another embodiment;

[0047] Figure 7 The waveform of the signal output by the photosensitive module, the filtering module and the integration module when the amplification module in the analog front-end circuit provided in another embodiment works in the second working mode;

[0048] Figure 8 It is a structural schematic diagram of a second switch module and an integration module in an analog front-end circuit provided in an embodiment;

[0049] Fig. 9 It is a schematic structural diagram of an integration module in an analog front-end circuit provided in another embodiment;

[0050] Fig.10 A schematic diagram of the structure of an analog front-end circuit provided in another embodiment;

[0051] Fig.11 Schematic diagram of the structure of a smoke alarm provided in one embodiment.

[0052] Description of reference numerals:

[0053] 1. Light-emitting module; 2. Photosensitive module; 3. Amplifying module; 4. Filtering module; 5. Integrating module; 51. First switch unit; 52. Second switch unit; 53. Input resistance unit; 6. First switch module; 7. Second switch module; 100. Analog front-end circuit; 200. Analog-to-digital conversion circuit; 300. Processing module; 400. Alarm module. DETAILED DESCRIPTION

[0054] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present application are given in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0056] It should be understood that when an element or layer is referred to as being "on, adjacent to, connected to or coupled to other elements or layers, it may be directly on, adjacent to, connected to or coupled to other elements or layers, or there may be intervening elements or layers. On the contrary, when an element is referred to as being "directly on, directly adjacent to, directly connected to or directly coupled to other elements or layers, there are no intervening elements or layers. It should be understood that although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers, doping types and / or parts, these elements, components, regions, layers, doping types and / or parts should not be limited by these terms. These terms are merely used to distinguish one element, component, region, layer, doping type or part from another element, component, region, layer, doping type or part. Therefore, without departing from the teachings of the present invention, the first element, component, region, layer, doping type or portion discussed below may be represented as a second element, component, region, layer or portion; for example, the first doping type may be referred to as the second doping type, and similarly, the second doping type may be referred to as the first doping type; the first doping type and the second doping type are different doping types, for example, the first doping type may be P-type and the second doping type may be N-type, or the first doping type may be N-type and the second doping type may be P-type.

[0057] Spatially relative terms such as "under," "beneath," "below," "under," "above," "above," and the like may be used herein to describe the relationship of an element or feature shown in the figures to other elements or features. It should be understood that, in addition to the orientations shown in the figures, spatially relative terms also include different orientations of the device in use and operation. For example, if the device in the accompanying drawings is flipped, an element or feature described as "under other elements" or "under it" or "under it" will be oriented as being "above" the other elements or features. Thus, the exemplary terms "under" and "under" may include both upper and lower orientations. In addition, the device may also include additional orientations (e.g., rotated 90 degrees or other orientations), and the spatial descriptors used herein are interpreted accordingly.

[0058] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that when the terms "consisting of" and / or "comprising" are used in this specification, the presence of the features, integers, steps, operations, elements and / or parts can be determined, but the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups is not excluded. At the same time, when used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0059] Smoke alarms are widely used in fire detection and play an extremely important role in early identification and alarm of fires. Their application scenarios include but are not limited to electric vehicle battery smoke alarms and indoor smoke alarms. As the core unit of smoke alarms, photoelectric measurement chips mainly include drivers, AFE (analog front end circuit), ADC (analog-to-digital converter) and digital processing units.

[0060] However, since ambient light can cause modulation interference to the analog front-end circuit, its ability to detect smoke is affected, and when the ambient light intensity is too high, it can also damage the analog front-end circuit.

[0061] Based on this, it is necessary to provide an analog front-end circuit and a smoke alarm to address the above problems, so as to eliminate the interference of ambient light on the analog front-end circuit and the damage to the analog front-end circuit caused by excessive ambient light intensity.

[0062] In order to achieve the above object, the present invention provides an analog front-end circuit, such as Figure 1As shown, the analog front-end circuit includes: a light-emitting module 1, a photosensitive module 2, an amplifying module 3, a filtering module 4 and an integrating module 5; the light-emitting module 1 is used to generate a detection light signal; the photosensitive module 2 is used to collect ambient light signals and detection light signals, and convert the collected light signals into photocurrent signals; the photocurrent signal includes an ambient electrical signal and a detection electrical signal; the amplifying module 3 is connected to the photosensitive module 2, and the amplifying module 3 is used to amplify the photocurrent signal to output a voltage signal; the filtering module 4 is connected to the amplifying module 3, and is used to filter the voltage signal amplified by the amplifying module 3 to remove the ambient electrical signal; the integrating module 5 is connected to the filtering module 4, and is used to perform positive phase sequence integration and negative phase sequence integration on the filtered voltage signal to filter out the interference signals generated by the amplifying module 3, the filtering module 4 and the integrating module 5, and output a DC signal.

[0063] The analog front-end circuit in the above example generates a detection light signal through the light-emitting module 1, collects the ambient light signal and the detection light signal through the photosensitive module 2, and converts the collected light signal into a photocurrent signal. The photocurrent signal includes the ambient electrical signal and the detection electrical signal. The photocurrent signal is amplified and processed by the amplification module 3 and converted into a voltage signal. When the voltage signal passes through the filtering module 4, the voltage signal corresponding to the ambient electrical signal is filtered out, thereby achieving the purpose of eliminating the influence of ambient light. In addition, the integration module 5 can eliminate and reduce the noise of the interference signals generated by the amplification module 3, the filtering module 4 and the integration module 5 itself, so as to reduce the influence of the interference signal on the circuit and ensure the accuracy of data processing.

[0064] In one embodiment, the analog front-end circuit can be configured with a first working mode and a second working mode; when the amplification module 3 works in the first working mode, it is used to detect the light intensity of the ambient light signal; when the amplification module 3 works in the second working mode, it is used to amplify the photocurrent signal to output a voltage signal; wherein, in the first working mode, the light-emitting module 1 stops producing the detection light signal.

[0065] Specifically, when the amplifying module 3 operates in the first operating mode, the light-emitting module 1 stops generating the detection light signal. The amplifying module 3 is used to detect whether the intensity of the ambient light is too high, and timely adjusts its own amplification gain when the intensity of the ambient light is too high to protect the circuit.

[0066] In one embodiment, the amplification module 3 may include: a transimpedance amplifier TIA and a gain adjustment unit; the transimpedance amplifier TIA is used to amplify the photocurrent signal; the gain adjustment unit is connected to the transimpedance amplifier TIA and is used to adjust the amplification gain of the transimpedance amplifier TIA.

[0067] Specifically, when the amplifier module 3 is working in the first working mode, if it is detected that the intensity of the ambient light signal is too high, the damage of the ambient light to the analog front-end circuit can be reduced by adjusting its own gain; when the amplifier module 3 is working in the second working mode, when the intensity of the ambient light signal is less than a preset threshold, the amplification gain of the amplification module 3 should also be controlled within a reasonable range to avoid damage to the circuit due to excessive signal strength caused by excessive amplification.

[0068] In one embodiment, when the amplifying module 3 operates in the second operating mode, it is also used to reduce the amplification gain of the photocurrent signal when the light intensity of the ambient light signal exceeds a preset threshold.

[0069] In one embodiment, Figure 2 As shown, the gain adjustment unit may include: a third capacitor C3, a first variable resistor VR1, a fourth capacitor C4 and a second variable resistor VR2; the first end of the third capacitor C3 is connected to the positive input end of the transimpedance amplifier TIA, and the second end of the third capacitor C3 is connected to the positive output end of the transimpedance amplifier TIA; the first end of the first variable resistor VR1 is connected to the first end of the third capacitor C3 and the positive input end of the transimpedance amplifier TIA respectively, and the second end of the first variable resistor VR1 is connected to the second end of the third capacitor C3 and the positive output end of the transimpedance amplifier TIA; the first end of the fourth capacitor C4 is connected to the reverse input end of the transimpedance amplifier TIA, and the second end of the fourth capacitor C4 is connected to the reverse output end of the transimpedance amplifier TIA; the first end of the second variable resistor VR2 is connected to the first end of the fourth capacitor C4 and the reverse input end of the transimpedance amplifier TIA respectively, and the second end of the second variable resistor VR2 is connected to the second end of the fourth capacitor C4 and the reverse output end of the transimpedance amplifier TIA. When the light intensity of the ambient light signal exceeds a preset threshold, the function of adjusting the amplification gain of the photocurrent signal can be realized through the third capacitor C3, the first variable resistor VR1, the fourth capacitor C4 and the second variable resistor VR2.

[0070] In one embodiment, the transimpedance amplifier TIA may be, but is not limited to, a fully differential transimpedance amplifier.

[0071] In one embodiment, the filtering module 4 includes: a bandpass filter BPF and a filtering auxiliary unit; the filtering auxiliary unit is connected to the bandpass filter BPF.

[0072] In one embodiment, the bandpass filter BPF may be, but is not limited to, a fully differential bandpass filter.

[0073] In one embodiment, Figure 3As shown, the filtering auxiliary unit may include: a fifth capacitor C5, a first resistor R1, a sixth capacitor C6, a second resistor R2, a seventh capacitor C7, a third resistor R3, an eighth capacitor C8, a fourth resistor R4 and a ninth capacitor C9; a first end of the first resistor R1 is connected to a second end of the fifth capacitor C5, and a second end of the first resistor R1 is connected to a positive input end of the band-pass filter BPF; a first end of the sixth capacitor C6 is connected to a second end of the first resistor R1 and a positive input end of the band-pass filter BPF, respectively, and a second end of the sixth capacitor C6 is connected to a positive output end of the band-pass filter BPF; a first end of the second resistor R2 is connected to a second end of the first resistor R1, a positive input end of the band-pass filter BPF and a first end of the sixth capacitor C6, respectively, and a second end of the second resistor R2 is connected to a positive output end of the band-pass filter BPF and a second end of the sixth capacitor C6, respectively; a first end of the third resistor R3 is connected to The second end of the seventh capacitor C7 is connected, and the second end of the third resistor R3 is connected to the inverting input end of the band-pass filter BPF; the first end of the eighth capacitor C8 is connected to the second end of the third resistor R3 and the reverse input end of the band-pass filter BPF, respectively, and the second end of the eighth capacitor C8 is connected to the reverse output end of the band-pass filter BPF; the first end of the fourth resistor R4 is connected to the second end of the third resistor R3, the reverse input end of the band-pass filter BPF and the first end of the eighth capacitor C8, respectively; the second end of the fourth resistor R4 is connected to the reverse output end of the band-pass filter BPF and the second end of the eighth capacitor C8, respectively; the first end of the ninth capacitor C9 is connected to the forward output end of the band-pass filter BPF, the second end of the sixth capacitor C6 and the second end of the second resistor R2, respectively, and the second end of the ninth capacitor C9 is connected to the reverse output end of the band-pass filter BPF, the second end of the eighth capacitor C8 and the second end of the fourth resistor R4, respectively.

[0074] In one embodiment, the analog front-end circuit further includes a first switch module, which is connected to the filter module 4 and is used to short-circuit the filter module 4 when the amplification module 3 operates in the first operation mode.

[0075] In one embodiment, Figure 4 As shown, the first switch module includes: a fifth switch K5 and a sixth switch K6; a first end of the fifth switch K5 is connected to a first end of a fifth capacitor C5, and a second end of the fifth switch K5 is respectively connected to a positive output end of the band-pass filter BPF, a second end of the sixth capacitor C6, a second end of the second resistor R2, and a first end of the ninth capacitor C9; a first end of the sixth switch K6 is connected to a first end of the seventh capacitor C7, and a second end of the sixth switch K6 is respectively connected to a reverse output end of the band-pass filter BPF, a second end of the eighth capacitor C8, a second end of the fourth resistor R4, and a second end of the ninth capacitor C9.

[0076] In one embodiment, Figure 5 As shown, the integration module 5 includes: an integrator INT, a first switch unit 51, a second switch unit 52, an input resistance unit 53, a first capacitor C1 and a second capacitor C2; the integrator INT is used to integrate the voltage signal after filtering by the filtering module 4; the first switch unit 51 is connected to the integrator INT; the second switch unit 52 is connected to the integrator INT and the first switch unit 51 respectively; the input resistance unit 53 is connected to the first switch unit 51 and the second switch unit 52 respectively; the first end of the first capacitor C1 is connected to the first switch unit 51, the second switch unit 52 and the positive input end of the integrator INT respectively, The second end of the first capacitor C1 is connected to the positive output end of the integrator INT; the first end of the second capacitor C2 is respectively connected to the first switch unit 51, the second switch unit 52 and the reverse input end of the integrator INT, and the second end of the second capacitor C2 is connected to the reverse output end of the integrator INT; wherein, when the first switch unit 51 is in the on state and the second switch unit 52 is in the off state, the integration module 5 is used to perform a positive phase sequence integration on the voltage signal after filtering; when the second switch unit 52 is in the on state and the first switch unit 51 is in the off state, the integration module 5 is used to perform a negative phase sequence integration on the voltage signal after filtering.

[0077] In one embodiment, the integrator INT may be, but is not limited to, a fully differential integrator.

[0078] In one embodiment, Figure 6 As shown, the first switch unit 51 includes a seventh switch K7 and an eighth switch K8; the second switch unit 52 includes a ninth switch K9 and a tenth switch K10; the first end of the seventh switch K7 is connected to the first end of the ninth switch K9, the second end of the seventh switch K7 is connected to the second end of the tenth switch K10, the positive input end of the integrator INT and the first end of the first capacitor C1 respectively; the first end of the eighth switch K8 is connected to the first end of the tenth switch K10, the second end of the eighth switch K8 is connected to the second end of the ninth switch K9, the negative input end of the integrator INT and the first end of the second capacitor C2 respectively; the second end of the ninth switch K9 is connected to the second end of the ninth switch K9, the negative input end of the integrator INT and the first end of the second capacitor C2 respectively; The first end of the tenth switch K10 is connected to the inverting input end of the integrator INT and the first end of the second capacitor C2 respectively; the second end of the tenth switch K10 is connected to the positive input end of the integrator INT and the first end of the first capacitor C1 respectively; wherein, when the seventh switch K7 and the eighth switch K8 are both in the on state and the ninth switch K9 and the tenth switch K10 are both in the off state, the integration module 5 is used to perform a positive phase sequence integration on the voltage signal after filtering; when the ninth switch K9 and the tenth switch K10 are both in the on state and the seventh switch K7 and the eighth switch K8 are both in the off state, the integration module 5 is used to perform a negative phase sequence integration on the voltage signal after filtering.

[0079] In one embodiment, the positive phase sequence integration and the negative phase sequence integration are performed alternately; the integral corresponding to the DC signal output by the integration module 5 is equal to the difference between the positive phase sequence integral and the negative phase sequence integral.

[0080] Specifically, Figure 7 The figure shows the waveforms of the signals output by the photosensitive module 2, the filtering module 4 and the integrating module 5 when the amplifying module 3 works in the second working mode. Line a is the waveform of the signal output by the photosensitive module 2, line b is the waveform of the signal output by the filtering module 4 after filtering line a, and line c is the waveform of the signal output by the integrating module 5 after performing positive phase sequence integration and negative phase sequence integration on line b.

[0081] In one embodiment, the analog front-end circuit also includes a second switch module, which is connected to the integration module 5; when the second switch module is in the disconnected state, the integrator INT is in the integration mode, and the first capacitor C1 and the second capacitor C2 are both fully charged; when the second switch module is in the on state, the integrator INT is in the buffer mode, and the first capacitor C1 and the second capacitor C2 both release the charge.

[0082] Specifically, when the second switch module is in the on state, the integrator INT can be transformed into a buffer, and the second switch module is in the on state, so that the charges on the first capacitor C1 and the second capacitor C2 are released.

[0083] In one embodiment, Figure 8 As shown, the second switch module includes: a first switch K1 and a second switch K2; the first end of the first switch K1 is connected to the first switch unit 51, the second switch unit 52 and the input resistance unit 53 respectively, and the second end of the first switch K1 is connected to the second end of the first capacitor C1 and the positive output end of the integrator INT respectively; the first end of the second switch K2 is connected to the first switch unit 51, the second switch unit 52 and the input resistance unit 53 respectively, and the second end of the second switch K2 is connected to the second end of the second capacitor C2 and the reverse output end of the integrator INT respectively.

[0084] Specifically, when the amplifying module 3 operates in the first operating mode, the first switch K1 and the second switch K2 are both set to be in the on state, so that the integrator INT can be transformed into a buffer.

[0085] In one embodiment, see Figure 8The analog front-end circuit also includes: a third variable resistor VR3 and a fourth variable resistor VR4; a first end of the third variable resistor VR3 is connected to the first switch unit 51, the second switch unit 52 and the input resistance unit 53 respectively, and a second end of the third variable resistor VR3 is connected to the first end of the first switch K1; a first end of the fourth variable resistor VR4 is connected to the first switch unit 51, the second switch unit 52 and the input resistance unit 53 respectively, and a second end of the fourth variable resistor VR4 is connected to the first end of the second switch K2.

[0086] In one embodiment, Fig. 9 As shown, the integration module 5 further includes: a third switch K3, a fourth switch K4, an eleventh switch K11 and a twelfth switch K12; a first end of the third switch K3 is connected to the second end of the seventh switch K7, the second end of the tenth switch K10, the positive input end of the integrator INT and the first end of the first capacitor C1 respectively; a first end of the fourth switch K4 is connected to the second end of the third switch K3, and a second end of the fourth switch K4 is connected to the second end of the eighth switch K8, the second end of the ninth switch K9, the negative input end of the integrator INT and the first end of the second capacitor C2 respectively; a first end of the eleventh switch K11 is connected to the first end of the seventh switch K7 and the first end of the ninth switch K9 respectively; a first end of the twelfth switch K12 is connected to the second end of the eleventh switch K11, and a second end of the twelfth switch K12 is connected to the first end of the eighth switch K8 and the first end of the tenth switch K10 respectively.

[0087] Specifically, when the integrator INT is integrating, the third switch K3 and the fourth switch K4 can be set to be in the disconnected state to ensure that the first capacitor C1 and the second capacitor C2 are fully charged; when the integrator does not need to integrate, the third switch K3 and the fourth switch K4 can be set to be in the on state, so that the first capacitor C1 and the second capacitor C2 release the charge, which is equivalent to resetting the integration module.

[0088] In one embodiment, see Fig. 9 The input resistance unit 53 includes: a fifth variable resistor VR5 and a sixth variable resistor VR6; a second end of the fifth variable resistor VR5 is connected to a first end of the eleventh switch K11; a second end of the sixth variable resistor VR6 is connected to a second end of the twelfth switch K12.

[0089] Specifically, the fifth variable resistor VR5 and the sixth variable resistor VR6 can help adjust the gain of the integration module 5 itself when the integration module 5 is used to filter out interference signals generated by the amplification module 3, the filtering module 4 and the integration module 5 itself.

[0090] In one embodiment, Fig.10As shown, the first switch module 6 is connected to the amplification module 3, the filtering module 4 and the integration module 5 respectively; the second switch module 7 is connected to the integration module 5; the first end of the fifth capacitor C5 is connected to the positive output end of the transimpedance amplifier TIA, the second end of the third capacitor C3 and the second end of the first variable resistor VR1 respectively; the first end of the seventh capacitor C7 is connected to the reverse output end of the transimpedance amplifier TIA, the second end of the fourth capacitor C4 and the second end of the second variable resistor VR2 respectively; the first end of the fifth variable resistor VR5 is connected to the filtering module 4; the first end of the sixth variable resistor VR6 is connected to the filtering module 4.

[0091] The present invention also provides a smoke alarm, such as Fig.11 As shown, the smoke alarm includes: an analog front-end circuit 100, an analog-to-digital conversion circuit 200, a processing module 300 and an alarm module 400 of any of the above schemes; the analog-to-digital conversion circuit 200 is connected to the analog front-end circuit 100, and is used to convert the electrical signal output by the analog front-end circuit 100 into a digital signal; the processing module 300 is connected to the analog-to-digital conversion circuit 200, and is used to judge the digital signal converted by the analog-to-digital conversion circuit 200, and send an alarm instruction to the alarm module 400 when the digital signal is abnormal; the alarm module 400 is connected to the processing module 300, and is used to send an alarm signal when receiving the alarm instruction sent by the processing module; the alarm signal is at least one of a sound signal, an indicator light signal, a text signal and an image signal.

[0092] The smoke alarm of the present invention comprises the analog front-end circuit described in any one of the above solutions. Its beneficial effects can refer to the beneficial effects of the analog front-end circuit, which will not be described in detail here.

[0093] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features of the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0094] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. An analog front-end circuit, characterized in that: include: A light emitting module, used for generating a detection light signal; A photosensitive module, used for collecting ambient light signals and the detection light signals, and converting the collected light signals into photocurrent signals; the photocurrent signals include ambient electrical signals and detection electrical signals; an amplification module, connected to the photosensitive module, and used to amplify the photocurrent signal to output a voltage signal; A filtering module, connected to the amplifying module, for filtering the voltage signal amplified by the amplifying module to remove the environmental electrical signal; the filtering module comprises a bandpass filter and a filtering auxiliary unit connected to the bandpass filter; An integration module, connected to the filtering module, for performing positive phase sequence integration and negative phase sequence integration on the voltage signal after filtering, so as to filter out interference signals generated by the amplification module, the filtering module and the integration module, and output a direct current signal; The amplification module comprises: A transimpedance amplifier, used for amplifying the photocurrent signal; a gain adjustment unit, connected to the transimpedance amplifier, and used to adjust the amplification gain of the transimpedance amplifier; The gain adjustment unit includes: a third capacitor, a first variable resistor, a fourth capacitor and a second variable resistor; The first end of the third capacitor is connected to the positive input terminal of the transimpedance amplifier, and the second end of the third capacitor is connected to the positive output terminal of the transimpedance amplifier; the first end of the first variable resistor is connected to the first end of the third capacitor and the positive input terminal of the transimpedance amplifier respectively, and the second end of the first variable resistor is connected to the second end of the third capacitor and the positive output terminal of the transimpedance amplifier; the first end of the fourth capacitor is connected to the reverse input terminal of the transimpedance amplifier, and the second end of the fourth capacitor is connected to the reverse output terminal of the transimpedance amplifier; the first end of the second variable resistor is connected to the first end of the fourth capacitor and the reverse input terminal of the transimpedance amplifier respectively, and the second end of the second variable resistor is connected to the second end of the fourth capacitor and the reverse output terminal of the transimpedance amplifier.

2. The analog front-end circuit according to claim 1, characterized in that: The analog front-end circuit is configured with a first operating mode and a second operating mode; When the amplification module operates in the first operating mode, it is used to detect the light intensity of the ambient light signal; When the amplification module operates in the second operation mode, it is used to amplify the photocurrent signal to output a voltage signal; Wherein, in the first working mode, the light emitting module stops generating the detection light signal.

3. The analog front-end circuit according to claim 2, characterized in that: When the amplification module operates in the second operation mode, the amplification module is further used to reduce the amplification gain of the photocurrent signal when the light intensity of the ambient light signal exceeds a preset threshold.

4. The analog front-end circuit according to claim 1, characterized in that: The analog front end circuit also includes: The first switch module is connected to the filter module and is used to short-circuit the filter module when the amplification module operates in the first operation mode.

5. The analog front-end circuit according to claim 1, characterized in that: The integration module comprises: an integrator, used to integrate the voltage signal after filtering by the filtering module; a first switch unit, connected to the integrator; A second switch unit, connected to the integrator and the first switch unit respectively; an input resistance unit, connected to the first switch unit and the second switch unit respectively; a first capacitor, wherein a first end of the first capacitor is connected to the first switch unit, the second switch unit and a positive input end of the integrator respectively, and a second end of the first capacitor is connected to a positive output end of the integrator; a second capacitor, wherein a first end of the second capacitor is connected to the first switch unit, the second switch unit and the inverting input end of the integrator respectively, and a second end of the second capacitor is connected to the inverting output end of the integrator; Among them, when the first switch unit is in the on state and the second switch unit is in the off state, the integration module is used to perform a positive phase sequence integration on the voltage signal after filtering; when the second switch unit is in the on state and the first switch unit is in the off state, the integration module is used to perform a negative phase sequence integration on the voltage signal after filtering.

6. The analog front-end circuit according to claim 5, characterized in that: The positive phase sequence integration and the negative phase sequence integration are performed alternately; the integral corresponding to the direct current signal output by the integration module is equal to the difference between the positive phase sequence integration and the negative phase sequence integration.

7. The analog front-end circuit according to claim 5, characterized in that: The analog front end circuit also includes: A second switch module is connected to the integration module; when the second switch module is in an off state, the integrator is in an integration mode, and the first capacitor and the second capacitor are both fully charged; when the second switch module is in an on state, the integrator is in a buffer mode, and the first capacitor and the second capacitor both release charges.

8. A smoke alarm, characterized in that: include: The analog front-end circuit, analog-to-digital conversion circuit, processing module and alarm module according to any one of claims 1 to 7; The analog-to-digital conversion circuit is connected to the analog front-end circuit and is used to convert the electrical signal output by the analog front-end circuit into a digital signal; The processing module is connected to the analog-to-digital conversion circuit, and is used to judge the digital signal converted by the analog-to-digital conversion circuit, and send an alarm instruction to the alarm module when the digital signal is abnormal; The alarm module is connected to the processing module and is used to send out an alarm signal when receiving the alarm instruction sent by the processing module; the alarm signal is at least one of a sound signal, an indicator light signal, a text signal and an image signal.