Audible-visual alarm for 4-20mA loop and implementation method thereof
By setting up a power conversion module and energy storage circuit in the acousto-optical alarm, converting the input signal of 4 to 20mA into a working power supply, the problem of difficulty in realizing direct acousto-optical alarm in the 4-20mA loop in the prior art is solved, and the effect of simplifying wiring and reducing the power load is achieved.
Patent Information
- Application Number
- CN202410182558.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2025-03-14
AI Technical Summary
It is difficult to achieve direct 4-20mA loop acoustic and optical alarms in industrial sites, and adding an alarm will increase the load of the original power supply system, affect the stability of the equipment, and complex wiring.
A sound-optical alarm for 4-20mA circuit is designed. By setting up a power conversion module in the sound-optical alarm, the input signal of 4-20mA is converted into a power supply power supply, and converted into a working power supply through a charging circuit and an energy storage circuit for use in a drive circuit and an acousto-optical circuit to realize direct alarm.
Direct sound and light alarm in the two-wire 4-20mA instrument performance field is realized, avoiding increasing the load of the alarm on the original power supply system, simplifying the wiring process, and reducing engineering costs.
Smart Images

Figure CN119625897A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of industrial signal detection and alarm, and in particular to an audible and visual alarm for a 4-20 mA loop and a realization method thereof. Background Art
[0002] In the field of industrial inspection, safety inspection and alarm involve every corner of the industrial site, and the application of sound and light alarms as on-site alarm prompts is ubiquitous.
[0003] At present, most of the sound and light alarms on site use direct power supply alarm, power supply + IO trigger alarm and other methods. These methods require the equipment connected to the alarm to have the power supply and alarm output capabilities of the alarm. However, in many cases, the alarms on site are mostly added later, and the existing installed equipment does not consider the power consumption of the alarm. The alarm itself consumes a lot of power when it alarms. The added alarms will inevitably increase the load of the original power supply system, bring many uncertainties to the original equipment and signal detection, destroy the stability of the original equipment, and make the wiring complicated.
[0004] Furthermore, the on-site two-wire 4-20mA transmitter is widely used as a signal detection device. If an on-site alarm is to be added, the 4-20mA signal needs to be detected by the DCS in the control room and then transmitted to the site for on-site alarm. This results in complex lines, more fault points, and increased engineering costs. Summary of the invention
[0005] The invention provides an audible and visual alarm for a 4-20mA loop and an implementation method thereof, which can solve the problem of on-site direct audible and visual alarm of a two-wire 4-20mA instrument.
[0006] In the first aspect, the present invention provides an audible and visual alarm for a 4-20mA loop and an implementation method thereof, the audible and visual alarm comprising a shell and a control circuit arranged inside the shell, the control circuit comprising: an input circuit, a charging circuit, an energy storage circuit, a processor, a driving circuit and an audible and visual circuit; the input circuit receives an input signal of 4-20mA and converts the input signal of 4-20mA into a power supply; the input end of the charging circuit is connected to the output end of the input circuit; the input end of the energy storage circuit is connected to the output end of the charging circuit; after being charged by the charging circuit, a working power supply for the driving circuit and the audible and visual circuit is formed and output by the output end of the energy storage circuit; the processor is connected to the input circuit, the power supply supplies power to the processor, and the processor collects the input signal of 4-20mA in the input circuit; the input end of the driving circuit is connected to the output end of the processor, and the power supply end is connected to the output end of the energy storage circuit; the input end of the audible and visual circuit is connected to the output end of the driving circuit to perform an audible and visual alarm.
[0007] In a possible implementation, the input circuit includes a power conversion module and a sampling resistor connected in series.
[0008] In a possible implementation, the power conversion module includes a parallel voltage regulator and its peripheral circuits, and is used to convert a current source input by an input circuit into a voltage source.
[0009] In a possible implementation, the charging circuit includes a first controllable switch, a boost circuit, and a charging management circuit; the processor is connected to the first controllable switch and the charging management circuit to control the operation of the first controllable switch and the charging management circuit.
[0010] In a possible implementation, the energy storage circuit includes: a second diode and an energy storage device; an electric quantity detection circuit is provided between the processor and the energy storage circuit; the electric quantity detection circuit includes a voltage detection circuit and a controllable analog load circuit, which is used to detect the voltage, capacity and internal resistance of the energy storage device in the energy storage circuit;
[0011] In a possible implementation, the sound and light alarm is also provided with a display screen and a wireless communication module; the display screen is arranged in the display window of the sound and light alarm to display the detection data, power information and alarm information of the sound and light alarm; the sound and light alarm is connected to the host computer through the wireless communication module to transmit the detection data, power information and alarm information to the host computer, and receive the setting parameters input by the host computer to the sound and light alarm.
[0012] In a second aspect, the present invention provides an audible and visual alarm for a 4-20mA loop and an implementation method thereof, which is applied to the audible and visual alarm of the first aspect and any possible implementation method, and the implementation method includes: obtaining a signal to be detected; determining whether to alarm based on the input current of the signal to be detected and a preset alarm threshold; if an alarm occurs, outputting an alarm control signal; and controlling a driving circuit to drive an audible and visual circuit to alarm based on the alarm control signal; and sending alarm information data to a remote wireless receiving end through a wireless module; if an alarm occurs, the audible and visual circuit and driving circuit of the audible and visual alarm are powered by the stored power of the energy storage device and the residual current of the machine.
[0013] In one possible implementation, if an alarm is triggered, an alarm control signal is output; and based on the alarm control signal, a driving circuit is controlled to drive an acousto-optic circuit to sound an alarm, including: if an alarm is triggered, an alarm level of the alarm is determined based on an input current of a signal to be detected and a set alarm threshold parameter; if the alarm level is a first level, the acousto-optic circuit is controlled to sound an alarm at a first frequency and to indicate an indicator light alarm at a first color; if the alarm level is a second level, the acousto-optic circuit is controlled to sound an alarm at a second frequency and to indicate an indicator light alarm at a second color.
[0014] In a possible implementation, the sound and light alarm uses a low-power processor and its peripheral working circuit to make the local working current less than 4mA, and the residual current of the sound and light alarm is used to charge the energy storage circuit, and the residual current is the difference between the input current of the sound and light alarm and the working current of the local unit; the implementation method also includes: detecting the residual power of the energy storage device in the energy storage circuit of the sound and light alarm and the 4-20mA input current value; calculating the residual current of the sound and light alarm; if the residual power of the energy storage device is less than the power threshold, selecting the corresponding charging current gear according to the residual current value, and the processor of the sound and light alarm turns on the charging control switch to charge the energy storage circuit; if the residual power of the energy storage device is greater than or equal to the power threshold, turning off the charging control switch to stop charging.
[0015] In one possible implementation, the sound and light alarm also includes a non-contact control module, and the non-contact control module includes a non-contact magnetic induction sensor or a non-contact optical induction sensor; the implementation method also includes: when the sound and light alarm is working, the non-contact control module is controlled to set parameters and view information to achieve human-computer interaction; when the detection data does not alarm, the non-contact control module is controlled to perform self-inspection on the sound and light simulation alarm of the sound and light alarm to verify whether the components of the sound and light alarm are normal; when there is an alarm and a sound and light alarm is sounded, the non-contact control module is controlled to indicate that the alarm information has been confirmed and the sound and light alarm works in a confirmed manner.
[0016] The present invention provides an audible and visual alarm for a 4-20mA loop and an implementation method thereof. The present invention sets a power conversion module in the audible and visual alarm to convert the 4-20mA input signal into a power supply, and then converts it into a working power supply through a charging circuit and an energy storage circuit. The power supply supplies power to the processor, and the working power supplies power to the driving circuit, so that the audible and visual alarm can work normally. Furthermore, the present invention samples the 4-20mA input signal through a sampling resistor and transmits it to the processor to realize the monitoring of the 4-20mA input signal. When an alarm is required, the alarm can be directly issued through the driving circuit and the audible and visual circuit, thereby solving the problem of direct audible and visual alarm on site of a two-wire 4-20mA instrument. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1 It is a structural schematic diagram of an audible and visual alarm for a 4-20mA loop provided by an embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram of the external structure of an audible and visual alarm for a 4-20mA loop provided by an embodiment of the present invention;
[0020] Figure 3 It is a cross-sectional schematic diagram of an audible and visual alarm for a 4-20mA loop provided by an embodiment of the present invention;
[0021] Figure 4 It is a cross-sectional schematic diagram of another sound and light alarm for a 4-20mA loop provided by an embodiment of the present invention;
[0022] Figure 5 is a structural schematic diagram of a control circuit provided by an embodiment of the present invention;
[0023] Figure 6 is a structural schematic diagram of an input circuit provided by an embodiment of the present invention;
[0024] Figure 7 is a structural schematic diagram of a charging circuit provided by an embodiment of the present invention;
[0025] Figure 8 It is a structural schematic diagram of a driving circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0027] In the description of the present invention, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.
[0028] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0029] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0030] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following will be described through specific embodiments in conjunction with the accompanying drawings of the present invention.
[0031] As described in the background art, the current sound and light alarms have the problem of difficulty in on-site wiring and inability to realize direct alarm.
[0032] To solve the above technical problems, Figure 1 As shown, the embodiment of the present invention provides an audible and visual alarm for a 4-20 mA loop and an implementation method thereof. The audible and visual alarm 100 includes a housing 21 and a control circuit disposed inside the housing 21, and the control circuit includes: an input circuit 110, a charging circuit 140, an energy storage circuit 150, a processor 120, a driving circuit 130 and an audible and visual circuit 160.
[0033] The input circuit 110 receives an input signal of 4-20 mA and converts the input signal of 4-20 mA into a power supply.
[0034] An input terminal of the charging circuit 140 is connected to an output terminal of the input circuit 110 .
[0035] The input end of the energy storage circuit 150 is connected to the output end of the charging circuit 140 ; after being charged by the charging circuit 140 , the working power of the driving circuit 130 and the sound and light circuit 160 is formed and outputted from the output end of the energy storage circuit 150 .
[0036] The processor 120 is connected to the input circuit 110, the power supply supplies power to the processor 120, and the processor 120 collects the 4-20mA input signal in the input circuit;
[0037] An input end of the driving circuit 130 is connected to an output end of the processor 120 , and a power supply end is connected to an output end of the energy storage circuit 150 .
[0038] The input end of the sound and light circuit 160 is connected to the output end of the driving circuit 130 to generate sound and light alarm.
[0039] The present invention provides an audible and visual alarm for a 4-20mA loop and an implementation method thereof. A power conversion module is provided in the audible and visual alarm to convert the 4-20mA input signal into a power supply, and then convert it into a working power supply through a charging circuit and an energy storage circuit. The power supply supplies power to the processor, and the working power supplies power to the driving circuit, so that the audible and visual alarm can work normally. Furthermore, the present invention samples the 4-20mA input signal through a sampling resistor and transmits it to the processor to realize the monitoring of the 4-20mA input signal. When an alarm is required, the alarm can be directly issued through the driving circuit and the audible and visual circuit, solving the problem of direct on-site alarm of a two-wire 4-20mA instrument. The audible and visual alarm provided by the present invention is loop-powered and has low power consumption.
[0040] like Figure 2 , Figure 3 , Figure 4 As shown, the sound and light alarm 100 provided by the present invention includes a housing 21, an alarm lamp cover 22 and a display screen 23; wherein the alarm lamp cover 22 is arranged above the housing 21. An alarm lamp 221 and a wireless communication component are arranged in the alarm lamp cover 22. The number of the alarm lamps 221 can be one group or multiple groups. The display screen 23 is arranged in the display window of the housing 21.
[0041] The sound and light alarm 100 is also provided with a communication interface, which is used to connect to a host computer or other equipment. For example, the communication interface and the 4-20mA input signal are led out through the communication interface and transmitted to an external device or a host computer.
[0042] In some embodiments, an acoustic device cover 24 is disposed at the bottom of the housing 21. An acoustic device 241 is disposed in the acoustic device cover 24.
[0043] In some embodiments, the control circuit in the sound and light alarm 100 constitutes a control board 25 , and the control board 25 is arranged inside the sound and light alarm 100 , between the alarm light 221 and the sound device cover 24 .
[0044] Exemplarily, a potting glue 26 is provided between the alarm lamp cover 22 and the alarm lamp 221 , and between the housing 21 and the control panel 25 . The potting glue 26 is a transparent casting material so that the sound and light alarm 100 can be applied to explosion-proof hazardous places.
[0045] Optional, such as Figure 5As shown, the present invention provides a schematic diagram of a control circuit of an audible and visual alarm for a 4-20mA loop. After receiving a 4-20mA input signal, the audible and visual alarm converts the 4-20mA input signal into a power supply VCC1 through a power conversion module, and then converts it into a working power supply VCC2 through a charging circuit and an energy storage circuit. The power supply VCC1 supplies power to the processor, and the working power supply VCC2 supplies power to the drive circuit, so that the processor and the drive circuit can work normally. On the other hand, the audible and visual alarm samples the 4-20mA input signal through a sampling resistor, and inputs it into the processor through a signal amplification circuit. When an alarm is required, the audible and visual circuit is driven by the drive circuit to sound and light alarm.
[0046] Illustratively, when the present invention detects a 4-20mA input signal, it can not only solve the power supply problem of the alarm equipment well, but also does not need a separate power supply. The power supply of the sound and light alarm is obtained by 4-20mA conversion, and the power is directly taken from the loop. The loop voltage drop is small, the requirements for the original equipment are low, and the impact is small. It has no effect on signal detection, and the installation position is flexible and convenient. Not only can the alarm value be easily set and the sound and light alarm be performed, but it can also be used for loop detection display and wireless active alarm.
[0047] In some embodiments, the sound and light alarm 100 is provided with one or more levels of alarm, and the alarm threshold is set by a processor; the sound and light circuit includes multiple groups of alarm lights and speakers, and the multiple groups of alarm lights and speakers are controlled by a multi-way switch, and the multiple groups of alarm lights display multiple colors under control, and the speakers alarm at multiple frequencies under control, thereby realizing one or more levels of alarm of the sound and light alarm.
[0048] In some embodiments, the power conversion module 111 converts the 4-20mA current source into a working power supply VCC1, which is used for the detection circuit components in the circuit, and at the same time, the energy storage device is charged through the charging circuit 140 to obtain the working power supply VCC2, which is used as the working power supply for the alarm drive. The processor with ADC receives the sampling resistance signal that is proportional to the input 4-20mA and amplified, and determines the output signal to the driving circuit to drive the light-emitting element and the sound-emitting element according to the set alarm value.
[0049] Optionally, the input circuit 110 includes a power conversion module 111 and a sampling resistor R0 connected in series.
[0050] In some embodiments, Figure 6 As shown, the first end of the power conversion module 111 constitutes the first input end of the input circuit 110 , the second end of the power conversion module 111 is connected to the first end of the sampling resistor R0 and then grounded; the second end of the sampling resistor R0 constitutes the second input end of the input circuit 110 .
[0051] In other embodiments, the first end of the sampling resistor R0 constitutes the first input end of the input circuit 110 , the second end of the sampling resistor R0 is connected to the first end of the power conversion module 111 , and the second end of the power conversion module 111 is grounded to constitute the second input end of the input circuit 110 .
[0052] Exemplarily, the power conversion module 111 includes a parallel voltage regulator Z1 and its peripheral circuits, and is used to convert the current source input by the input circuit 110 into a voltage source.
[0053] Optional, such as Figure 7 As shown, an embodiment of the present invention provides a schematic diagram of the structure of a charging circuit. The charging circuit 140 includes a first controllable switch T1, a boost circuit 141 and a charging management circuit 142. The processor 120 is connected to the first controllable switch T1 and the charging management circuit 142 to control the operation of the first controllable switch T1 and the charging management circuit 142.
[0054] The first end of the first controllable switch T1 is connected to the output end of the power conversion module 111, the second end of the first controllable switch T1 is connected to the first end of the boost circuit 141, the second end of the boost circuit 141 is connected to the first end of the charging management circuit 142, and the second end of the charging management circuit 142 constitutes the output end of the charging circuit 140. The third end of the first controllable switch T1 is connected to the processor 120, and the third end of the charging management circuit 142 is connected to the processor 120.
[0055] Exemplarily, the charging management circuit 142 may be a programmable charging circuit that charges the energy storage circuit 150 under the control of the processor 120 .
[0056] Optional, such as Figure 5 As shown, the energy storage circuit 150 includes: a second diode D2 and an energy storage device.
[0057] The anode of the second diode D2 is connected to the output end of the charging circuit 140 , the cathode of the second diode D2 is connected to the first end of the energy storage device, the second end of the energy storage device is grounded, and the first end of the energy storage device constitutes the output end of the energy storage circuit 150 .
[0058] In some embodiments, the energy storage device may be a rechargeable battery, or a capacitor. Figure 5 As shown, the energy storage device can be Figure 5 Rechargeable battery C3 is shown.
[0059] Optional, such as Figure 5 As shown, a signal amplifying circuit 170 is disposed between the processor 120 and the sampling resistor R0. The signal amplifying circuit 170 amplifies the sampling signal of the sampling resistor R0.
[0060] In some embodiments, an input end of the signal amplifying circuit 170 is connected to two ends of the sampling resistor R0 , and an output end of the signal amplifying circuit 170 is connected to an input end of the processor 120 .
[0061] Optional, such as Figure 5 As shown, a power detection circuit 121 is provided between the processor 120 and the energy storage circuit 150. The power detection circuit 121 includes a voltage detection circuit and a controllable analog load circuit, which is used to detect the voltage, capacity and internal resistance of the energy storage device in the energy storage circuit. Exemplarily, the processor 120 can detect data such as the voltage, capacity and internal resistance of the energy storage device through the power detection circuit.
[0062] In some embodiments, the voltage detection circuit includes a fourth resistor R4 and a fifth resistor R5.
[0063] Exemplarily, a first end of the fourth resistor R4 is connected to the output end of the energy storage circuit 150 , a second end of the fourth resistor R4 is connected to the first end of the fifth resistor R5 and then connected to the processor 120 ; a second end of the fifth resistor R5 is grounded.
[0064] It should be noted that the fourth resistor R4 and the fifth resistor R5 form a voltage divider circuit, and the processor 120 detects the voltage value between the fourth resistor R4 and the fifth resistor R5 to detect the voltage of the energy storage device, thereby detecting the power of the energy storage circuit.
[0065] In some embodiments, the controllable simulated load circuit is a known controlled resistance load, including a resistor RL and a controlled switch K. The first end of the resistor RL is connected to the output end of the energy storage circuit, the second end is connected to the first end of the controlled switch K, the second end of K is grounded, and the third end of K is connected to the processor 120 and controlled by it. When the sound and light alarm is working normally, the controlled switch K is closed for a short time to connect the controllable simulated load to the load of the energy storage circuit, and synchronously samples the voltage of the energy storage circuit. According to the voltage of the energy storage circuit under different load conditions and the known simulated load size, the internal resistance and remaining power of the energy storage element in the energy storage circuit are calculated.
[0066] In some embodiments, the controllable simulated load circuit may also be a known controlled constant current load.
[0067] Optional, such as Figure 8 As shown, an embodiment of the present invention provides a schematic diagram of the structure of a driving circuit. The driving circuit 130 includes a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a second controllable switch T2, a third controllable switch T3 and a fourth controllable switch T4; the sound and light circuit 160 includes a first alarm light EL1, a second alarm light EL2, a third alarm light EL3, a fourth alarm light E14 and a speaker SP.
[0068] Among them, the first end of the sixth resistor R6 is connected to the output end of the energy storage circuit 150, and the second end of the sixth resistor R6 is connected to the first end of the first alarm light EL1; the first end of the seventh resistor R7 is connected to the output end of the energy storage circuit 150, and the second end of the seventh resistor R7 is connected to the first end of the second alarm light EL2; after the second end of the first alarm light EL1 and the second end of the second alarm light EL2 are connected, they are connected to the first end of the second controllable switch T2, the second end of the second controllable switch T2 is grounded, and the third end of the second controllable switch T2 is connected to the output end of the processor 120 to receive the processor output signal.
[0069] The first end of the eighth resistor R8 is connected to the output end of the energy storage circuit 150, and the second end of the eighth resistor R8 is connected to the first end of the third alarm light EL3; the first end of the ninth resistor R9 is connected to the output end of the energy storage circuit 150, and the second end of the ninth resistor R9 is connected to the first end of the fourth alarm light EL4; the second end of the third alarm light EL3 and the second end of the fourth alarm light EL4 are connected, and then connected to the first end of the third controllable switch T3; the second end of the third controllable switch T3 is grounded, and the third end of the third controllable switch T3 is connected to the output end of the processor 120 to receive the processor output signal.
[0070] The first end of the speaker SP is connected to the output end of the energy storage circuit 150, and the second end of the speaker SP is connected to the first end of the fourth controllable switch T4; the second end of the fourth controllable switch T4 is grounded, and the third end of the fourth controllable switch T4 is connected to the output end of the processor 120 to receive the processor output signal.
[0071] Optionally, the sound and light alarm 100 is provided with one or more levels of alarm, and the alarm threshold is set by the processor 120; the sound and light circuit 160 includes multiple groups of alarm lights EL and speakers SP, and the multiple groups of alarm lights EL and speakers SP are controlled by a multi-way switch, and the multiple groups of alarm lights EL display multiple colors under control, and the speakers SP alarm at multiple frequencies under control, thereby realizing one or more levels of alarm of the sound and light alarm 100.
[0072] The sound and light alarm 100 further includes an alarm lamp cover 22 and an acoustic protection cover 24 ; the alarm lamp 221 is disposed in the alarm lamp cover 22 , and the speaker SP is disposed in the acoustic protection cover 24 .
[0073] During normal operation, the sound and light alarm 100 is connected in series to the 4-20mA loop being detected. The sound and light alarm 100 displays the current loop current parameters and can also be converted into data such as engineering quantities that conform to on-site practices. When the loop current is not within the alarm range, the excess electrical energy beyond the working current is used to charge the energy storage device for use in an alarm. When the loop current exceeds the set alarm limit, the processor 120 sends an instruction to the drive circuit to drive the sound and light alarm to issue a corresponding alarm.
[0074] Optionally, the sound and light alarm 10 is further provided with a display screen 23 and a wireless communication module 180. The display screen 23 is provided in the display window of the sound and light alarm 100, and displays the detection data, power information and alarm information of the sound and light alarm 100; the sound and light alarm 100 is connected to the host computer through the wireless communication module 180. Among them, the display screen 23 displays the current sampling value, the alarm state and the power state of the energy storage device.
[0075] In this way, the sound and light alarm 100 transmits detection data, power information and alarm information to the host computer through the wireless communication module 180 , and receives setting parameters input by the host computer to the sound and light alarm 100 .
[0076] Optional, such as Figure 5 As shown, the control circuit provided in the embodiment of the present invention further includes a communication circuit, a first end of the communication circuit is connected to the processor; and a second end of the communication circuit is connected to an external device.
[0077] The sound and light alarm transmits detection data, power information and alarm information to external equipment through the communication circuit, and receives the setting parameters input by the external equipment to the sound and light alarm.
[0078] Exemplarily, the communication circuit may include a communication interface 181 and a wireless communication module 180. The present invention may implement RS485 wired communication through the communication interface. Or the present invention may implement low-power long-distance wireless communication through a wireless communication module. The present invention may set the parameters of the sound and light alarm or obtain data information of the sound and light alarm through the communication circuit.
[0079] In some embodiments, the sound and light alarm 100 further includes a contactless control module 190 , and the contactless control module 190 includes a contactless magnetic induction sensor or a contactless optical induction sensor.
[0080] The contactless control module 190 can receive control signals from the outside of the shell, which can be used to confirm the operation during an alarm, record the staff's knowledge and confirmation of the alarm information, and can also be used to perform self-inspection operations on the equipment when there is no alarm, so that the staff can check the working status of the equipment when there is no alarm and rehearse the alarm, to ensure reliability and accuracy during the alarm.
[0081] Exemplarily, the control module uses a Hall switch device, the output of the Hall device is connected to the processor, a magnetic rod is used outside the shell to sense the corresponding position of the Hall device, and the sound and light alarm performs corresponding actions according to a predetermined sensing sequence.
[0082] Optionally, the embodiment of the present invention further provides a method for implementing an audible and visual alarm for a 4-20 mA loop, which is applied to Figure 1-8The sound and light alarm shown, the implementation method includes steps S301-S303.
[0083] S301: Acquire a signal to be detected.
[0084] S302: Determine whether to alarm based on the input current of the signal to be detected and a preset alarm threshold.
[0085] S303: If an alarm occurs, an alarm control signal is output, and based on the alarm control signal, the driving circuit is controlled to drive the sound and light circuit to alarm, and the alarm information data is sent to a remote wireless receiving terminal through a wireless module.
[0086] As a possible implementation method, if an alarm is sounded, the stored electricity of the energy storage device and the residual current of the machine are used to power the sound and light circuit and the driving circuit of the sound and light alarm.
[0087] As a possible implementation manner, step S303 may be specifically implemented as steps S3031 - S3033 .
[0088] S3031. If an alarm is generated, the alarm level is determined based on the input current of the signal to be detected and the set alarm threshold parameters.
[0089] S3032: If the alarm level is the first level, control the sound and light circuit to sound an alarm at a first frequency and to light an alarm with a first color.
[0090] S3033. If the alarm level is the second level, control the sound and light circuit to sound an alarm at a second frequency and to light an alarm at a second color.
[0091] In this way, the embodiment of the present invention can realize different levels of on-site alarms through sound and light alarms, and does not require separate power supply. It directly uses loop power supply, has low power consumption, low requirements for original equipment, little impact, no effect on signal detection, and flexible and convenient installation location.
[0092] Optionally, the sound and light alarm uses a low-power processor and its peripheral working circuit, and the residual current of the sound and light alarm is used to charge the energy storage circuit, and the residual current is the difference between the input current and the working current of the sound and light alarm.
[0093] Exemplarily, the sound and light alarm uses a low-power processor and its peripheral working circuit, and the local working current of the sound and light alarm is less than 4mA. For example, 2mA or 3mA. When the input current is the input current lower limit of 4mA or greater than 4mA, there is residual current for charging the energy storage circuit.
[0094] Correspondingly, the embodiment of the present invention also provides a method for implementing the sound and light alarm, which also includes steps S401-S403.
[0095] S401, detecting the remaining power of the energy storage device in the energy storage circuit of the sound and light alarm and the 4-20mA input current value.
[0096] S402, calculating the residual current of the sound and light alarm.
[0097] S403: If the remaining power of the energy storage device is less than the power threshold, a corresponding charging current gear is selected according to the remaining current value, and the processor of the sound and light alarm turns on the charging control switch to charge the energy storage circuit.
[0098] S404: If the remaining power of the energy storage device is greater than or equal to the power threshold, turn off the charging control switch to stop charging.
[0099] In this way, the embodiment of the present invention detects the remaining power of the energy storage device and controls the charging circuit to charge the energy storage device, thereby ensuring the remaining power of the energy storage device and providing support for the on-site alarm of the sound and light alarm.
[0100] Optionally, the sound and light alarm further includes a non-contact control module, and the non-contact control module includes a non-contact magnetic induction sensor or a non-contact optical induction sensor.
[0101] Correspondingly, the embodiment of the present invention also provides a method for implementing the sound and light alarm, which also includes steps S501-S503.
[0102] S501. When the sound and light alarm is working, the non-contact control module is controlled to set parameters and view information to achieve human-computer interaction.
[0103] S502: When the detection data does not generate an alarm, the non-contact control module is controlled to perform a self-check on the sound and light simulation alarm of the sound and light alarm to verify whether the components of the sound and light alarm are normal.
[0104] S503, when there is an alarm and an audible and visual alarm is performed, the non-contact control module is controlled to indicate that the alarm information has been confirmed and known, and the audible and visual alarm works in a confirmed manner.
[0105] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. An audible and visual alarm for a 4-20mA loop and a method for implementing the same, characterized in that: include: A housing and a control circuit disposed inside the housing, wherein the control circuit includes: an input circuit, a charging circuit, an energy storage circuit, a processor, a driving circuit and an acousto-optic circuit; The input circuit receives a 4-20 mA input signal and converts the 4-20 mA input signal into a power supply; The input end of the charging circuit is connected to the output end of the input circuit; The input end of the energy storage circuit is connected to the output end of the charging circuit; after being charged by the charging circuit, the working power of the driving circuit and the sound and light circuit is formed and outputted from the output end of the energy storage circuit; The processor is connected to the input circuit, the power supply supplies power to the processor, and the processor collects the 4-20mA input signal in the input circuit; The input end of the driving circuit is connected to the output end of the processor, and the power supply end is connected to the output end of the energy storage circuit; The input end of the sound and light circuit is connected to the output end of the driving circuit to generate sound and light alarm.
2. The sound and light alarm for a 4-20mA loop and its implementation method according to claim 1, characterized in that: The input circuit includes a power conversion module and a sampling resistor connected in series.
3. The sound and light alarm for a 4-20 mA loop and its implementation method according to claim 2, characterized in that: The power conversion module includes a parallel voltage regulator and its peripheral circuits, and is used to convert the input current source of the input circuit into a voltage source.
4. The sound and light alarm for a 4-20 mA loop and its implementation method according to claim 1, characterized in that: The charging circuit includes a first controllable switch, a boost circuit and a charging management circuit; the processor is connected to the first controllable switch and the charging management circuit to control the operation of the first controllable switch and the charging management circuit.
5. The sound and light alarm for 4-20mA loop and its implementation method according to claim 1, characterized in that: The energy storage circuit comprises: a second diode and an energy storage device; A power detection circuit is arranged between the processor and the energy storage circuit; the power detection circuit comprises a voltage detection circuit and a controllable analog load circuit, which are used to detect the voltage, capacity and internal resistance of the energy storage device in the energy storage circuit.
6. The sound and light alarm for 4-20mA loop and its implementation method according to claim 1, characterized in that: The sound and light alarm is also provided with a display screen and a wireless communication module; the display screen is arranged in the display window of the sound and light alarm to display the detection data, power information and alarm information of the sound and light alarm; the sound and light alarm is connected to the host computer through the wireless communication module, transmits the detection data, power information and alarm information to the host computer, and receives the setting parameters input by the host computer to the sound and light alarm.
7. An audible and visual alarm for a 4-20 mA loop and its implementation method, characterized in that: Applied to the sound and light alarm as described in claims 1-6, the implementation method includes: Obtain the signal to be detected; Determining whether to alarm based on the input current of the signal to be detected and a preset alarm threshold; If an alarm is triggered, an alarm control signal is output; and based on the alarm control signal, the driving circuit is controlled to drive the sound and light circuit to sound an alarm; and the alarm information data is sent to a remote wireless receiving terminal through a wireless module; If an alarm sounds, the stored electricity of the energy storage device and the residual current of the machine will be used to power the sound and light circuit and the driving circuit of the sound and light alarm.
8. The sound and light alarm for 4-20mA loop and its implementation method according to claim 7, characterized in that: If an alarm is generated, an alarm control signal is output; and based on the alarm control signal, a driving circuit is controlled to drive an acousto-optic circuit to generate an alarm, including: If an alarm is generated, determining the alarm level of the alarm based on the input current of the signal to be detected and the set alarm threshold parameter; If the alarm level is the first level, the sound and light circuit is controlled to sound an alarm at a first frequency and to indicate an alarm with a first color; If the alarm level is the second level, the sound and light circuit is controlled to sound an alarm at a second frequency and to light an alarm at a second color.
9. The sound and light alarm for 4-20mA loop and its implementation method according to claim 7, characterized in that: The sound and light alarm uses a low-power processor and its peripheral working circuit, so that the local working current is less than 4mA. The residual current of the sound and light alarm is used to charge the energy storage circuit. The residual current is the difference between the input current of the sound and light alarm and the local working current. The implementation method also includes: Detecting the remaining power of the energy storage device in the energy storage circuit of the sound and light alarm and the 4-20mA input current value; Calculating the residual current of the sound and light alarm; If the remaining power of the energy storage device is less than the power threshold, the processor of the sound and light alarm selects the corresponding charging current gear according to the remaining current value, turns on the charging control switch, and charges the energy storage circuit; If the remaining power of the energy storage device is greater than or equal to the power threshold, the charging control switch is turned off to stop charging.
10. The sound and light alarm for 4-20mA loop and its implementation method according to claim 7, characterized in that: The sound and light alarm also includes a non-contact control module, and the non-contact control module includes a non-contact magnetic induction sensor or a non-contact optical induction sensor; the control method also includes: When the sound and light alarm is working, the non-contact control module is controlled to set parameters and view information, thereby realizing human-computer interaction; When the detection data does not alarm, the non-contact control module is controlled to perform a self-check on the sound and light simulation alarm of the sound and light alarm to verify whether the components of the sound and light alarm are normal; When there is an alarm and an audible and visual alarm is sounded, the non-contact control module is operated to indicate that the alarm information has been confirmed and known, and the audible and visual alarm works in a confirmed manner.