Constant current driving circuit and corresponding photoelectric smoke alarm circuit
11209854 · 2021-12-28
Assignee
Inventors
- Yujie Zhou (Jiangsu, CN)
- Jieqiong Zneg (Jiangsu, CN)
- Tianshun Zhang (Jiangsu, CN)
- Zengwei Ding (Jiangsu, CN)
Cpc classification
International classification
Abstract
A constant current driving circuit and a corresponding photoelectric smoke alarm circuit are provided. The constant current driving circuit includes a reference voltage source module (1), a linear voltage regulator module (3), a level conversion module (2), a current mirror module (4) and a first NMOS transistor. The linear voltage regulator module (3) may control turning on and turning off thereof according to actual requirements, thus electrical energy loss may effectively be reduced for some periodically used devices. The constant current driving circuit and the corresponding photoelectric smoke alarm circuit may provide a constant current source, so that auxiliary output performance remains stable within a full temperature range, a certain timing sequence requirement is met, no standby power is consumed when not working, performance is stable, power consumption is low, and application range is wide.
Claims
1. A constant current driving circuit, comprising: a reference voltage source module; a linear voltage regulator module; a level conversion module; a current mirror module; and a first NMOS transistor, wherein an input terminal of the reference voltage source module and a second input terminal of the linear voltage regulator module are each connected with an external power supply; an output terminal of the reference voltage source module is connected with a first input terminal of the linear voltage regulator module and an input terminal of the level conversion module; an output terminal of the linear voltage regulator module is connected with a power terminal of the level conversion module and a power terminal of the current mirror module, and then used as an output terminal of the constant current driving circuit; an output terminal of the level conversion module is connected with an input terminal of the current mirror module; and an output terminal of the current mirror module is connected with a gate electrode of the first NMOS transistor, a source electrode of the first NMOS transistor is grounded, and a drain electrode of the first NMOS transistor is used as an input terminal of the constant current driving circuit.
2. The constant current driving circuit according to claim 1, wherein the external power supply has a constant reference voltage; the output terminal of the constant current driving circuit is connected with a first port of an external load; and the input terminal of the constant current driving circuit is connected with a second port of the load.
3. The constant current driving circuit according to claim 2, wherein the reference voltage source module, the linear voltage regulator module, the level conversion module, the current mirror module and the first NMOS transistor are integrated into a chip, the input terminal of the reference voltage source module and the second input terminal of the linear voltage regulator module are jointly used as a power terminal of the chip, and the source electrode of the first NMOS transistor is used as a ground terminal of the chip; the output terminal of the linear voltage regulator module, the power terminal of the level conversion module and the power terminal of the current mirror module are jointly connected to be used as an output terminal of the chip, and the drain electrode of the first NMOS transistor is used as an input terminal of the chip.
4. A photoelectric smoke alarm circuit, comprising the constant current driving circuit according to claim 3, wherein the photoelectric smoke alarm circuit further comprises a capacitor and an optical labyrinth module; the optical labyrinth module comprises an infrared light emitting diode and a photodiode; the capacitor and the infrared light emitting diode are jointly used as a load; one terminal of the capacitor and an anode of the infrared light emitting diode are jointly used as a first port of the load and are each connected with the output terminal of the constant current driving circuit; the other terminal of the capacitor is grounded; a cathode of the infrared light emitting diode is used as a second port of the load and is connected with the drain electrode of the first NMOS transistor; and the photodiode is driven by the infrared light emitting diode to work.
5. The constant current driving circuit according to claim 1, wherein the reference voltage source module comprises a first PMOS transistor, a first resistor, a second resistor, a third resistor, a fourth resistor, a first triode, a second triode and a first amplifier, wherein the third resistor is an adjustable resistor; a source electrode of the first PMOS transistor is used as the input terminal of the reference voltage source module and is connected with the external power supply; and a drain electrode of the first PMOS transistor is connected with a first terminal of the third resistor; a second terminal of the third resistor is connected with the second resistor and the fourth resistor; the second resistor is connected in series with the first resistor and then connected with an emitting electrode of the first triode; a base electrode and a collector electrode of the first triode are each grounded; the fourth resistor is connected with an emitting electrode of the second triode; a base electrode and a collector electrode of the second triode are each grounded; a non-inverting input terminal of the first amplifier is connected between the second resistor and the first resistor, an inverting input terminal of the first amplifier is connected between the fourth resistor and the emitting electrode of the second triode, and an output terminal of the first amplifier is connected with a gate electrode of the first PMOS transistor; and an adjustable terminal of the third resistor is used as the output terminal of the reference voltage source module, and is connected with the first input terminal of the linear voltage regulator module and the input terminal of the level conversion module.
6. The constant current driving circuit according to claim 5, wherein the reference voltage source module is configured to cause a voltage at the non-inverting input terminal of the first amplifier to be equal to a voltage at the inverting input terminal of the first amplifier in a manner of negative feedback, and a V.sub.BE difference between the first triode and the second triode is divided by a resistance value of the first resistor to obtain a Proportional to Absolute Temperature (PTAT) current.
7. The constant current driving circuit according to claim 5, wherein the fourth resistor is a thermistor.
8. The constant current driving circuit according to claim 5, wherein the reference voltage source module, the linear voltage regulator module, the level conversion module, the current mirror module and the first NMOS transistor are integrated into a chip, the input terminal of the reference voltage source module and the second input terminal of the linear voltage regulator module are jointly used as a power terminal of the chip, and the source electrode of the first NMOS transistor is used as a ground terminal of the chip; the output terminal of the linear voltage regulator module, the power terminal of the level conversion module and the power terminal of the current mirror module are jointly connected to be used as an output terminal of the chip, and the drain electrode of the first NMOS transistor is used as an input terminal of the chip.
9. A photoelectric smoke alarm circuit, comprising the constant current driving circuit according to claim 8, wherein the photoelectric smoke alarm circuit further comprises a capacitor and an optical labyrinth module; the optical labyrinth module comprises an infrared light emitting diode and a photodiode; the capacitor and the infrared light emitting diode are jointly used as a load; one terminal of the capacitor and an anode of the infrared light emitting diode are jointly used as a first port of the load and are each connected with the output terminal of the constant current driving circuit; the other terminal of the capacitor is grounded; a cathode of the infrared light emitting diode is used as a second port of the load and is connected with the drain electrode of the first NMOS transistor; and the photodiode is driven by the infrared light emitting diode to work.
10. The constant current driving circuit according to claim 1, wherein the linear voltage regulator module comprises a second amplifier, a second PMOS transistor, a fifth resistor, and a sixth resistor; an inverting input terminal of the second amplifier is used as a first input terminal of the linear voltage regulator module and is connected with the output terminal of the reference voltage source module; and an output terminal of the second amplifier is connected with a gate electrode of the second PMOS transistor; a source electrode of the second PMOS transistor is used as a second input terminal of the linear voltage regulator module and is connected with the external power supply; a drain electrode of the second PMOS transistor is connected with one terminal of the fifth resistor, the other terminal of the fifth resistor is connected with one terminal of the sixth resistor, and the other terminal of the sixth resistor is grounded; a non-inverting input terminal of the second amplifier is connected between the fifth resistor and the sixth resistor; and a drain electrode of the second PMOS transistor is used as the output terminal of the linear voltage regulator module and is connected with the power terminal of the level conversion module and the power terminal of the current mirror module.
11. The constant current driving circuit according to claim 10, wherein the linear voltage regulator module is configured to use a constant band gap reference voltage provided by the reference voltage source module to obtain a constant voltage with band load capacity through a negative feedback of the second amplifier, the second PMOS transistor, the fifth resistor and the sixth resistor, for normal operation of the level conversion module and the current mirror module.
12. The constant current driving circuit according to claim 10, wherein the reference voltage source module, the linear voltage regulator module, the level conversion module, the current mirror module and the first NMOS transistor are integrated into a chip, the input terminal of the reference voltage source module and the second input terminal of the linear voltage regulator module are jointly used as a power terminal of the chip, and the source electrode of the first NMOS transistor is used as a ground terminal of the chip; the output terminal of the linear voltage regulator module, the power terminal of the level conversion module and the power terminal of the current mirror module are jointly connected to be used as an output terminal of the chip, and the drain electrode of the first NMOS transistor is used as an input terminal of the chip.
13. The constant current driving circuit according to claim 1, wherein the level conversion module comprises a third amplifier, a third PMOS transistor and a seventh resistor; an inverting input terminal of the third amplifier is used as the input terminal of the level conversion module and is connected with the output terminal of the reference voltage source module; an output terminal of the third amplifier is connected with a gate electrode of the third PMOS transistor; a drain electrode of the third PMOS transistor is connected with one terminal of the seventh resistor, and the other terminal of the seventh resistor is grounded; a non-inverting input terminal of the third amplifier is connected between the drain electrode of the third PMOS transistor and the seventh resistor; a power terminal of the third amplifier and a source electrode of the third PMOS transistor are jointly used as the power terminal of the level conversion module and are connected with the output terminal of the linear voltage regulator module; and a gate electrode of the third PMOS transistor is used as the output terminal of the level conversion module and is connected with the input terminal of the current mirror module.
14. The constant current driving circuit according to claim 13, wherein a bias of the current mirror module is connected with the output terminal of the third amplifier of the level conversion module.
15. The constant current driving circuit according to claim 13, wherein the level conversion module is configured to convert a band gap reference voltage output by the reference voltage source module into a bias voltage matching the current mirror module, and a temperature coefficient of the bias voltage is associated with a temperature coefficient of the band gap reference voltage.
16. The constant current driving circuit according to claim 13, wherein the reference voltage source module, the linear voltage regulator module, the level conversion module, the current mirror module and the first NMOS transistor are integrated into a chip, the input terminal of the reference voltage source module and the second input terminal of the linear voltage regulator module are jointly used as a power terminal of the chip, and the source electrode of the first NMOS transistor is used as a ground terminal of the chip; the output terminal of the linear voltage regulator module, the power terminal of the level conversion module and the power terminal of the current mirror module are jointly connected to be used as an output terminal of the chip, and the drain electrode of the first NMOS transistor is used as an input terminal of the chip.
17. The constant current driving circuit according to claim 1, wherein the current mirror module comprises a fourth PMOS transistor, a fifth PMOS transistor, a sixth PMOS transistor, a second NMOS transistor, a third NMOS transistor, a fourth NMOS transistor, a fifth NMOS transistor and a sixth NMOS transistor; a gate electrode of the fourth PMOS transistor is used as the input terminal of the current mirror module and is connected with the output terminal of the level conversion module; a source electrode of the fourth PMOS transistor, a source electrode of the fifth PMOS transistor and a source electrode of the sixth PMOS transistor are jointly used as the power terminal of the current mirror module and are each connected with the output terminal of the linear voltage regulator module; a drain electrode of the fourth PMOS transistor is connected with a drain electrode of the second NMOS transistor; a source electrode of the second NMOS transistor is connected with a drain electrode of the fourth NMOS transistor, a gate electrode of the fourth NMOS transistor and a gate electrode of the fifth NMOS transistor; a drain electrode of the fifth PMOS transistor is connected with a drain electrode of the third NMOS transistor; a source electrode of the third NMOS transistor is connected with a drain electrode of the fifth NMOS transistor; a gate electrode of the fifth PMOS transistor is connected with the drain electrode of the fifth PMOS transistor and a gate electrode of the sixth PMOS transistor; a drain electrode of the sixth PMOS transistor is connected with a drain electrode of the sixth NMOS transistor and a gate electrode of the sixth NMOS transistor; a gate electrode of the second NMOS transistor and a gate electrode of the third NMOS transistor are each connected with an enable signal; a source electrode of the fourth NMOS transistor, a source electrode of the fifth NMOS transistor and a source electrode of the sixth NMOS transistor are each grounded; and a gate electrode of the sixth NMOS is used as the output terminal of the current mirror module and is connected with the gate electrode of the first NMOS transistor.
18. The constant current driving circuit according to claim 17, wherein the reference voltage source module, the linear voltage regulator module, the level conversion module, the current mirror module and the first NMOS transistor are integrated into a chip, the input terminal of the reference voltage source module and the second input terminal of the linear voltage regulator module are jointly used as a power terminal of the chip, and the source electrode of the first NMOS transistor is used as a ground terminal of the chip; the output terminal of the linear voltage regulator module, the power terminal of the level conversion module and the power terminal of the current mirror module are jointly connected to be used as an output terminal of the chip, and the drain electrode of the first NMOS transistor is used as an input terminal of the chip.
19. The constant current driving circuit according to claim 1, wherein the reference voltage source module, the linear voltage regulator module, the level conversion module, the current mirror module and the first NMOS transistor are integrated into a chip, the input terminal of the reference voltage source module and the second input terminal of the linear voltage regulator module are jointly used as a power terminal of the chip, and the source electrode of the first NMOS transistor is used as a ground terminal of the chip; the output terminal of the linear voltage regulator module, the power terminal of the level conversion module and the power terminal of the current mirror module are jointly connected to be used as an output terminal of the chip, and the drain electrode of the first NMOS transistor is used as an input terminal of the chip.
20. A photoelectric smoke alarm circuit, comprising the constant current driving circuit according to claim 19, wherein the photoelectric smoke alarm circuit further comprises a capacitor and an optical labyrinth module; the optical labyrinth module comprises an infrared light emitting diode and a photodiode; the capacitor and the infrared light emitting diode are jointly used as a load; one terminal of the capacitor and an anode of the infrared light emitting diode are jointly used as a first port of the load and are each connected with the output terminal of the constant current driving circuit; the other terminal of the capacitor is grounded; a cathode of the infrared light emitting diode is used as a second port of the load and is connected with the drain electrode of the first NMOS transistor; and the photodiode is driven by the infrared light emitting diode to work.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
DESCRIPTION OF EMBODIMENTS
(6) In order to describe technical contents of the present disclosure more clearly, further description will be given below in conjunction with specific embodiments.
(7) With a constant current driving circuit and a corresponding photoelectric smoke alarm circuit provided in the present disclosure, the constant current driving circuit may keep the current flowing through the load constant within a certain variation range of power supply voltage, and may ensure that output characteristics of the load remain consistent over the full temperature range. Meanwhile, the constant current driving circuit has no voltage coefficient within a certain power supply voltage range, thereby meeting certain timing sequence requirements, and having no standby power consumption when not working.
(8) Referring to
(9) The optical labyrinth module includes an infrared light emitting diode D.sub.1 and a photodiode D.sub.2.
(10) The capacitor C.sub.1 and the infrared light emitting diode D.sub.1 are jointly used as a load.
(11) One terminal of the capacitor C.sub.1 and an anode of the infrared light emitting diode D.sub.1 are jointly used as a first port of the load, and are each connected with an output terminal of the constant current driving circuit.
(12) The other terminal of the capacitor C.sub.1 is grounded.
(13) A cathode of the infrared light emitting diode D.sub.1 is used as a second port of the load and is connected with a drain electrode of a first NMOS transistor M.sub.n1.
(14) The photodiode D.sub.2 is driven by the infrared light emitting diode D.sub.1 to work. The optical labyrinth is the same as that in the photoelectric smoke alarm in the related art. That is, when the infrared light emitting diode D.sub.1 emits light, the photodiode D.sub.2 generates a photocurrent.
(15) The constant current driving circuit includes a reference voltage source module 1, a linear voltage regulator module 3, a level conversion module 2, a current mirror module 4 and the first NMOS transistor M.sub.n1.
(16) The functions of each module are described as follows.
(17) The reference voltage source module 1 is configured to provide a band gap reference voltage V.sub.REF to the level conversion module 2.
(18) The linear voltage regulator module 3 provides a stable power supply voltage that does not change with an external power supply V.sub.DD to the level conversion module 2 and the current mirror module 4, and is also used as the power supply voltage of the infrared light emitting diode D.sub.1.
(19) In the level conversion module 2, since power supplies of the reference voltage source module 1 and the current mirror module 4 are different, a bias voltage (i.e., the band gap reference voltage V.sub.REF) generated in the reference voltage source module 1 may not be directly provided to the current mirror module 4. The level conversion module 2 serves to convert the band gap reference voltage V.sub.REF provided by the reference voltage source module 1 so as to regenerate a bias voltage matching the current mirror module 4. A temperature coefficient of the regenerated bias voltage must be associated with a temperature coefficient of the original reference bias voltage (referring to the band gap reference voltage V.sub.REF generated by the reference voltage source module 1).
(20) The current mirror module 4 is configured to replicate the bias current multiple times and finally transmit to the open-drain transistor (i.e., the first NMOS transistor M.sub.n1) to generate a current. Meanwhile, the current mirror module 4 is configured to ensure that a gate-source voltage V.sub.GS and a source-drain voltage VDS of the open-drain transistor (i.e., the first NMOS transistor M.sub.n1) remain unchanged and an emission current of the infrared light emitting diode D.sub.1 may thus be kept constant.
(21) A connection relationship of the modules is as follows.
(22) An input terminal of the reference voltage source module 1 and a second input terminal of the linear voltage regulator module 3 are each connected with the external power supply V.sub.DD.
(23) An output terminal of the reference voltage source module 1 is connected with a first input terminal of the linear voltage regulator module 3 and an input terminal of the level conversion module 2 simultaneously.
(24) An output terminal of the linear voltage regulator module 3 is connected with a power terminal of the level conversion module 2 and a power terminal of the current mirror module 4 simultaneously and then used as an output terminal of the constant current driving circuit.
(25) An output terminal of the level conversion module 2 is connected with an input terminal of the current mirror module 4.
(26) An output terminal of the current mirror module 4 is connected with a gate electrode of the first NMOS transistor M.sub.n1. A source electrode of the first NMOS transistor M.sub.n1 is grounded, and a drain electrode of the first NMOS transistor M.sub.n1 is used as an input terminal of the constant current driving circuit.
(27) The external power supply has a constant reference voltage. The output terminal of the constant current driving circuit is connected with a first port of an external load. The input terminal of the constant current driving circuit is connected with a second port of the load.
(28) In this embodiment, the reference voltage source module 1, the linear voltage regulator module 3, the level conversion module 2, the current mirror module 4 and the first NMOS transistor Mill are integrated in a chip. The input terminal of the reference voltage source module 1 and the second input terminal of the linear voltage regulator module 3 are jointly used as a power terminal of the chip. The source electrode of the first NMOS transistor Mill is used as a ground terminal of the chip. The output terminal of the linear voltage regulator module 3, the power terminal of the level conversion module and the power terminal of the current mirror module are jointly connected to be an output terminal of the chip. The drain electrode of the first NMOS transistor Mill is used as an input terminal of the chip. Since each module is located in the chip, occupied area of PCB is saved, so that the structure is more compact without additional external devices.
(29) Compared to the related art, the manner of integrating all modules on a same chip makes the structure of the constant current driving circuit more compact, and may realize the purpose of separately controlling on and off of linear voltage regulator module 3, since the linear voltage regulator module 3 is also located in the chip. In the photoelectric smoke alarm circuit (it may also be other similar discontinuously operating circuits, which is not limited thereto), since the constant current driving circuit is not required to be a normally operating structure but is only periodically enabled, this manner of arranging the linear voltage regulator module 3 in the chip may better save energy consumption. However, in the related art, since the linear voltage regulator module 3 is located outside the chip, the linear voltage regulator module 3 is required to be normally operating, which may consumes a considerable amount of quiescent current.
(30) In a smoke probe standard (GB20517), the entire chip needs to detect current battery power in the photoelectric smoke alarm. When the voltage is lower than a set voltage, the probe needs to generate a low-voltage alarm signal that is different from the smoke sound and light alarm. If the linear voltage regulator module 3 is provided external to the chip, the external linear voltage regulator module 3 keeps the entire chip at a certain level lower than the battery voltage so that the chip may not detect the current voltage of the battery and issue a low-voltage alarm signal.
(31) Therefore, this technical solution in this embodiment may reduce battery power consumption, and have a low voltage detection function.
(32) As shown in
(33) In this embodiment, the reference voltage source module 1 includes a first PMOS transistor M.sub.p1, a first resistor R.sub.1, a second resistor R.sub.2, a third resistor R.sub.3, a fourth resistor R.sub.4, a first triode Q.sub.1, a second triode Q.sub.2 and a first amplifier A1. The third resistor R.sub.3 is an adjustable resistor. The fourth resistor R.sub.4 is a thermistor which has a negative temperature coefficient in this embodiment. In this embodiment, the first transistor Q.sub.1 and the second transistor Q.sub.2 are each a PNP-type triode.
(34) A source electrode of the first PMOS transistor M.sub.p1 is used as the input terminal of the reference voltage source module 1, and is connected with the external power supply. A drain electrode of the first PMOS transistor M.sub.p1 is connected with a first terminal of the third resistor R.sub.3. A second terminal of the third resistor R.sub.3 is connected with the second resistor R.sub.2 and the fourth resistor R.sub.4 simultaneously.
(35) The second resistor R.sub.2 is connected in series with the first resistor R.sub.1 and then connected with an emitting electrode of the first triode Q.sub.1. A base electrode and collector electrode of the first transistor Q.sub.1 are each grounded.
(36) The fourth resistor R.sub.4 is connected with an emitting electrode of the second triode Q.sub.2. A base electrode and collector electrode of the second triode Q.sub.2 are each grounded.
(37) A non-inverting input terminal of the first amplifier A1 is connected between the second resistor R.sub.2 and the first resistor R.sub.1. An inverting input terminal of the first amplifier A1 is connected between the fourth resistor R.sub.4 and the emitting electrode of the second triode Q.sub.2. An output terminal of the first amplifier A1 is connected with a gate electrode of the first PMOS transistor M.sub.p1.
(38) An adjustable terminal of the third resistor R.sub.3 is used as the output terminal of the reference voltage source module 1, and is connected with the first input terminal of the linear voltage regulator module 3 and the input terminal of the level conversion module 2 simultaneously.
(39) In this embodiment, the reference voltage source module 1 uses a parasitic triode as V.sub.BE, and uses negative feedback to cause a voltage at the non-inverting input terminal of the first amplifier A1 to be equal to a voltage at the inverting input terminal of the first amplifier A1. A V.sub.BE difference between the first triode and the second triode is divided by a resistance value of the first resistor to obtain a PTAT current (PTAT refers to “proportional to absolute temperature”, and PTAT current refers to a current having a value directly proportional to the absolute temperature). The PTAT current flows through the third resistor R.sub.3, and a reference voltage value is obtained. Their relationship meets following formula (1):
(40)
(41) In the formula, V.sub.REF denotes an output value of the band gap reference voltage, K denotes Boltzmann's constant, T denotes a thermodynamic temperature, i.e., absolute temperature of 300K, q denotes electronic charges, N denotes a proportional coefficient flowing the first triode Q.sub.1 and the second triode Q.sub.2, V.sub.BE2 denotes a junction voltage between a base electrode and emitting electrode of the second transistor Q.sub.2, R.sub.1 denotes a resistance value of the first resistor R.sub.1, R.sub.2 denotes a resistance value of the second resistor R.sub.2, and R.sub.3 denotes a resistance value of the third resistor R.sub.3.
(42) In this embodiment, the linear voltage regulator module 3 includes a second amplifier A2, a second PMOS transistor M.sub.p2, a fifth resistor R.sub.5 and a sixth resistor R.sub.6.
(43) An inverting input terminal of the second amplifier A2 is used as a first input terminal of the linear voltage regulator module 3 and is connected with the output terminal of the reference voltage source module 1. An output terminal of the second amplifier A2 is connected with a gate electrode of the second PMOS transistor M.sub.p2. A source electrode of the second PMOS transistor M.sub.p2 is used as a second input terminal of the linear voltage regulator module 3, and is connected with the external power supply V.sub.DD. A drain electrode of the second PMOS transistor M.sub.p2 is connected with one terminal of the fifth resistor R.sub.5, the other terminal of the fifth resistor R.sub.5 is connected with one terminal of the sixth resistor R.sub.6, and the other terminal of the sixth resistor R.sub.6 is grounded.
(44) A non-inverting input terminal of the second amplifier A2 is connected between the fifth resistor R.sub.5 and the sixth resistor R.sub.6.
(45) A drain electrode of the second PMOS transistor M.sub.p2 is used as the output terminal of the linear voltage regulator module 3 and is connected with the power terminal of the level conversion module 2 and the power terminal of the current mirror module 4 simultaneously.
(46) The linear voltage regulator module 3 uses the constant band gap reference voltage V.sub.REF provided by the reference voltage source module 1 to obtain a constant voltage V.sub.LDO with load capacity by negative feedback of the second amplifier A2, the second PMOS transistor M.sub.p2 and a resistor network (including the fifth resistor R.sub.5 and the sixth resistor R.sub.6), so as to supply the level conversion module 2 and the current mirror module 4 to work normally. A calculation expression of the voltage value of V.sub.LDO meets following formula (2):
(47)
(48) In the formula, V.sub.LDO denotes a voltage value of the output voltage of the linear voltage regulator module 3, V.sub.REF denotes an output value of the band gap reference voltage, R.sub.5 denotes a resistance value of the fifth resistor R.sub.5, and R.sub.6 is a resistance value of the sixth resistor R6.
(49) In this embodiment, the level conversion module 2 includes a third amplifier A3, a third PMOS transistor M.sub.p3, and a seventh resistor R.sub.7.
(50) An inverting input terminal of the third amplifier A3 is used as the input terminal of the level conversion module 2 and is connected with the output terminal of the reference voltage source module 1. An output terminal of the third amplifier A3 is connected with a gate electrode of the third PMOS transistor M.sub.p3. A drain electrode of the third PMOS transistor M.sub.p3 is connected with one terminal of the seventh resistor R.sub.7, and the other terminal of the seventh resistor R.sub.7 is grounded.
(51) A non-inverting input terminal of the third amplifier A3 is connected between the drain electrode of the third PMOS transistor M.sub.p3 and the seventh resistor R.sub.7.
(52) A power terminal of the third amplifier A3 and a source electrode of the third PMOS transistor M.sub.p3 are jointly used as the power terminal of the level conversion module 2 and are connected with the output terminal of the linear voltage regulator module 3.
(53) A gate electrode of the third PMOS transistor M.sub.p3 is used as the output terminal of the level conversion module 2 and is connected with the input terminal of the current mirror module 4.
(54) In the above embodiments, a functional effect of the level conversion module 2 is to stabilize the power supply of the entire constant current driving circuit (including the current mirror module 4) to a certain voltage value lower than the battery voltage, so that the battery voltage within a reduced certain range, the current provided to the infrared light emitting diode D1 may be maintained constant. Compared with the DC-DC boost voltage module in the related art, the level conversion module occupies a smaller chip area and does not need to occupy pin resources of the chip.
(55) Its working principle is: the level conversion module 2 uses the constant band gap reference voltage V.sub.REF provided by the reference voltage source module 1, the third amplifier A3 forms a negative feedback loop, so that the non-inverting input terminal of the third amplifier A3 clamps the voltage of the seventh resistor R.sub.7 to generate a constant current. Therefore, the voltage of the gate terminal of the third PMOS transistor M.sub.p3, i.e., the voltage of the output terminal of the third amplifier A3, may remain unchanged, thereby providing a constant bias voltage for the current mirror module 4. The level conversion module is configured to convert the band gap reference voltage output by the reference voltage source module into a bias voltage matching the current mirror module. The temperature coefficient of the bias voltage is associated with the temperature coefficient of the band gap reference voltage. In other embodiments, the temperature coefficient of the bias voltage is associated with the temperature coefficient of the band gap reference voltage, and associated with the temperature coefficient of the seventh resistor R.sub.7. In other embodiments, the temperature coefficient association means that the temperature coefficient of the regenerated bias voltage must be consistent with the temperature coefficient of the original reference bias voltage (band gap reference voltage).
(56) In this embodiment, the current mirror module 4 includes a fourth PMOS transistor M.sub.p4, a fifth PMOS transistor M.sub.p5, a sixth PMOS transistor M.sub.p6, a second NMOS transistor M.sub.n2, a third NMOS transistor M.sub.n3, a fourth NMOS transistor M.sub.n4, a fifth NMOS transistor M.sub.n5 and a sixth NMOS transistor M.sub.n6.
(57) A gate electrode of the fourth PMOS transistor M.sub.p4 is used as the input terminal of the current mirror module 4 and is connected with the output terminal of the level conversion module 2.
(58) A source electrode of the fourth PMOS transistor M.sub.p4, a source electrode of the fifth PMOS transistor M.sub.p5, and a source electrode of the sixth PMOS transistor M.sub.p6 are jointly used as the power terminal of the current mirror module 4, and are each connected with the output terminal of the linear voltage regulator module 3.
(59) A drain electrode of the fourth PMOS transistor M.sub.p4 is connected with a drain electrode of the second NMOS transistor M.sub.n2. A source electrode of the second NMOS transistor M.sub.n2 is connected with a drain electrode of the fourth NMOS transistor M.sub.n4, a gate electrode of the fourth NMOS transistor M.sub.n4 and a gate electrode of the fifth NMOS transistor M.sub.n5 simultaneously.
(60) A drain electrode of the fifth PMOS transistor M.sub.p5 is connected with a drain electrode of the third NMOS transistor M.sub.n3. A source electrode of the third NMOS transistor M.sub.n3 is connected with a drain electrode of the fifth NMOS transistor M.sub.n5.
(61) A gate electrode of the fifth PMOS transistor M.sub.p5 is connected with a drain electrode of the fifth PMOS transistor M.sub.p5 and a gate electrode of the sixth PMOS transistor M.sub.p6 simultaneously.
(62) A drain electrode of the sixth PMOS transistor M.sub.p6 is connected with a drain electrode of the sixth NMOS transistor M.sub.n6 and a gate electrode of the sixth NMOS transistor M.sub.n6 simultaneously.
(63) A gate electrode of the second NMOS transistor M.sub.n2 and a gate electrode of the third NMOS transistor M.sub.n3 are each connected with an enable signal.
(64) A source electrode of the fourth NMOS transistor M.sub.n4, a source electrode of the fifth NMOS transistor M.sub.n5 and a source electrode of the sixth NMOS transistor M.sub.n6 are each grounded.
(65) A gate electrode of the sixth NMOS transistor M.sub.n6 is used as the output terminal of the current mirror module 4 and is connected with the gate electrode of the first NMOS transistor M.sub.n1.
(66) In the current mirror module 4, a bias of the current mirror module 4 is connected with the output terminal of the third amplifier A3 in the level conversion module 2. After an EN signal (enable signal) is received, in the case that the respective MOS transistors (including the fourth PMOS transistor M.sub.p4, the fifth PMOS transistor M.sub.p5, the sixth PMOS transistor M.sub.p6, the second NMOS transistor M.sub.n2, the third NMOS transistor M.sub.n3, the fourth NMOS transistor M.sub.n4, the fifth NMOS transistor M.sub.n5 and the sixth NMOS transistor M.sub.n6) in the current mirror module 4 are each at a saturation region, a gate-source voltage obtained finally by open-drain transistors is kept constant through multiple current mirror replication without being affected by the power supply voltage.
(67) When the constant current driving circuit is applied in the photoelectric smoke alarm circuit, the constant current driving circuit is connected with the optical labyrinth module and the capacitor C.sub.1, and an anode of the infrared light emitting diode is connected with the output terminal of the linear voltage regulator module 3. In this way, it may be ensured that the obtained drain-source voltage VDS of the open-drain transistor (first NMOS transistor M.sub.n1) is basically consistent under the same emission current.
(68) Formula (3) below is obtained from an I-V characteristic curve of the MOS transistors:
(69)
(70) In the formula, IDS denotes a source-drain current of the MOS transistor, μ.sub.N denotes an electron migration rate, C.sub.ox denotes a thickness of a gate oxide, W denotes a channel width of the MOS transistor, L denotes a channel length of the MOS transistor, V.sub.GS denotes a gate-source voltage of the MOS transistor, V.sub.TH denotes a threshold voltage for turning on the MOS transistor, λ denotes a channel length modulation factor of the MOS transistor, and VDS denotes a drain-source voltage of the MOS transistor.
(71) It may be seen from the above formula that the current of the MOS transistor is associated with the gate-source voltage and the drain-source voltage simultaneously. It is known that the current of the first NMOS transistor M.sub.n1 in this embodiment is associated with the gate-source voltage V.sub.GS and the drain-source voltage VDS simultaneously. If the gate-source voltage V.sub.GS and the drain-source voltage VDS may be maintained constant, the current may also be maintained constant. Therefore, in this embodiment, a constant gate-source voltage V.sub.GS is obtained by the current mirror module 4, and a constant drain-source voltage VDS is obtained by the linear voltage regulator module 3, and finally a constant current may be maintained within a large variation range of the power supply voltage.
(72) In this embodiment of the present disclosure, since luminous efficiency of the infrared light emitting diode may decrease as the temperature rises, temperature coefficient of the infrared emitting transistor in the optical labyrinth should be considered in addition to a stable current output. The characteristics of the temperature coefficient of the infrared light emitting diode D1 is shown in
(73) In the embodiments of the present disclosure, the constant current driving circuit is applied in the photoelectric smoke alarm circuit, since the infrared light emitting diode in the photoelectric smoke alarm circuit may not work continuously for a long time and the standby power consumption is small, the above modules need to cooperate in application to meet requirements of certain timing sequence. The application timing sequence of the photoelectric smoke alarm circuit having a constant current driving circuit is shown in
(74) In the photoelectric smoke alarm circuit with a constant current driving circuit in the above embodiments, the constant current driving circuit is integrated in a chip, and the constant current generation circuit has no voltage coefficient within a certain power supply voltage range (the power supply voltage range may be adjusted by adjusting a ratio of the fifth resistor R.sub.5 to the sixth resistor R.sub.6, the value of the power supply voltage is in a range between the minimum value that guarantees a constant output voltage and the maximum voltage value that the chip process may withstand, for example, in this embodiment, the power supply voltage range is set to 2.4V to 5.5V). The temperature coefficient generated by constant current and the temperature coefficient of the infrared light emitting diode are partially offset, so that the infrared light emitting diode may generate infrared light with constant luminous efficiency in the full temperature range, thereby meeting a certain timing sequence requirement, with no standby power consumption when not working, and thereby reducing unnecessary power consumption.
(75) Meanwhile, since the MOS transistors used in this technical solution all adopt standard CMOS technology, no additional photo-etching board is required.
(76) In the constant current driving circuit, turning on and turning off of the linear voltage regulator module may be separately controlled. For some periodically used equipment, electric energy loss may be effectively reduced. The reference voltage source module, the linear voltage regulator module, the level conversion module, the current mirror module and the first NMOS transistor may be integrated into a same chip, so that the constant current driving circuit has a more compact structure and occupied area of PCB is reduced. There is no voltage coefficient within a certain power supply voltage range. It may meet a certain timing sequence requirement, and there is no standby power consumption when not working. In the photoelectric smoke alarm circuit including the constant current driving circuit, the temperature coefficient generated by constant current and the temperature coefficient of the infrared light emitting diode are partially offset, so that the current flowing through the infrared light emitting diode remains constant within a certain variation range of power supply voltage, and the luminous intensity of infrared light emitting diodes remains consistent over the full temperature range.
(77) In this specification, the present disclosure has been described with reference to the embodiments. However, it is obvious that various modifications and changes may still be made without departing from the spirit and scope of this disclosure. Therefore, the description and drawings should be regarded as illustrative rather than restrictive.