Alarm device and oxygen generator
By implementing closed-loop control and a backup design for the optical alarm unit, the problems of insufficient oxygen concentration caused by solenoid valve failure in molecular sieve oxygen generators and the unreliability of existing alarm devices have been solved, achieving a stable and reliable alarm function and ensuring that users can receive alarms in a timely manner in case of failure.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2026-03-13
AI Technical Summary
Existing molecular sieve oxygen generators have many internal solenoid valves and complex gas circuit components, which are prone to failure. This results in the inability to alarm in time when the oxygen concentration is insufficient. In addition, the existing alarm device is an open-loop control, which cannot effectively alarm when the MCU fails.
The alarm device, which adopts closed-loop control, detects the operating current value of the audible alarm circuit through a current detection circuit, generates a voltage value, and sends it to the control unit. The control unit determines the status of the audible alarm circuit based on the voltage value. Combined with the backup design of the optical alarm unit and multiple control units, it achieves a stable and reliable alarm.
The closed-loop control of the audible alarm is realized, ensuring the stability and reliability of the alarm function. The backup design of the optical alarm unit improves the fault tolerance of the system, ensuring that users can still receive alarm information in a timely manner when the MCU or audible alarm unit fails.
Smart Images

Figure CN223993096U_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to medical device technology, and more specifically, to an alarm device and an oxygen generator. Background Technology
[0002] Currently, alarm devices in medical devices, such as oxygen concentrators, employ audible and visual alarms. Existing oxygen concentrators primarily utilize molecular sieve adsorption and desorption technology, powered by oil-free compressors, using molecular sieves as the adsorption medium, and employing components such as solenoid valves to separate oxygen and nitrogen from the air, ultimately obtaining a high concentration of oxygen. Existing molecular sieve oxygen concentrators are highly competitive in the market due to their small size, powerful functions, and portability. However, existing molecular sieve oxygen concentrators have numerous internal solenoid valves and complex gas path components; a malfunction in any of these components can affect the oxygen concentration output by the concentrator, impacting treatment effectiveness. Therefore, a reliable alarm device is crucial when the output oxygen concentration is insufficient.
[0003] The existing alarm devices use open-loop control for their audible alarm circuits. When the audible alarm circuit malfunctions, even if the MCU controls it to sound, the user will not receive the alarm information. Furthermore, the alarm device is controlled by a single MCU. If the MCU malfunctions, it cannot issue an alarm notification in a timely manner. Utility Model Content
[0004] One objective of this invention is to provide a new technical solution for an alarm device.
[0005] According to a first aspect of the present invention, an alarm device is provided, comprising a first audible alarm unit and a first control unit electrically connected to the first audible alarm unit. The first audible alarm unit includes a first audible alarm circuit and a first current detection circuit. One end of the first audible alarm circuit is connected to the first control unit, and the other end of the first audible alarm circuit is connected to the input terminal of the first current detection circuit. The output terminal of the first current detection circuit is connected to the first control unit. The first current detection circuit is used to obtain a first voltage value based on the operating current value of the first audible alarm circuit and send the first voltage value to the first control unit. The first control unit is used to determine the operating state of the first audible alarm circuit based on the first voltage value.
[0006] Optionally, the alarm device further includes a first light alarm unit, which is electrically connected to the first control unit.
[0007] Optionally, the alarm device further includes a second control unit and a second light alarm unit, wherein one end of the second control unit is electrically connected to the first control unit, and the other end of the second control unit is electrically connected to the second light alarm unit.
[0008] Optionally, the first audible alarm circuit includes a first speaker driving circuit and a first speaker, wherein one end of the first speaker driving circuit is connected to the first control unit, the other end of the first speaker driving circuit is connected to the first speaker, and the first speaker is connected to the input terminal of the first current detection circuit.
[0009] Optionally, the first current detection unit includes a first sampling resistor and a first operational amplifier circuit, wherein,
[0010] One end of the first sampling resistor is connected to the first speaker, and the other end of the first sampling resistor is connected to the first speaker driving circuit. The input terminal of the first operational amplifier circuit is connected to both ends of the first sampling resistor, and the output terminal of the first operational amplifier circuit is connected to the first control unit. The first operational amplifier circuit is used to differentially amplify the voltage value across the first sampling resistor obtained based on the operating current value of the first speaker to obtain a first voltage value, and send the first voltage value to the first control unit.
[0011] Optionally, the first light alarm unit includes a first power supply, a first indicator light, and a first transistor. One end of the first indicator light is connected to the first power supply, the other end of the first indicator light is connected to the collector of the first transistor, the base of the first transistor is connected to the first control unit, and the emitter of the first transistor is grounded. The first control unit is used to control the first transistor to turn on so that the first indicator light emits a light alarm prompt.
[0012] The second optical alarm unit includes a second power supply, a second indicator light, and a second transistor. One end of the second indicator light is connected to the second power supply, and the other end of the second indicator light is connected to the collector of the second transistor. The base of the second transistor is connected to the second control unit, and the emitter of the second transistor is grounded. The second control unit is used to control the second transistor to turn on so that the second indicator light emits an optical alarm prompt.
[0013] Optionally, the alarm device further includes a second audible alarm unit electrically connected to the second control unit, wherein,
[0014] The second audible alarm unit includes a second audible alarm circuit and a second current detection circuit. One end of the second audible alarm circuit is connected to the second control unit, and the other end of the second audible alarm circuit is connected to the input terminal of the second current detection circuit. The output terminal of the second current detection circuit is connected to the second control unit. The second current detection circuit is used to obtain a second voltage value based on the operating current value of the second audible alarm circuit and send the second voltage value to the second control unit. The second control unit is used to determine the operating state of the second audible alarm circuit based on the second voltage value.
[0015] Optionally, the second audible alarm circuit includes a second speaker driving circuit and a second speaker, wherein one end of the second speaker driving circuit is connected to the second control unit, the other end of the second speaker driving circuit is connected to the second speaker, and the second speaker is connected to the input terminal of the first current detection circuit.
[0016] Optionally, the second current detection unit includes a second sampling resistor and a second operational amplifier circuit, wherein,
[0017] One end of the second sampling resistor is connected to the second speaker, and the other end of the second sampling resistor is connected to the second speaker driver circuit. The input terminal of the second operational amplifier circuit is connected to both ends of the second sampling resistor, and the output terminal of the second operational amplifier circuit is connected to the second control unit. The second operational amplifier circuit is used to differentially amplify the voltage value across the second sampling resistor obtained based on the operating current value of the second speaker to obtain a second voltage value, and send the second voltage value to the second control unit.
[0018] According to a second aspect of the present invention, an oxygen generator is provided, including an alarm device as described in any of the first aspects.
[0019] The alarm device provided by this embodiment includes a first control unit that controls a first sound alarm circuit to emit an alarm sound, a first current detection circuit that obtains a first voltage value based on the detected operating current value of the first sound alarm circuit, and sends the first voltage value to the first control unit. The first control unit is used to determine the operating state of the first sound alarm circuit based on the first voltage value, so that the sound alarm achieves closed-loop control, thereby making the sound alarm function more stable and reliable.
[0020] The features and advantages of the embodiments of this specification will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0021] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments of this specification and, together with their description, serve to explain the principles of these embodiments.
[0022] Figure 1 A structural block diagram of an alarm device according to an embodiment of the present invention is shown.
[0023] Figure 2 A structural block diagram of an alarm device according to an embodiment of the present invention is shown.
[0024] Figure 3 A structural block diagram of an alarm device according to an embodiment of the present invention is shown.
[0025] Figure 4 A structural block diagram of an alarm device according to an embodiment of the present invention is shown.
[0026] Figure 5 A schematic diagram of a first control unit according to an embodiment of the present invention is shown.
[0027] Figure 6 A schematic diagram of a second control unit according to one embodiment of the present invention is shown.
[0028] Figure 7 A circuit diagram of a first speaker driving circuit and a first current detection circuit according to an embodiment of the present invention is shown.
[0029] Figure 8 A circuit diagram of a first optical alarm unit according to an embodiment of the present invention is shown.
[0030] Figure 9 A circuit diagram of a second optical alarm unit according to an embodiment of the present invention is shown.
[0031] Figure 10 A structural block diagram of an oxygen generator according to an embodiment of the present invention is shown. Detailed Implementation
[0032] Various exemplary embodiments of this specification will now be described in detail with reference to the accompanying drawings.
[0033] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the embodiments of this specification or their application or use.
[0034] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0035] One embodiment of this utility model provides an alarm device. According to... Figure 1 As shown, the alarm device 100 includes a first control unit 110 and a first audible alarm unit 120. The first audible alarm unit 120 is electrically connected to the first control unit 110. The first audible alarm unit 120 includes a first audible alarm circuit 121 and a first current detection circuit 122. One end of the first audible alarm circuit 121 is connected to the first control unit 110, the other end of the first audible alarm circuit 121 is connected to the input terminal of the first current detection circuit 122, and the output terminal of the first current detection circuit 122 is connected to the first control unit 110.
[0036] The first current detection circuit 122 is used to obtain a first voltage value based on the operating current value of the first audible alarm circuit 121, and send the first voltage value to the first control unit 110. The first control unit 110 is used to determine the operating state of the first audible alarm circuit based on the first voltage value.
[0037] The first control unit 110 compares the first voltage value with a preset voltage range to obtain a comparison result. If the comparison result shows that the first voltage value is within the preset voltage range, the first audible alarm circuit 121 is determined to be operating normally. If the comparison result shows that the first voltage value is not within the preset voltage range, the first audible alarm circuit 121 is determined to be operating abnormally.
[0038] In this embodiment, the first control unit controls the first sound alarm circuit to emit an alarm sound, and the first current detection circuit obtains a first voltage value based on the detected operating current value of the first sound alarm circuit, and sends the first voltage value to the first control unit. The first control unit is used to determine the operating state of the first sound alarm circuit based on the first voltage value, so that the sound alarm can achieve closed-loop control, thereby making the sound alarm function more stable and reliable.
[0039] In one embodiment, according to Figure 2 As shown, with Figure 1 Unlike the alarm device 100 shown, the alarm device 200 includes a first control unit 110, a first audible alarm unit 120, and a first visual alarm unit 130. The circuits and connections within the first audible alarm unit 120 are as described in the above embodiments and will not be repeated here. The first visual alarm unit 130 is electrically connected to the first control unit 110. The first control unit 110 controls the first visual alarm unit 130 to emit a visual alarm signal, thus combining the audible and visual alarms to form a more effective alarm device.
[0040] In one embodiment, combined Figure 2The alarm device shown, when it is determined that the first audible alarm circuit 121 is abnormal, the first control unit 110 controls the first optical alarm unit 130 to emit an optical alarm signal to prompt the user that the audible alarm function of the alarm device is abnormal.
[0041] In one embodiment, according to Figure 3 As shown, with Figure 2 Unlike the alarm device 200 shown, the alarm device 300, in addition to including the first control unit 110, the first audible alarm unit 120, and the first visual alarm unit 130, also includes a second control unit 140 and a second visual alarm unit 150. One end of the second control unit 140 is electrically connected to the first control unit 110, and the other end of the second control unit 140 is electrically connected to the second visual alarm unit 150.
[0042] The first control unit 110 controls the first optical alarm unit 130 to emit an optical alarm signal. The second control unit 120 controls the second optical alarm unit 150 to emit an optical alarm signal. The first control unit 110 and the second control unit 120 each control one optical alarm unit, and the two control units operate independently. In the event of a failure of the first control unit 110 and / or the first optical alarm unit 130, the second control unit 120 controls the second optical alarm unit 150 to emit an optical alarm signal; conversely, in the event of a failure of the second control unit 120 and / or the second optical alarm unit 150, the first control unit 110 controls the first optical alarm unit 130 to emit an optical alarm signal, thus achieving backup control of the optical alarm system.
[0043] The first control unit 110 controls the first optical alarm unit 130 to emit an optical alarm signal. Simultaneously, the first control unit 110 communicates with the second control unit 120, enabling the second control unit 120 to control the second optical alarm unit 150 to emit an optical alarm signal. If only one of the first optical alarm unit 130 or the second optical alarm unit 150 emits an optical alarm signal, it can be determined that the optical alarm unit that did not emit an optical alarm signal has a problem and / or that the control unit corresponding to the non-emitting optical alarm signal has malfunctioned. This allows the two units to monitor each other.
[0044] In one embodiment, combined Figure 3 The alarm device shown, when it is determined that the first audible alarm circuit 121 is abnormal, the first control unit 110 controls the first optical alarm unit 130 to emit an optical alarm signal, and / or the second control unit 120 controls the first optical alarm unit 150 to emit an optical alarm signal, to prompt the user that the audible alarm function of the alarm device is abnormal.
[0045] In one embodiment, according to Figure 4 As shown, with Figure 3Unlike the alarm device 300 shown, the alarm device 400, in addition to including the first control unit 110, the first audible alarm unit 120, the first visual alarm unit 130, the second control unit 140, and the second visual alarm unit 150, also includes a second audible alarm unit 160. The second audible alarm unit 160 is connected to the second control unit 140. The second audible alarm unit 160 includes a second audible alarm circuit 161 and a second current detection circuit 162. One end of the second audible alarm circuit 161 is connected to the second control unit 140, the other end of the second audible alarm circuit 161 is connected to the input terminal of the second current detection circuit 162, and the output terminal of the second current detection circuit 162 is connected to the second control unit 140.
[0046] The second current detection circuit 162 is used to obtain a second voltage value based on the operating current value of the second audible alarm circuit 161, and send the second voltage value to the second control unit 140. The second control unit 140 is used to determine the operating state of the second audible alarm circuit 161 based on the second voltage value.
[0047] When the first control unit 110 receives a fault signal, it controls the first audible alarm unit 120 to emit an alarm sound. Simultaneously, the first control unit 110 communicates with the second control unit 120, enabling the second control unit 120 to control the second audible alarm unit 160 to emit an alarm sound. In the event of a fault in the first control unit 110 and / or the first audible alarm unit 120, the second control unit 120 controls the second audible alarm unit 160 to emit an alarm sound. Conversely, in the event of a fault in the second control unit 120 itself and / or the second audible alarm unit 160, the first control unit 110 controls the first audible alarm unit 120 to emit an alarm sound, thus implementing backup control for the audible alarm. If only one of the first audible alarm unit 120 or the second audible alarm unit 160 emits an alarm sound, it can be determined that the audible alarm unit that did not emit an alarm sound has a problem and / or that the control unit corresponding to the audible alarm sound has a fault, thereby enabling the two units to monitor each other.
[0048] In some embodiments, according to Figure 5 As shown, the first control unit uses a 100-pin GD32F303VET6 chip U2A to realize signal acquisition and processing, communication, display, alarm and other functions. According to Figure 6 As shown, the second control unit uses a 48-pin GD32F303CCT6 chip U3. The first and second control units communicate via U1ATX and U1ARX.
[0049] In some embodiments, the first alarm circuit includes a first speaker driving circuit and a first speaker. One end of the first speaker driving circuit is connected to a first control unit, and the other end of the first speaker driving circuit is connected to the first speaker. The first speaker is connected to the input terminal of a first current detection circuit.
[0050] The first speaker driver circuit includes a voice chip. This voice chip communicates with a first control unit and is connected to the first speaker. Based on control commands output by the first control unit, the voice chip drives the first speaker to emit an alarm sound. The voice chip can obtain a voice package, which includes multiple voice files, each corresponding to a specific alarm sound. Based on control commands output by the first control unit, the voice chip calls the corresponding voice file and drives the first speaker to emit the alarm sound corresponding to that voice file.
[0051] In some embodiments, the first current detection circuit includes a first sampling resistor and a first operational amplifier circuit. One end of the first sampling resistor is connected to a first speaker, and the other end of the first sampling resistor is connected to a first speaker driver circuit. The input terminal of the first operational amplifier circuit is connected to both ends of the first sampling resistor, and the output terminal of the first operational amplifier circuit is connected to a first control unit. The first operational amplifier circuit is used to differentially amplify the voltage value across the first sampling resistor, which is obtained based on the operating current value of the first speaker, to obtain a first voltage value, and then sends the first voltage value to the first control unit.
[0052] In some embodiments, the second audible alarm circuit includes a second speaker driving circuit and a second speaker. One end of the second speaker driving circuit is connected to the second control unit, and the other end of the second speaker driving circuit is connected to the second speaker. The second speaker is connected to the input terminal of the second current detection circuit.
[0053] The second speaker driver circuit includes a voice chip. This voice chip communicates with the second control unit and is connected to the second speaker. Based on control commands output by the second control unit, the voice chip drives the second speaker to emit an alarm sound. The voice chip can obtain a voice package containing multiple voice files, each corresponding to a specific alarm sound. Based on control commands output by the second control unit, the voice chip calls the corresponding voice file and drives the second speaker to emit the alarm sound corresponding to that voice file.
[0054] In some embodiments, the second current detection circuit includes a second sampling resistor and a second operational amplifier circuit. One end of the second sampling resistor is connected to a second speaker, and the other end of the second sampling resistor is connected to a second speaker driver circuit. The input terminal of the second operational amplifier circuit is connected to both ends of the second sampling resistor, and the output terminal of the second operational amplifier circuit is connected to a second control unit. The second operational amplifier circuit is used to differentially amplify the voltage value across the second sampling resistor obtained based on the operating current value of the second speaker to obtain a second voltage value, and then send the second voltage value to the second control unit.
[0055] The following circuit diagram illustrates the specific schematics of the first alarm circuit and the first current detection circuit.
[0056] according to Figure 7 As shown, the first speaker driver circuit includes a voice chip UI of model WT588F02B-8S. This voice chip obtains voice packets via the P1 interface, and these voice packets contain multiple voice files. The voice chip receives control commands output by the first control unit via SPEAKER DATA1 or SPEAKER DATA2. Based on the received control commands, the voice chip calls the corresponding voice file and drives the first speaker SP1 to emit the alarm sound corresponding to the called voice file.
[0057] according to Figure 7 As shown, the first current detection circuit includes a first sampling resistor R10 and a first operational amplifier circuit AD8515ARTZ-REEL7. When the alarm device enters self-test mode, the first speaker SP1 emits an alarm sound. The speaker's operating current is in the range of 340mA to 520mA. After the solenoid valve operates normally, the voltage U1 across the sampling resistor R10 is in the range of 34mV to 52mV. The amplification factor K of the first operational amplifier circuit is K = R12 / R11 = 100 / 3.3 = 30.3. The first voltage value U2 after amplification by the first operational amplifier circuit is K * U1. The first operational amplifier circuit is used to send the first voltage value U2 to the first control unit. The first control unit is used to compare the first voltage value U2 with a preset voltage range to obtain a comparison result. If the comparison result shows that the first voltage value U2 is within the preset voltage range, the operating state of the first alarm circuit is determined to be normal. If the comparison result shows that the first voltage value U2 is not within the preset voltage range, the operating state of the first alarm circuit is determined to be abnormal.
[0058] It should be noted that the second alarm circuit and the second current detection circuit can refer to the above. Figure 7 The diagram shown is a schematic diagram.
[0059] In some embodiments, the first optical alarm unit includes a first power supply, a first indicator light, and a first transistor. One end of the first indicator light is connected to the first power supply, and the other end of the first indicator light is connected to the collector of the first transistor. The base of the first transistor is connected to a first control unit, and the emitter of the first transistor is grounded. The first control unit is used to control the first transistor to turn on so that the first indicator light emits an optical alarm prompt.
[0060] The second light alarm unit includes a second power supply, a second indicator light, and a second transistor. One end of the second indicator light is connected to the second power supply, and the other end is connected to the collector of the second transistor. The base of the second transistor is connected to the second control unit, and the emitter of the second transistor is grounded. The second control unit is used to control the second transistor to turn on, so that the second indicator light emits a light alarm.
[0061] according to Figure 8 As shown, the first optical alarm unit comprises a 5V power supply, a first transistor Q1, and a first indicator light D1. One end of the first indicator light D1 is connected to a resistor R2, the other end of which is connected to the 5V power supply. The other end of the first indicator light D1 is connected to the collector of the first transistor Q1. The base of the first transistor Q1 is connected to a resistor R4, which is connected to the first control unit via an LEDY interface. The emitter of the first transistor Q1 is grounded. The first control unit outputs a high-level signal via the LEDY interface. Upon receiving the high-level signal, the first transistor Q1 conducts, illuminating the first indicator light D1.
[0062] according to Figure 9 As shown, the second light alarm unit consists of a 5V power supply, a second transistor Q2, and a second indicator light D2. One end of the second indicator light D2 is connected to a resistor R1, the other end of which is connected to the 5V power supply. The other end of the second indicator light D2 is connected to the collector of the second transistor Q2. The base of the second transistor Q2 is connected to a resistor R3, which is connected to the second control unit via an LEDY interface. The emitter of the second transistor Q2 is grounded. The second control unit outputs a high-level signal via the LEDY interface. Upon receiving the high-level signal, the second transistor Q2 conducts, illuminating the second indicator light D2.
[0063] In some embodiments, the first indicator light and the second indicator light are arranged adjacent to each other. When the first control unit receives a fault signal, the first indicator light and the second indicator light illuminate simultaneously to prompt the user to perform fault repair, making the light alarm function more stable and reliable. When the first control unit receives a fault signal and only one of the first and second indicator lights illuminates, it can be determined that at least one of the unilluminated indicator light, the transistor corresponding to the unilluminated indicator light, and the control unit corresponding to the transistor has malfunctioned, thus reminding the user that the light alarm control itself has experienced a partial fault.
[0064] The first and second indicator lights can be configured to be the same color or different colors.
[0065] One embodiment of this utility model provides an oxygen generator, according to... Figure 10 As shown, the oxygen generator includes an alarm device as provided in any of the above embodiments.
[0066] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.
[0067] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims.
[0068] Various embodiments of this specification have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. An alarm device, characterized in that The alarm device comprises a first sound alarm unit and a first control unit electrically connected with the first sound alarm unit, the first sound alarm unit comprises a first sound alarm circuit and a first current detection circuit, one end of the first sound alarm circuit is connected to the first control unit, the other end of the first sound alarm circuit is connected to the input end of the first current detection circuit, the output end of the first current detection circuit is connected to the first control unit, the first current detection circuit is used for obtaining a first voltage value based on the working current value of the first sound alarm circuit and sending the first voltage value to the first control unit, and the first control unit is used for determining the working state of the first sound alarm circuit according to the first voltage value.
2. The alarm device of claim 1, wherein, The alarm device further comprises a first light alarm unit electrically connected with the first control unit.
3. The alarm device of claim 2, wherein, The alarm device further comprises a second control unit and a second light alarm unit, one end of the second control unit is electrically connected with the first control unit, and the other end of the second control unit is electrically connected with the second light alarm unit.
4. The alarm device of claim 1, wherein, The first sound alarm circuit comprises a first loudspeaker driving circuit and a first loudspeaker, one end of the first loudspeaker driving circuit is connected to the first control unit, the other end of the first loudspeaker driving circuit is connected to the first loudspeaker, and the first loudspeaker is connected to the input end of the first current detection circuit.
5. The alarm device of claim 4, wherein, The first current detection circuit comprises a first sampling resistor and a first operational amplifier circuit, one end of the first sampling resistor is connected to the first loudspeaker, the other end of the first sampling resistor is connected to the first loudspeaker driving circuit, the input end of the first operational amplifier circuit is connected to the two ends of the first sampling resistor, the output end of the first operational amplifier circuit is connected to the first control unit, and the first operational amplifier circuit is used for differentially amplifying the voltage value at the two ends of the first sampling resistor based on the working current value of the first loudspeaker to obtain a first voltage value and sending the first voltage value to the first control unit. The first light alarm unit comprises a first power supply, a first indicator lamp and a first triode, one end of the first indicator lamp is connected to the first power supply, the other end of the first indicator lamp is connected to the collector of the first triode, the base of the first triode is connected to the first control unit, the emitter of the first triode is grounded, and the first control unit is used for controlling the first triode to be turned on so that the first indicator lamp emits light alarm prompt; 6. The alarm device according to claim 3, characterized in that The second light alarm unit comprises a second power supply, a second indicator lamp and a second triode, one end of the second indicator lamp is connected to the second power supply, the other end of the second indicator lamp is connected to the collector of the second triode, the base of the second triode is connected to the second control unit, the emitter of the second triode is grounded, and the second control unit is used for controlling the second triode to be turned on so that the second indicator lamp emits light alarm prompt. 7. The alarm device of claim 3, wherein The alarm device further comprises a second sound alarm unit electrically connected to the second control unit, wherein The second sound alarm unit comprises a second sound alarm circuit and a second current detection circuit, one end of the second sound alarm circuit is connected to the second control unit, the other end of the second sound alarm circuit is connected to the input end of the second current detection circuit, the output end of the second current detection circuit is connected to the second control unit, the second current detection circuit is used to obtain a second voltage value based on the working current value of the second sound alarm circuit and send the second voltage value to the second control unit, and the second control unit is used to determine the working state of the second sound alarm circuit according to the second voltage value.
8. The alarm device of claim 7, wherein, The second sound alarm circuit comprises a second speaker driving circuit and a second speaker, one end of the second speaker driving circuit is connected to the second control unit, the other end of the second speaker driving circuit is connected to the second speaker, and the second speaker is connected to the input end of the first current detection circuit.
9. The alarm device of claim 8, wherein, The second current detection circuit comprises a second sampling resistor and a second operational amplifier circuit, wherein One end of the second sampling resistor is connected to the second speaker, the other end of the second sampling resistor is connected to the second speaker driving circuit, the input end of the second operational amplifier circuit is connected to the two ends of the second sampling resistor, the output end of the second operational amplifier circuit is connected to the second control unit, and the second operational amplifier circuit is used to differentially amplify the voltage value at the two ends of the second sampling resistor based on the working current value of the second speaker to obtain a second voltage value and send the second voltage value to the second control unit.
10. An oxygen generator, characterized by comprising: The alarm device comprises any one of claims 1-9.