CN114323197A - Water level monitoring terminal - Google Patents

Water level monitoring terminal Download PDF

Info

Publication number
CN114323197A
CN114323197A CN202111661285.XA CN202111661285A CN114323197A CN 114323197 A CN114323197 A CN 114323197A CN 202111661285 A CN202111661285 A CN 202111661285A CN 114323197 A CN114323197 A CN 114323197A
Authority
CN
China
Prior art keywords
water level
resistor
module
main control
capacitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111661285.XA
Other languages
Chinese (zh)
Inventor
周伟其
陈福祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Thinker Technology Co ltd
Original Assignee
Guangzhou Thinker Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Thinker Technology Co ltd filed Critical Guangzhou Thinker Technology Co ltd
Priority to CN202111661285.XA priority Critical patent/CN114323197A/en
Publication of CN114323197A publication Critical patent/CN114323197A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention provides a water level monitoring terminal, comprising: the main control module and the power supply of the water level monitoring terminal are respectively connected with the water immersion switch, the low-power wireless communication module and the water level monitoring module; the water logging switch sends a water logging signal to the main control module after monitoring water logging, the main control module receives the water logging signal, triggers the water level monitoring module to work, and sends water level information acquired by the water level monitoring module through the low-power wireless communication module; the two ends of the water level measuring capacitor are connected with the water level measuring chip, the main control chip is in communication connection with the water level measuring chip, the water level measuring capacitor is different in water immersion height, and corresponding capacitance values are different. The invention realizes the real-time monitoring of the water level, reduces the electric energy consumption and the monitoring cost by starting the water level monitoring mode when the accumulated water appears, is not easy to cause false alarm and missing report, has good accuracy and effectively protects the personal and property safety.

Description

水位监测终端water level monitoring terminal

技术领域technical field

本发明涉及水位监测设备领域,尤其涉及一种水位监测终端。The invention relates to the field of water level monitoring equipment, in particular to a water level monitoring terminal.

背景技术Background technique

近年来,我国受极端天气的影响,各地均暴雨频发,城市内涝问题日益严重,很多城市在下暴雨的时候出现道路被淹、隧道涵洞水淹等非常严重的情况。在城市排水系统无法快速解决内涝问题的情况下,对可能存在的低洼地点或容易淹水地区进行及时的监控就显得十分重要,通过监控结果对出现水淹的地区可以及时疏导交通,及时通知业主,避免灾难再次发生。In recent years, under the influence of extreme weather in my country, heavy rains have occurred frequently in various places, and the problem of urban waterlogging has become increasingly serious. In many cities, roads are flooded, tunnels and culverts are flooded and other serious situations during heavy rains. Under the circumstance that the urban drainage system cannot quickly solve the problem of waterlogging, it is very important to monitor the possible low-lying locations or areas that are prone to flooding. Through the monitoring results, the flooded areas can be dredged in time, and the owners can be notified in time. , to prevent the disaster from happening again.

目前,采取基于天气预报进行暴雨预警以及人工巡查的方式对容易出现水淹的地区或位置进行监控。然而,实际环境中,由于天气预报的准确率低,通过天气预报进行暴雨预警的方式经常出现误报或漏报的问题,监控效果差。而,人工巡查的方式成本高,且只能在固定的时间段或短时间内巡查,不能进行实时监控,不能及时发现水位变化,难以有效减少水淹造成的人身安全、财产损失。At present, rainstorm warnings based on weather forecasts and manual inspections are used to monitor areas or locations prone to flooding. However, in the actual environment, due to the low accuracy of the weather forecast, the method of rainstorm warning through the weather forecast often has the problem of false alarms or omissions, and the monitoring effect is poor. However, the manual inspection method is expensive, and can only be inspected in a fixed time period or a short period of time, without real-time monitoring, unable to detect water level changes in time, and it is difficult to effectively reduce personal safety and property losses caused by flooding.

发明内容SUMMARY OF THE INVENTION

为了克服现有技术的不足,本发明提出一种水位监测终端,设置水浸开关、水位监测模块、低功耗无线通讯模块,通过水浸开关检测积水,并在检测到积水后,通过水位监测模块监测水位,并将获取的水位信息通过低功耗无线通讯模块发送出去,实现了对水位的实时监测,并且通过在出现积水时开启水位监测的方式,减少了电能消耗,降低了监测成本,不容易出现误报、漏报,准确性好,有效地保护了人身、财产安全。In order to overcome the deficiencies of the prior art, the present invention proposes a water level monitoring terminal, which is provided with a water immersion switch, a water level monitoring module, and a low-power wireless communication module. The water level monitoring module monitors the water level, and sends the obtained water level information through the low-power wireless communication module, realizing real-time monitoring of the water level, and by turning on the water level monitoring method when there is water accumulation, it reduces the power consumption and reduces the energy consumption. The monitoring cost is not prone to false alarms and omissions, and the accuracy is good, which effectively protects personal and property safety.

为解决上述问题,本发明采用的一个技术方案为:一种水位监测终端,所述水位监测终端包括:所述水位监测终端包括:主控模块、水浸开关、低功耗无线通讯模块、电源以及水位监测模块,所述主控模块、电源分别与所述水浸开关、低功耗无线通讯模块以及水位监测模块连接;所述水浸开关在监测到积水后,发送给积水信号给所述主控模块,所述主控模块接收所述积水信号,触发所述水位监测模块工作,并通过所述低功耗无线通讯模块发送利用所述水位监测模块获取的水位信息;所述水位监测模块包括水位测量电容、水位计量芯片,所述主控模块包括主控芯片,所述水位测量电容的两端与所述水位计量芯片连接,所述主控芯片与所述水位计量芯片通讯连接,其中,所述水位测量电容浸水高度不同,对应的电容值不同。In order to solve the above problem, a technical solution adopted by the present invention is: a water level monitoring terminal, the water level monitoring terminal includes: the water level monitoring terminal includes: a main control module, a flood switch, a low-power wireless communication module, a power supply and a water level monitoring module, wherein the main control module and the power supply are respectively connected with the water immersion switch, the low-power wireless communication module and the water level monitoring module; the water immersion switch sends a stagnant water signal after monitoring the stagnant water. the main control module, the main control module receives the water accumulation signal, triggers the water level monitoring module to work, and transmits the water level information obtained by the water level monitoring module through the low-power wireless communication module; the The water level monitoring module includes a water level measurement capacitor and a water level measurement chip. The main control module includes a main control chip. Both ends of the water level measurement capacitor are connected to the water level measurement chip. The main control chip communicates with the water level measurement chip. connection, wherein, the water level measurement capacitors have different immersion heights, and the corresponding capacitance values are different.

进一步地,所述水位监测终端还包括输入电路,所述输入电路分别与所述水浸开关、主控模块连接。Further, the water level monitoring terminal further includes an input circuit, and the input circuit is respectively connected with the water immersion switch and the main control module.

进一步地,所述输入电路包括第一场效应晶体管、第一电阻、第一电容、第二电阻、第三电阻、第二电容、第二场效应晶体管、第四电阻以及第三电容,所述第一场效应晶体管的栅极与所述水浸开关的输出端、第一电阻的第二端、第一电容的第一端连接,漏极与主控芯片、第一电阻的第一端连接,源极与所述第二电阻的第一端、第三电阻的第一端连接,所述第一电容的第二端与所述第二电阻的第二端、第二电容的第二端以及第二场效应晶体管的源极连接,并接地,所述第三电阻的第二端与所述第二电容的第一端、第二场效应晶体管的栅极连接,所述第二场效应晶体管的漏极与所述第四电阻的第二端、主控芯片连接,所述第四电阻的第一端与所述主控芯片连接,所述第三电容的一端接地,另一端与所述主控芯片连接。Further, the input circuit includes a first field effect transistor, a first resistor, a first capacitor, a second resistor, a third resistor, a second capacitor, a second field effect transistor, a fourth resistor and a third capacitor, the The gate of the first field effect transistor is connected to the output end of the water immersion switch, the second end of the first resistor and the first end of the first capacitor, and the drain is connected to the main control chip and the first end of the first resistor , the source is connected to the first end of the second resistor and the first end of the third resistor, the second end of the first capacitor is connected to the second end of the second resistor and the second end of the second capacitor and the source of the second field effect transistor is connected to ground, the second end of the third resistor is connected to the first end of the second capacitor and the gate of the second field effect transistor, the second field effect The drain of the transistor is connected to the second end of the fourth resistor and the main control chip, the first end of the fourth resistor is connected to the main control chip, one end of the third capacitor is grounded, and the other end is connected to the main control chip. The main control chip is connected.

进一步地,所述电源包括电池模块、供电电路,所述供电电路包括水位监测模块供电电路、低功耗无线通讯模块供电电路,所述水位监测模块供电电路分别与所述水位监测模块、电池模块、主控芯片连接,所述低功耗无线通讯模块供电电路与所述电池模块、低功耗无线通讯模块、主控芯片连接,所述主控芯片控制所述电源向所述水位监测模块、低功耗无线通讯模块供电。Further, the power supply includes a battery module and a power supply circuit, and the power supply circuit includes a water level monitoring module power supply circuit and a low-power wireless communication module power supply circuit, and the water level monitoring module power supply circuit is respectively connected with the water level monitoring module and the battery module. , the main control chip is connected, the power supply circuit of the low-power wireless communication module is connected with the battery module, the low-power wireless communication module, and the main control chip, and the main control chip controls the power supply to the water level monitoring module, Low-power wireless communication module power supply.

进一步地,水位监测模块供电电路包括第五电阻、第一三极管、第三场效应晶体管、第六电阻,所述第五电阻的一端与所述主控芯片连接,另一端与所述第一三极管的基极连接,所述第一三极管的发射极接地,集电极与所述第三场效应晶体管的栅极、第六电阻的第一端连接,所述第六电阻的第二端与所述电池模块、所述第三场效应晶体管的漏极连接,所述第三场效应晶体管的源极与所述水位计量芯片连接以向所述水位计量芯片供电。Further, the power supply circuit of the water level monitoring module includes a fifth resistor, a first triode, a third field effect transistor, and a sixth resistor. One end of the fifth resistor is connected to the main control chip, and the other end is connected to the first resistor. The base of a triode is connected, the emitter of the first triode is grounded, and the collector is connected to the gate of the third field effect transistor and the first end of the sixth resistor, and the sixth resistor is connected to the ground. The second end is connected to the battery module and the drain of the third field effect transistor, and the source of the third field effect transistor is connected to the water level measuring chip to supply power to the water level measuring chip.

进一步地,所述水位监测终端还包括有线通讯模块,有线通讯模块与所述主控芯片连接,所述供电电路还包括有线通讯模块供电电路,所述有线通讯模块供电电路分别与所述主控芯片、有线通讯模块以及电池模块连接,通过所述有线通讯模块供电电路向所述有线通讯模块供电。Further, the water level monitoring terminal further includes a wired communication module, the wired communication module is connected to the main control chip, the power supply circuit further includes a wired communication module power supply circuit, and the wired communication module power supply circuit is respectively connected to the main control chip. The chip, the wired communication module and the battery module are connected, and the wired communication module is powered by the power supply circuit of the wired communication module.

进一步地,所述水位监测模块还包括电源输出模块,所述供电电路还包括输出电源电路,所述输出电源电路分别与所述电源输出模块、电池模块以及主控芯片连接。Further, the water level monitoring module further includes a power output module, the power supply circuit further includes an output power circuit, and the output power circuit is respectively connected with the power output module, the battery module and the main control chip.

进一步地,所述低功耗无线通讯模块供电电路包括第七电阻、第八电阻、第二三极管、第九电阻、第四场效应晶体管、第十电阻、第四电容、第五电容,所述第七电阻的第一端与所述主控芯片连接,第二端与所述第八电阻的第一端、第二三极管的第一端连接,所述第八电阻的第二端接地,所述第二三极管的发射极接地,集电极与所述第四场效应晶体管的栅极、第九电阻的第一端连接,所述第九电阻的第二端与所述电池模块、第十电阻的第一端以及第四场效应晶体管的漏极连接,所述第四场效应晶体管的源极与所述第十电阻的第二端、第四电容的第一端连接,所述第四电容的第二端接地,所述第五电容的第一端与所述第四电容的第一端、主控芯片连接,第二端接地。Further, the low-power wireless communication module power supply circuit includes a seventh resistor, an eighth resistor, a second transistor, a ninth resistor, a fourth field effect transistor, a tenth resistor, a fourth capacitor, and a fifth capacitor, The first end of the seventh resistor is connected to the main control chip, the second end is connected to the first end of the eighth resistor and the first end of the second transistor, and the second end of the eighth resistor is connected to the first end of the second transistor. The terminal is grounded, the emitter of the second transistor is grounded, and the collector is connected to the gate of the fourth field effect transistor and the first end of the ninth resistor, and the second end of the ninth resistor is connected to the the battery module, the first end of the tenth resistor and the drain of the fourth field effect transistor are connected, and the source of the fourth field effect transistor is connected to the second end of the tenth resistor and the first end of the fourth capacitor , the second end of the fourth capacitor is grounded, the first end of the fifth capacitor is connected to the first end of the fourth capacitor and the main control chip, and the second end is grounded.

进一步地,所述水位监测终端还包括低压检测模块,所述供电电路包括低压检测模块供电电路,所述低压检测模块与所述电池模块连接,所述低压检测模块供电电路分别与所述主控芯片、低压监测模块、电池模块连接。Further, the water level monitoring terminal further includes a low-voltage detection module, the power supply circuit includes a low-voltage detection module power supply circuit, the low-voltage detection module is connected to the battery module, and the low-voltage detection module power supply circuit is respectively connected to the main controller. Chip, low voltage monitoring module, battery module connection.

进一步地,所述水位监测终端还包括唤醒电路、开机电路、复位电路,所述唤醒电路、开机电路、复位电路分别与所述主控芯片、低功耗无线通讯模块连接。Further, the water level monitoring terminal further includes a wake-up circuit, a power-on circuit, and a reset circuit, and the wake-up circuit, the power-on circuit, and the reset circuit are respectively connected with the main control chip and the low-power wireless communication module.

相比现有技术,本发明的有益效果在于:设置水浸开关、水位监测模块、低功耗无线通讯模块,通过水浸开关检测积水,并在检测到积水后,通过水位监测模块监测水位,并将获取的水位信息通过低功耗无线通讯模块发送出去,实现了对水位的实时监测,并且通过在出现积水时开启水位监测的方式,减少了电能消耗,降低了监测成本,不容易出现误报、漏报,准确性好,有效地保护了人身、财产安全。Compared with the prior art, the beneficial effect of the present invention is that: a water immersion switch, a water level monitoring module, and a low-power wireless communication module are provided, and the water immersion switch is used to detect accumulated water, and after the accumulated water is detected, the water level monitoring module monitors the water level. water level, and the acquired water level information is sent out through the low-power wireless communication module, realizing real-time monitoring of the water level, and by turning on the water level monitoring method when there is stagnant water, the power consumption is reduced, and the monitoring cost is reduced. It is prone to false alarms and omissions, and the accuracy is good, which effectively protects personal and property safety.

附图说明Description of drawings

图1为本发明水位监测终端一实施例的结构图;1 is a structural diagram of an embodiment of a water level monitoring terminal according to the present invention;

图2为本发明水位监测终端另一实施例的结构图;2 is a structural diagram of another embodiment of the water level monitoring terminal of the present invention;

图3为本发明水位监测终端中水位监测模块一实施例的电路图;3 is a circuit diagram of an embodiment of a water level monitoring module in a water level monitoring terminal of the present invention;

图4为本发明水位监测终端中输入电路一实施例的电路图;4 is a circuit diagram of an embodiment of an input circuit in the water level monitoring terminal of the present invention;

图5为本发明水位监测终端中水位监测模块供电电路一实施例的电路图;5 is a circuit diagram of an embodiment of the power supply circuit of the water level monitoring module in the water level monitoring terminal of the present invention;

图6为本发明水位监测终端中低功耗无线通讯模块供电电路一实施例的电路图;6 is a circuit diagram of an embodiment of a power supply circuit for a low-power wireless communication module in a water level monitoring terminal of the present invention;

图7为本发明水位监测终端中有线通讯模块供电电路一实施例的电路图;7 is a circuit diagram of an embodiment of a power supply circuit of a wired communication module in a water level monitoring terminal of the present invention;

图8为本发明水位监测终端中输出电源电路一实施例的电路图;8 is a circuit diagram of an embodiment of an output power supply circuit in the water level monitoring terminal of the present invention;

图9为本发明水位监测终端中唤醒电路一实施例的电路图;9 is a circuit diagram of an embodiment of a wake-up circuit in the water level monitoring terminal of the present invention;

图10为本发明水位监测终端中开机电路一实施例的电路图;10 is a circuit diagram of an embodiment of a power-on circuit in the water level monitoring terminal of the present invention;

图11为本发明水位监测终端中复位电路一实施例的电路图;11 is a circuit diagram of an embodiment of a reset circuit in the water level monitoring terminal of the present invention;

图12为本发明水位监测终端中低压检测模块供电电路一实施例的电路图;12 is a circuit diagram of an embodiment of a power supply circuit for a medium and low voltage detection module of a water level monitoring terminal of the present invention;

图13为本发明水位监测终端中电平转换电路一实施例的电路图;13 is a circuit diagram of an embodiment of a level conversion circuit in the water level monitoring terminal of the present invention;

图14为本发明水位监测终端中主控芯片一实施例的电路图。FIG. 14 is a circuit diagram of an embodiment of the main control chip in the water level monitoring terminal of the present invention.

图中:U2、主控芯片;C1、水位测量电容;Q1B、第一场效应晶体管;R87、第一电阻;R45、第二电阻;C4、第一电容;R29、第三电阻;C5、第二电容;Q1A、第二场效应晶体管;R47、第四电阻;C1、第三电容;D1、第一二极管;D4、第二二极管;R38、第十一电阻;R18、第五电阻;Q20、第一三极管;Q12、第三场效应晶体管;R1、第六电阻;R97、第十二电阻;R78、第七电阻;R79、第八电阻;Q17、第二三极管;R77、第九电阻;Q16、第四场效应晶体管;R75、第十电阻;C52、第四电容;C53、第五电容;C54、第六电容;C55、第七电容;C56、第八电容;C57、第九电容;R15、第十三电阻;R16、第十四电阻;Q3A、第五场效应晶体管;R9、第十五电阻;Q3B、第六场效应晶体管;R10、第十六电阻;R17、第十七电阻;C11、第十电容;U6、电压转换芯片;R98、第十八电阻;R99、第十九电阻;R100、第二十电阻;R101、第二十一电阻。In the figure: U2, main control chip; C1, water level measuring capacitor; Q1B, first field effect transistor; R87, first resistor; R45, second resistor; C4, first capacitor; R29, third resistor; C5, first resistor Two capacitors; Q1A, the second field effect transistor; R47, the fourth resistor; C1, the third capacitor; D1, the first diode; D4, the second diode; R38, the eleventh resistor; R18, the fifth Resistor; Q20, the first transistor; Q12, the third field effect transistor; R1, the sixth resistor; R97, the twelfth resistor; R78, the seventh resistor; R79, the eighth resistor; Q17, the second transistor ; R77, the ninth resistor; Q16, the fourth field effect transistor; R75, the tenth resistor; C52, the fourth capacitor; C53, the fifth capacitor; C54, the sixth capacitor; C55, the seventh capacitor; C56, the eighth capacitor ;C57, the ninth capacitor; R15, the thirteenth resistor; R16, the fourteenth resistor; Q3A, the fifth field effect transistor; R9, the fifteenth resistor; Q3B, the sixth field effect transistor; R10, the sixteenth resistor ; R17, the seventeenth resistor; C11, the tenth capacitor; U6, the voltage conversion chip; R98, the eighteenth resistor; R99, the nineteenth resistor; R100, the twentieth resistor; R101, the twenty-first resistor.

具体实施方式Detailed ways

以下通过特定的具体实例说明本申请的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本申请的其他优点与功效。本申请还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本申请的精神下进行各种修饰或改变。需说明的是,通常在此处附图中描述和示出的各本公开实施例在不冲突的前提下,可相互组合,其中的结构部件或功能模块可以以各种不同的配制来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The embodiments of the present application are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, the various embodiments of the present disclosure generally described and shown in the accompanying drawings herein can be combined with each other under the premise of not conflicting, and the structural components or functional modules therein can be arranged and arranged in various configurations. design. Therefore, the following detailed description of the embodiments of the disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure as claimed, but is merely representative of selected embodiments of the disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

请参阅图1至图14,其中,图1为本发明水位监测终端一实施例的结构图;图2为本发明水位监测终端另一实施例的结构图;图3为本发明水位监测终端中水位监测模块一实施例的电路图;图4为本发明水位监测终端中输入电路一实施例的电路图;图5为本发明水位监测终端中水位监测模块供电电路一实施例的电路图;图6为本发明水位监测终端中低功耗无线通讯模块供电电路一实施例的电路图;图7为本发明水位监测终端中有线通讯模块供电电路一实施例的电路图;图8为本发明水位监测终端中输出电源电路一实施例的电路图;图9为本发明水位监测终端中唤醒电路一实施例的电路图;图10为本发明水位监测终端中开机电路一实施例的电路图;图11为本发明水位监测终端中复位电路一实施例的电路图;图12为本发明水位监测终端中低压检测模块供电电路一实施例的电路图;图13为本发明水位监测终端中电平转换电路一实施例的电路图;图14为本发明水位监测终端中主控芯片一实施例的电路图。结合图1至图14对本发明的水位监测终端作详细说明。Please refer to FIGS. 1 to 14, wherein, FIG. 1 is a structural diagram of an embodiment of a water level monitoring terminal of the present invention; FIG. 2 is a structural diagram of another embodiment of a water level monitoring terminal of the present invention; FIG. 3 is a water level monitoring terminal of the present invention. A circuit diagram of an embodiment of the water level monitoring module; FIG. 4 is a circuit diagram of an embodiment of the input circuit in the water level monitoring terminal of the present invention; FIG. 5 is a circuit diagram of an embodiment of the power supply circuit of the water level monitoring module in the water level monitoring terminal of the present invention; A circuit diagram of an embodiment of the power supply circuit of a low-power wireless communication module in the water level monitoring terminal of the present invention; FIG. 7 is a circuit diagram of an embodiment of a power supply circuit of a wired communication module in the water level monitoring terminal of the present invention; FIG. 8 is an output power supply in the water level monitoring terminal of the present invention. A circuit diagram of an embodiment of the circuit; Figure 9 is a circuit diagram of an embodiment of a wake-up circuit in a water level monitoring terminal of the present invention; Figure 10 is a circuit diagram of an embodiment of a power-on circuit in the water level monitoring terminal of the present invention; Figure 11 is a water level monitoring terminal of the present invention. A circuit diagram of an embodiment of the reset circuit; FIG. 12 is a circuit diagram of an embodiment of a power supply circuit for a medium and low voltage detection module in a water level monitoring terminal of the present invention; FIG. 13 is a circuit diagram of an embodiment of a level conversion circuit in the water level monitoring terminal of the present invention; A circuit diagram of an embodiment of the main control chip in the water level monitoring terminal of the present invention. The water level monitoring terminal of the present invention will be described in detail with reference to FIG. 1 to FIG. 14 .

在本实施例中,水位监测终端包括:主控模块、水浸开关、低功耗无线通讯模块、电源以及水位监测模块,主控模块、电源分别与水浸开关、低功耗无线通讯模块以及水位监测模块连接;水浸开关在监测到积水后,发送给积水信号给主控模块,主控模块接收积水信号,触发水位监测模块工作,并通过低功耗无线通讯模块发送利用水位监测模块获取的水位信息;水位监测模块包括水位测量电容C1、水位计量芯片,主控模块包括主控芯片U2,水位测量电容C1的两端与水位计量芯片连接,主控芯片U2的与水位计量芯片通讯连接,其中,所述水位测量电容C1浸水高度不同,对应的电容值不同。具体的,主控芯片U2的SCL引脚、SDA引脚与水位计量芯片SCL引脚、SDA引脚一一对应连接。在水位监测模块中还设置有两个电阻,两个电阻的一端与水位计量芯片的工作电压引脚VDD连接,另一端分别与主控芯片U2的SCL引脚、SDA引脚连接。In this embodiment, the water level monitoring terminal includes: a main control module, a water immersion switch, a low-power wireless communication module, a power supply and a water level monitoring module, the main control module, the power supply and the water immersion switch, a low-power wireless communication module, and The water level monitoring module is connected; after the water immersion switch detects the accumulated water, it sends the accumulated water signal to the main control module. The main control module receives the accumulated water signal, triggers the water level monitoring module to work, and sends the utilization water level through the low-power wireless communication module. The water level information obtained by the monitoring module; the water level monitoring module includes a water level measurement capacitor C1 and a water level measurement chip, and the main control module includes a main control chip U2. Both ends of the water level measurement capacitor C1 are connected to the water level measurement chip, and the main control chip U2 is connected to the water level measurement chip. Chip communication connection, wherein, the water level measuring capacitor C1 has different immersion heights, and the corresponding capacitance values are different. Specifically, the SCL pin and the SDA pin of the main control chip U2 are connected to the SCL pin and the SDA pin of the water level metering chip in a one-to-one correspondence. Two resistors are also arranged in the water level monitoring module, one end of the two resistors is connected to the working voltage pin VDD of the water level measuring chip, and the other end is connected to the SCL pin and SDA pin of the main control chip U2 respectively.

在本实施例中,主控芯片U2为单片机,其型号为HC32L170JATA,在其他实施例中,主控芯片U2也可以为STM32以及其他型号的单片机,还可以为SOC、DSP以及其他能够处理接收到的水位信息,并将其发送给低功耗无线通讯模块的器件。In this embodiment, the main control chip U2 is a single-chip microcomputer, and its model is HC32L170JATA. In other embodiments, the main control chip U2 can also be an STM32 or other types of single-chip microcomputers, and can also be an SOC, DSP, or other devices capable of processing received the water level information and send it to the device of the low-power wireless communication module.

在本实施例中,低功耗无线通讯模块为NB-IOT通讯模块,在其他实施例中,低功耗无线通讯模块也可以为ZigBee通讯模块、LTE通讯模块、CAT通讯模块、蓝牙通讯模块、lora通讯模块以及其他能够以低功耗运行的通讯模块。In this embodiment, the low-power wireless communication module is an NB-IOT communication module. In other embodiments, the low-power wireless communication module may also be a ZigBee communication module, an LTE communication module, a CAT communication module, a Bluetooth communication module, lora communication modules and other communication modules capable of operating with low power consumption.

在本实施例中,水位测量电容C1由两个金属模电极组成,当积水浸泡两个电极时,浸泡的高度不同,产生的电容不同,从而计算水位高度。计量芯片的型号为MDC04,其根据水位测量电容C1的两个电极之间水位高度不同计算出其电容值的专用芯片。In this embodiment, the water level measuring capacitor C1 is composed of two metal mold electrodes. When the two electrodes are soaked in accumulated water, the soaking heights are different, and the resulting capacitances are different, so that the water level height is calculated. The model of the metering chip is MDC04, which is a special chip that calculates the capacitance value according to the difference in water level between the two electrodes of the water level measurement capacitor C1.

水浸开关为外部安装的水浸传感器,其可以为碳模开关、不锈钢开关、光电水位开关等,该开关在正常状态时处于高阻抗状态,当该碰到水后则变为低阻状态,主控芯片U2检测到水浸开关的阻值变化后,从低功耗状态进入工作状态,并处理相关工作。The water immersion switch is an externally installed water immersion sensor, which can be a carbon mold switch, a stainless steel switch, a photoelectric water level switch, etc. The switch is in a high impedance state in normal state, and becomes a low resistance state when it encounters water. After the main control chip U2 detects the change of the resistance value of the water immersion switch, it enters the working state from the low power consumption state and processes related work.

在一个具体的实施例中,水位监测模块在正常状态时,主控芯片U2制其电源在关闭状态,当水浸开关触发后,主控芯片U2控制其电源在工作状态),水位监测模块检测水位测量电容C1的值,(根据在水位测量电容C1的两个电极上的水浸高度由水位计量芯片计算出其电容值),主控芯片U2根据电容值计算水位深度信息(主控芯片U2通过I2C线与水位计量芯片通讯,根据不同电容计算出水位深度),并通过NB-IOT通讯模块向后台发并相关数据。In a specific embodiment, when the water level monitoring module is in a normal state, the main control chip U2 controls its power supply to be in an off state, and when the flood switch is triggered, the main control chip U2 controls its power supply to be in a working state), and the water level monitoring module detects The value of the water level measuring capacitor C1, (the capacitance value is calculated by the water level measuring chip according to the water immersion height on the two electrodes of the water level measuring capacitor C1), and the main control chip U2 calculates the water level depth information according to the capacitance value (the main control chip U2 It communicates with the water level metering chip through the I2C line, calculates the water level depth according to different capacitances), and sends relevant data to the background through the NB-IOT communication module.

水位监测终端还包括输入电路,输入电路分别与水浸开关、主控模块以及电源连接。其中,输入电路的数量可以为多条,其中一条与主控芯片U2连接。The water level monitoring terminal also includes an input circuit, and the input circuit is respectively connected with the water immersion switch, the main control module and the power supply. The number of input circuits may be multiple, and one of them is connected to the main control chip U2.

在其他实施例中,也可以设置多级水浸开关,每个水浸开关与一个输入电路连接,通过设置多级水浸开关与水位监测模块的配合提高水位监控的可靠性。In other embodiments, multi-level flooding switches can also be provided, each flooding switch is connected to an input circuit, and the reliability of water level monitoring can be improved by setting up the cooperation of the multi-level flooding switches and the water level monitoring module.

在本实施例中,输入电路包括第一场效应晶体管Q1B、第一电阻R87、第一电容C4、第二电阻R45、第三电阻R29、第二电容C5、第二场效应晶体管Q1A、第四电阻R47以及第三电容C1,第一场效应晶体管Q1B的栅极与水浸开关的输出端、第一电阻R87的第二端、第一电容C4的第一端连接,漏极与主控芯片U2、第一电阻R87的第一端连接,源极与第二电阻R45的第一端、第三电阻R29的第一端连接,第一电容C4的第二端与第二电阻R45的第二端、第二电容C5的第二端以及第二场效应晶体管Q1A的源极连接,并接地,第三电阻R29的第二端与第二电容C5的第一端、第二场效应晶体管Q1A的栅极连接,第二场效应晶体管Q1A的漏极与第四电阻R47的第二端、主控芯片U2连接,第四电阻R47的第一端与主控芯片U2连接,第三电容C1的一端接地,另一端与主控芯片U2连接。In this embodiment, the input circuit includes a first field effect transistor Q1B, a first resistor R87, a first capacitor C4, a second resistor R45, a third resistor R29, a second capacitor C5, a second field effect transistor Q1A, a fourth Resistor R47 and third capacitor C1, the gate of the first field effect transistor Q1B is connected to the output end of the flood switch, the second end of the first resistor R87, and the first end of the first capacitor C4, and the drain is connected to the main control chip U2, the first end of the first resistor R87 is connected, the source is connected to the first end of the second resistor R45, the first end of the third resistor R29, the second end of the first capacitor C4 is connected to the second end of the second resistor R45 terminal, the second terminal of the second capacitor C5 and the source of the second field effect transistor Q1A are connected to the ground, and the second terminal of the third resistor R29 is connected to the first terminal of the second capacitor C5 and the source of the second field effect transistor Q1A. The gate is connected, the drain of the second field effect transistor Q1A is connected to the second end of the fourth resistor R47 and the main control chip U2, the first end of the fourth resistor R47 is connected to the main control chip U2, and one end of the third capacitor C1 Ground, and the other end is connected to the main control chip U2.

在本实施例中,第一场效应晶体管Q1B、第二场效应晶体管Q1A封装在一起,即利用封装成型的场效应管AO7600代替实现第一场效应晶体管Q1B、第二场效应晶体管Q1A的功能。In this embodiment, the first field effect transistor Q1B and the second field effect transistor Q1A are packaged together, that is, the packaged field effect transistor AO7600 is used instead to realize the functions of the first field effect transistor Q1B and the second field effect transistor Q1A.

在其他实施例中,也可以分别设置两个独立的场效应晶体管分别作为电路中的第一场效应晶体管Q1B、第二场效应晶体管Q1A。In other embodiments, two independent field effect transistors may also be provided respectively as the first field effect transistor Q1B and the second field effect transistor Q1A in the circuit.

在本实施例中,第一场效应晶体管Q1B、第二场效应晶体管Q1A封装在一起,即利用封装场效应管AO7600代替实现第一场效应晶体管Q1B、第二场效应晶体管Q1A的功能。In this embodiment, the first field effect transistor Q1B and the second field effect transistor Q1A are packaged together, that is, the packaged field effect transistor AO7600 is used instead to realize the functions of the first field effect transistor Q1B and the second field effect transistor Q1A.

在其他实施例中,也可以分别设置两个独立的场效应晶体管分别作为电路中的第一场效应晶体管Q1B、第二场效应晶体管Q1A。In other embodiments, two independent field effect transistors may also be provided respectively as the first field effect transistor Q1B and the second field effect transistor Q1A in the circuit.

在一个实施例中,输入电路还包括第一二极管D1、第二二极管D4、第十一电阻R38,其中,第一二极管D1的阴极与第二二极管D4的第一端、水浸开关的输出端连接,第二二极管D4的第二端接地,第一二极管D1的阳极与第十一电阻R38的第一端连接,第十一电阻R38的第二端与第一场效应晶体管Q1B的栅极连接。In one embodiment, the input circuit further includes a first diode D1, a second diode D4, and an eleventh resistor R38, wherein the cathode of the first diode D1 and the first diode of the second diode D4 are terminal and the output terminal of the flood switch, the second terminal of the second diode D4 is grounded, the anode of the first diode D1 is connected to the first terminal of the eleventh resistor R38, and the second terminal of the eleventh resistor R38 is connected to the ground. The terminal is connected to the gate of the first field effect transistor Q1B.

其中,当外部输入正常状态时IN1为高电平,第一场效应晶体管Q1B、第二场效应晶体管Q1A截止,IN1_PB14为高电平,主控芯片U2为正常状态(外部IN1为高电平时,主控芯片U2在低功耗状态,外部输入IN1为低电平时,主控芯片U2由低功耗进入工作状态,并处理其相关信号),当外部输入低电平时IN1输入电平被拉低,第一场效应晶体管Q1B、第二场效应晶体管Q1A导通,IN1_PB14为低电平,主控芯片U2经低功耗无线通讯模块向后台发告警信息。电路中第二二极管D4用于静电保护,第一二极管D1用于反向电压输入保护,第一电容C4、第二电容C5、第三电容C1消除抖动保证输入电路的可靠性。Among them, when the external input is in a normal state, IN1 is at a high level, the first field effect transistor Q1B and the second field effect transistor Q1A are turned off, IN1_PB14 is at a high level, and the main control chip U2 is in a normal state (when the external IN1 is at a high level, The main control chip U2 is in the low power consumption state, when the external input IN1 is low level, the main control chip U2 enters the working state from low power consumption, and processes its related signals), when the external input is low level, the input level of IN1 is pulled low , the first field effect transistor Q1B and the second field effect transistor Q1A are turned on, IN1_PB14 is low, and the main control chip U2 sends an alarm message to the background via the low-power wireless communication module. In the circuit, the second diode D4 is used for electrostatic protection, the first diode D1 is used for reverse voltage input protection, and the first capacitor C4, the second capacitor C5, and the third capacitor C1 eliminate jitter to ensure the reliability of the input circuit.

电源包括电池模块、供电电路,供电电路包括水位监测模块供电电路、低功耗无线通讯模块供电电路,水位监测模块供电电路分别与水位监测模块、电池模块、主控芯片U2连接,低功耗无线通讯模块供电电路与电池模块、低功耗无线通讯模块、主控芯片U2连接,主控芯片U2控制电源向水位监测模块、低功耗无线通讯模块供电。The power supply includes a battery module and a power supply circuit. The power supply circuit includes a water level monitoring module power supply circuit and a low-power wireless communication module power supply circuit. The water level monitoring module power supply circuit is respectively connected with the water level monitoring module, the battery module, and the main control chip U2. The communication module power supply circuit is connected with the battery module, the low-power wireless communication module, and the main control chip U2, and the main control chip U2 controls the power supply to supply power to the water level monitoring module and the low-power wireless communication module.

水位监测模块供电电路包括第五电阻R18、第一三极管Q20、第三场效应晶体管Q12、第六电阻R1,第五电阻R18的一端与主控芯片U2连接,另一端与第一三极管Q20的基极连接,第一三极管Q20的发射极接地,集电极与第三场效应晶体管Q12的栅极、第六电阻R1的第一端连接,第六电阻R1的第二端与电池模块、第三场效应晶体管Q12的漏极连接,第三场效应晶体管Q12的源极与水位计量芯片连接以向水位计量芯片供电。The power supply circuit of the water level monitoring module includes a fifth resistor R18, a first triode Q20, a third field effect transistor Q12, and a sixth resistor R1. One end of the fifth resistor R18 is connected to the main control chip U2, and the other end is connected to the first triode. The base of the transistor Q20 is connected, the emitter of the first transistor Q20 is grounded, and the collector is connected to the gate of the third field effect transistor Q12 and the first end of the sixth resistor R1, and the second end of the sixth resistor R1 is connected to The battery module and the drain of the third field effect transistor Q12 are connected, and the source of the third field effect transistor Q12 is connected to the water level measuring chip to supply power to the water level measuring chip.

在一个实施例中,水位监测模块供电电路还包括第十二电阻R97,其中,第十二电阻R97的一端接地,另一端与第一三极管Q20的基极连接。In one embodiment, the water level monitoring module power supply circuit further includes a twelfth resistor R97, wherein one end of the twelfth resistor R97 is grounded, and the other end is connected to the base of the first transistor Q20.

其中,在低功耗状态时,主控芯片U2输出的信号485EN为低电平,第一三极管Q20、第三场效应晶体管Q12截止,水位监测模块无电,不工作;在工作状态时,主控芯片U2输出的信号485EN为高电平,第一三极管Q20、第三场效应晶体管Q12截止导通,水位监测模块正常工作,第五电阻R18、第六电阻R1以及第十二电阻R97为偏置电阻。Among them, in the low power consumption state, the signal 485EN output by the main control chip U2 is low level, the first transistor Q20 and the third field effect transistor Q12 are turned off, and the water level monitoring module has no power and does not work; in the working state , the signal 485EN output by the main control chip U2 is high level, the first transistor Q20 and the third field effect transistor Q12 are turned off and turned on, the water level monitoring module works normally, the fifth resistor R18, the sixth resistor R1 and the twelfth Resistor R97 is the bias resistor.

水位监测终端还包括有线通讯模块,有线通讯模块与主控芯片U2连接,供电电路还包括有线通讯模块供电电路,有线通讯模块供电电路分别与主控芯片U2、有线通讯模块以及电池模块连接,通过有线通讯模块供电电路向有线通讯模块供电。The water level monitoring terminal further includes a wired communication module, the wired communication module is connected with the main control chip U2, and the power supply circuit further includes a wired communication module power supply circuit, which is respectively connected with the main control chip U2, the wired communication module and the battery module. The wired communication module power supply circuit supplies power to the wired communication module.

水位监测模块还包括电源输出模块,供电电路还包括输出电源电路,输出电源电路分别与电源输出模块、电池模块以及主控芯片U2连接。The water level monitoring module further includes a power output module, the power supply circuit further includes an output power circuit, and the output power circuit is respectively connected with the power output module, the battery module and the main control chip U2.

在本实施例中,有线通讯模块供电电路与水位监测模块供电电路的电路结构相同,其工作原理也相同。In this embodiment, the power supply circuit of the wired communication module and the power supply circuit of the water level monitoring module have the same circuit structure and the same working principle.

其中,输出电源电路包括与水位监测模块供电电路相同的电路结构,还包括接插件,该接插件的一端与电池模块连接,另一端与输出电源电路的输出端口连接。The output power circuit includes the same circuit structure as the water level monitoring module power supply circuit, and also includes a connector, one end of the connector is connected to the battery module, and the other end is connected to the output port of the output power circuit.

低功耗无线通讯模块供电电路包括第七电阻R78、第八电阻R79、第二三极管Q17、第九电阻R77、第四场效应晶体管Q16、第十电阻R75、第四电容C52、第五电容C53,第七电阻R78的第一端与主控芯片U2连接,第二端与第八电阻R79的第一端、第二三极管Q17的第一端连接,第八电阻R79的第二端接地,第二三极管Q17的发射极接地,集电极与第四场效应晶体管Q16的栅极、第九电阻R77的第一端连接,第九电阻R77的第二端与电池模块、第十电阻R75的第一端以及第四场效应晶体管Q16的漏极连接,第四场效应晶体管Q16的源极与第十电阻R75的第二端、第四电容C52的第一端连接,第四电容C52的第二端接地,第五电容C53的第一端与第四电容C52的第一端、主控芯片U2连接,第二端接地。The power supply circuit of the low-power wireless communication module includes a seventh resistor R78, an eighth resistor R79, a second transistor Q17, a ninth resistor R77, a fourth field effect transistor Q16, a tenth resistor R75, a fourth capacitor C52, and a fifth Capacitor C53, the first end of the seventh resistor R78 is connected to the main control chip U2, the second end is connected to the first end of the eighth resistor R79 and the first end of the second transistor Q17, the second end of the eighth resistor R79 is connected The terminal is grounded, the emitter of the second transistor Q17 is grounded, and the collector is connected to the gate of the fourth field effect transistor Q16 and the first terminal of the ninth resistor R77, and the second terminal of the ninth resistor R77 is connected to the battery module, the The first end of the tenth resistor R75 is connected to the drain of the fourth field effect transistor Q16, the source of the fourth field effect transistor Q16 is connected to the second end of the tenth resistor R75 and the first end of the fourth capacitor C52, and the fourth The second end of the capacitor C52 is grounded, the first end of the fifth capacitor C53 is connected to the first end of the fourth capacitor C52 and the main control chip U2, and the second end is grounded.

在一个实施例中,低功耗无线通讯模块供电电路还包括第六电容C54、第七电容C55、第八电容C56、第九电容C57,所述第六电容C54、第七电容C55、第八电容C56、第九电容C57的一端接地,另一端与主控芯片U2连接。In one embodiment, the low-power wireless communication module power supply circuit further includes a sixth capacitor C54, a seventh capacitor C55, an eighth capacitor C56, and a ninth capacitor C57, the sixth capacitor C54, the seventh capacitor C55, the eighth capacitor C54, the One end of the capacitor C56 and the ninth capacitor C57 is grounded, and the other end is connected to the main control chip U2.

在处理完所有上传后台数据后进入低功耗状态时,主控芯片U2输出的信号VBAT_EN为低电平,第二三极管Q17、第四场效应晶体管Q16截止,VDD_NB电源无电,低功耗无线通讯模块不工作;在工作状态时,主控芯片U2输出的信号VBAT_EN为高电平,第二三极管Q17、第四场效应晶体导通,低功耗无线通讯模块正常工作,第七电阻R78、第八电阻R79、第九电阻R77为偏置电阻,第十电阻R75为预留电阻,在不需要控制VDD_NB电源的电平时使用,第四电容C52为预留法拉超级电容,第五电容C53、第六电容C54、第七电容C55、第八电容C56、第九电容C57用于提高低功耗无线通讯模块供电电路的稳定性。When entering the low power consumption state after processing all the uploaded background data, the signal VBAT_EN output by the main control chip U2 is low level, the second transistor Q17 and the fourth field effect transistor Q16 are turned off, the VDD_NB power supply has no power, and the low power The power consumption wireless communication module does not work; in the working state, the signal VBAT_EN output by the main control chip U2 is high level, the second transistor Q17 and the fourth field effect crystal are turned on, the low power consumption wireless communication module works normally, the first The seventh resistor R78, the eighth resistor R79, and the ninth resistor R77 are bias resistors, and the tenth resistor R75 is a reserved resistor, which is used when there is no need to control the level of the VDD_NB power supply. The fourth capacitor C52 is a reserved Farad super capacitor. The fifth capacitor C53, the sixth capacitor C54, the seventh capacitor C55, the eighth capacitor C56, and the ninth capacitor C57 are used to improve the stability of the power supply circuit of the low-power wireless communication module.

水位监测终端还包括低压检测模块,供电电路包括低压检测模块供电电路,低压检测模块与电池模块连接,低压检测模块供电电路分别与主控芯片U2、低压监测模块、电池模块连接。The water level monitoring terminal also includes a low-voltage detection module, the power supply circuit includes a low-voltage detection module power supply circuit, the low-voltage detection module is connected to the battery module, and the low-voltage detection module power supply circuit is respectively connected to the main control chip U2, the low-voltage monitoring module, and the battery module.

在本实施例中,低压检测模块供电电路包括第十三电阻R15、第十四电阻R16、第五场效应晶体管Q3A、第十五电阻R9、第六场效应晶体管Q3B、第十六电阻R10、第十七电阻R17以及第十电容C11,第十三电阻R15的一端与主控芯片U2连接,另一端与第十四电阻R16的第一端、第五场效应晶体管Q3A的栅极连接,第十四电阻R16的第二端、第五场效应晶体管Q3A的源极接地,第十五电阻R9的一端与第五场效应晶体管Q3A的漏极、第六场效应晶体管Q3B的栅极连接,另一端与电池模块、第六场效应晶体管Q3B的漏极连接,第六场效应晶体管Q3B的源极与第十六电阻R10的第一端连接,第十六电阻R10的第二端与第十七电阻R17的第一端、第十电容C11的第一端、低压检测模块连接,第十七电阻R17、第十电容C11的第二端接地。In this embodiment, the power supply circuit of the low-voltage detection module includes a thirteenth resistor R15, a fourteenth resistor R16, a fifth field effect transistor Q3A, a fifteenth resistor R9, a sixth field effect transistor Q3B, a sixteenth resistor R10, The seventeenth resistor R17 and the tenth capacitor C11, one end of the thirteenth resistor R15 is connected to the main control chip U2, and the other end is connected to the first end of the fourteenth resistor R16 and the gate of the fifth field effect transistor Q3A. The second end of the fourteenth resistor R16 and the source of the fifth field effect transistor Q3A are grounded, and one end of the fifteenth resistor R9 is connected to the drain of the fifth field effect transistor Q3A and the gate of the sixth field effect transistor Q3B. One end is connected to the battery module and the drain of the sixth field effect transistor Q3B, the source of the sixth field effect transistor Q3B is connected to the first end of the sixteenth resistor R10, and the second end of the sixteenth resistor R10 is connected to the seventeenth The first end of the resistor R17, the first end of the tenth capacitor C11, and the low-voltage detection module are connected, and the second end of the seventeenth resistor R17 and the tenth capacitor C11 is grounded.

在本实施例中,第五场效应晶体管Q3A、第六场效应晶体管Q3B封装在一起,即利用封装的场效应管AO7600代替实现第五场效应晶体管Q3A、第六场效应晶体管Q3B的功能。In this embodiment, the fifth field effect transistor Q3A and the sixth field effect transistor Q3B are packaged together, that is, the packaged field effect transistor AO7600 is used instead to realize the functions of the fifth field effect transistor Q3A and the sixth field effect transistor Q3B.

在其他实施例中,也可以分别设置两个独立的场效应晶体管分别作为电路中的第五场效应晶体管Q3A、第六场效应晶体管Q3B。In other embodiments, two independent field effect transistors may also be provided respectively as the fifth field effect transistor Q3A and the sixth field effect transistor Q3B in the circuit.

在为低功耗无需检测电池电压时,主控芯片U2输出的信号ADC_EN为低电平,第五场效应晶体管Q3A、第六场效应晶体管Q3B截止,ADC无电流通过;在按设定检测电池电压时(可设置每天检测、三天检测、一星期检测一次等频率),主控芯片U2输出的信号ADC_EN为高电平,第五场效应晶体管Q3A、第六场效应晶体管Q3B导通,ADC有电流通过,主控芯片U2计算电池电压并向后台发送相关数据,第十三电阻R15、第十四电阻R16、第十五电阻R9为偏置电阻,第十六电阻R10、第十七电阻R17为分压电阻,第十电阻R75可提高电池电压电流抖动时的可靠性。When it is not necessary to detect the battery voltage for low power consumption, the signal ADC_EN output by the main control chip U2 is low level, the fifth field effect transistor Q3A and the sixth field effect transistor Q3B are turned off, and no current flows through the ADC; When the voltage is on (the frequency of daily detection, three-day detection, and once-a-week detection can be set), the signal ADC_EN output by the main control chip U2 is high level, the fifth field effect transistor Q3A and the sixth field effect transistor Q3B are turned on, and the ADC is turned on. When there is current passing through, the main control chip U2 calculates the battery voltage and sends relevant data to the background. The thirteenth resistor R15, the fourteenth resistor R16, and the fifteenth resistor R9 are bias resistors. The sixteenth resistor R10 and the seventeenth resistor R17 is a voltage dividing resistor, and the tenth resistor R75 can improve the reliability when the battery voltage and current are jittered.

在本实施例中,低功耗无线通讯模块与主控芯片U2的工作电压不同,为保证信号的有效传输和低功耗无线通讯模块的正常工作。水位监测终端还包括电平转换电路,该电平转换电路分别与主控芯片U2、低功耗无线通讯模块连接,主控芯片U2通过电平转换电路将信号传输给低功耗无线通讯模块。In this embodiment, the working voltages of the low-power wireless communication module and the main control chip U2 are different, in order to ensure the effective transmission of signals and the normal operation of the low-power wireless communication module. The water level monitoring terminal also includes a level conversion circuit, which is respectively connected with the main control chip U2 and the low-power wireless communication module. The main control chip U2 transmits signals to the low-power wireless communication module through the level conversion circuit.

在一个实施例中,电平转换电路包括电压转换芯片U6、第十八电阻R98、第十九电阻R99、第二十电阻R100、第二十一电阻R101,其中,第十八电阻R98的一端与主控芯片U2的第一数据输出引脚、电压转换芯片U6的B2引脚连接,另一端与主控芯片U2的电压引脚连接,第十九电阻R99的一端与主控芯片U2的第二数据输出引脚、电压转换芯片U6的B1引脚连接,另一端与主控芯片U2的电压引脚连接,第二十电阻R100的一端与电压转换芯片U6的A1引脚、低功耗无线通讯模块连接,另一端与主控芯片U2的VDD-EXT引脚连接,第二十一电阻R101的一端与电压转换芯片U6的A2引脚、低功耗无线通讯模块连接,另一端与主控芯片U2的VDD-EXT引脚连接。In one embodiment, the level conversion circuit includes a voltage conversion chip U6, an eighteenth resistor R98, a nineteenth resistor R99, a twentieth resistor R100, and a twenty-first resistor R101, wherein one end of the eighteenth resistor R98 It is connected with the first data output pin of the main control chip U2 and the B2 pin of the voltage conversion chip U6, the other end is connected with the voltage pin of the main control chip U2, and one end of the nineteenth resistor R99 is connected with the first data output pin of the main control chip U2. The second data output pin is connected to the B1 pin of the voltage conversion chip U6, the other end is connected to the voltage pin of the main control chip U2, and one end of the twentieth resistor R100 is connected to the A1 pin of the voltage conversion chip U6, the low-power wireless The communication module is connected, the other end is connected to the VDD-EXT pin of the main control chip U2, one end of the twenty-first resistor R101 is connected to the A2 pin of the voltage conversion chip U6 and the low-power wireless communication module, and the other end is connected to the main control The VDD-EXT pin of chip U2 is connected.

主控芯片U2工作在电池电压,低功耗无线通讯模块为NB-IOT通讯模块,其串口电平为2.8V,此电路左侧电平为HC32电压,右侧为NB-IOT模块输出稳定的2.8V电平,第十八电阻R98、第十九电阻R99、第二十电阻R100、第二十一电阻R101为上拉电阻。The main control chip U2 works at the battery voltage. The low-power wireless communication module is the NB-IOT communication module, and its serial port level is 2.8V. The left side of this circuit is the HC32 voltage, and the right side is the stable output of the NB-IOT module. 2.8V level, the eighteenth resistor R98, the nineteenth resistor R99, the twentieth resistor R100, and the twenty-first resistor R101 are pull-up resistors.

有益效果:本发明水位监测终端根据逻辑控制系统的输入输出需求、逻辑关系选择逻辑器件、生成逻辑器件绘图,通过该逻辑器件绘图生成的描述文件得到逻辑控制系统对应的C语言文件,进而实现逻辑控制系统的编译,通过组合不同逻辑功能的逻辑器件生成逻辑控制系统的方式避免了直接利用程序实现逻辑关系的问题,降低了程序开发难度,提高了开发效率,且不容易产生错误,提高了程序稳定性,调试简单,降低了维护逻辑代码的难度,提高了维护效果和维护效果。Beneficial effects: the water level monitoring terminal of the present invention selects a logic device according to the input and output requirements and the logic relationship of the logic control system, generates a logic device drawing, and obtains a C language file corresponding to the logic control system through the description file generated by the logic device drawing, thereby realizing the logic The compilation of the control system, by combining logic devices with different logic functions to generate the logic control system, avoids the problem of directly using the program to realize the logic relationship, reduces the difficulty of program development, improves the development efficiency, and is not prone to errors, and improves the program. Stability, simple debugging, reduce the difficulty of maintaining logic code, and improve the maintenance effect and maintenance effect.

基于相同的发明构思,本发明还提出一种智能终端,请参阅图10,图10为本发明智能终端一实施例的结构图,结合图10对本发明的智能终端进行说明。Based on the same inventive concept, the present invention also proposes an intelligent terminal. Please refer to FIG. 10 . FIG. 10 is a structural diagram of an embodiment of the intelligent terminal of the present invention. The intelligent terminal of the present invention will be described with reference to FIG. 10 .

在本实施例中,智能终端包括处理器、存储器,处理器与存储器通信连接,存储器存储有计算机程序,计算机程序被用于执行如上述实施例所述的水位监测终端。In this embodiment, the intelligent terminal includes a processor and a memory, the processor is connected in communication with the memory, the memory stores a computer program, and the computer program is used to execute the water level monitoring terminal described in the above embodiments.

在一些实施例中,存储器可能包括但不限于高速随机存取存储器、非易失性存储器。例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(NetworkProcessor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。In some embodiments, the memory may include, but is not limited to, high-speed random access memory, non-volatile memory. For example one or more magnetic disk storage devices, flash memory devices or other non-volatile solid state storage devices. The processor may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (Digital Signal Processing, DSP for short), a dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC for short), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

基于相同的发明构思,本发明还提出一种计算机可读存储介质,请参阅图11,图11为本发明计算机可读存储介质一实施例的结构图,结合11对本发明的计算机可读存储介质进行说明。Based on the same inventive concept, the present invention also proposes a computer-readable storage medium. Please refer to FIG. 11. FIG. 11 is a structural diagram of an embodiment of the computer-readable storage medium of the present invention. Be explained.

在本实施例中,计算机可读存储介质存储有程序数据,所述程序数据被用于执行如上述实施例所述的水位监测终端。In this embodiment, the computer-readable storage medium stores program data, and the program data is used to execute the water level monitoring terminal described in the above embodiments.

其中,计算机可读存储介质可包括,但不限于,软盘、光盘、CD-ROM(紧致盘-只读存储器)、磁光盘、ROM(只读存储器)、RAM(随机存取存储器)、EPROM(可擦除可编程只读存储器)、EEPROM(电可擦除可编程只读存储器)、磁卡或光卡、闪存或适于存储机器可执行指令的其他类型的介质/机器可读介质。该计算机可读存储介质可以是未接入计算机设备的产品,也可以是已接入计算机设备使用的部件。The computer-readable storage medium may include, but is not limited to, floppy disk, optical disk, CD-ROM (compact disk-read only memory), magneto-optical disk, ROM (read only memory), RAM (random access memory), EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), magnetic or optical cards, flash memory, or other type of medium/machine readable medium suitable for storing machine executable instructions. The computer-readable storage medium may be a product that is not connected to the computer device, or may be a component that is connected to the computer device for use.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其他实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The utility model provides a water level monitor terminal which characterized in that, water level monitor terminal includes: the water level monitoring system comprises a main control module, a water immersion switch, a low-power wireless communication module, a power supply and a water level monitoring module, wherein the main control module and the power supply are respectively connected with the water immersion switch, the low-power wireless communication module and the water level monitoring module;
after monitoring accumulated water, the water logging switch sends an accumulated water signal to the main control module, the main control module receives the accumulated water signal, triggers the water level monitoring module to work, and sends water level information acquired by the water level monitoring module through the low-power wireless communication module;
the water level monitoring module comprises a water level measuring capacitor and a water level metering chip, the main control module comprises a main control chip, two ends of the water level measuring capacitor are connected with the water level metering chip, the main control chip is in communication connection with the water level metering chip, the water level measuring capacitor is different in water immersion height, and corresponding capacitance values are different.
2. The water level monitoring terminal according to claim 1, further comprising an input circuit, wherein the input circuit is connected to the water immersion switch and the main control module respectively.
3. The water level monitor terminal as claimed in claim 2, wherein the input circuit comprises a first field effect transistor, a first resistor, a first capacitor, a second resistor, a third resistor, a second capacitor, a second field effect transistor, a fourth resistor and a third capacitor, wherein the gate of the first field effect transistor is connected to the output terminal of the water immersion switch, the second terminal of the first resistor and the first terminal of the first capacitor, the drain is connected to the main control chip and the first terminal of the first resistor, the source is connected to the first terminal of the second resistor and the first terminal of the third resistor, the second terminal of the first capacitor is connected to the second terminal of the second resistor, the second terminal of the second capacitor and the source of the second field effect transistor, and is grounded, the second terminal of the third resistor is connected to the first terminal of the second capacitor and the gate of the second field effect transistor, the drain electrode of the second field effect transistor is connected with the second end of the fourth resistor and the main control chip, the first end of the fourth resistor is connected with the main control chip, one end of the third capacitor is grounded, and the other end of the third capacitor is connected with the main control chip.
4. The water level monitoring terminal according to claim 1, wherein the power source comprises a battery module and a power supply circuit, the power supply circuit comprises a water level monitoring module power supply circuit and a low power consumption wireless communication module power supply circuit, the water level monitoring module power supply circuit is respectively connected with the water level monitoring module, the battery module and a main control chip, the low power consumption wireless communication module power supply circuit is connected with the battery module, the low power consumption wireless communication module and the main control chip, and the main control chip controls the power source to supply power to the water level monitoring module and the low power consumption wireless communication module.
5. The water level monitoring terminal according to claim 4, wherein the water level monitoring module power supply circuit comprises a fifth resistor, a first triode, a third field effect transistor and a sixth resistor, one end of the fifth resistor is connected with the main control chip, the other end of the fifth resistor is connected with the base of the first triode, the emitter of the first triode is grounded, the collector of the first triode is connected with the gate of the third field effect transistor and the first end of the sixth resistor, the second end of the sixth resistor is connected with the battery module and the drain of the third field effect transistor, and the source of the third field effect transistor is connected with the water level metering chip to supply power to the water level metering chip.
6. The water level monitoring terminal according to claim 4, further comprising a wired communication module connected to the main control chip, wherein the power supply circuit further comprises a wired communication module power supply circuit connected to the main control chip, the wired communication module and the battery module, respectively, for supplying power to the wired communication module through the wired communication module power supply circuit.
7. The water level monitoring terminal according to claim 4, wherein the water level monitoring module further comprises a power output module, the power supply circuit further comprises an output power circuit, and the output power circuit is respectively connected with the power output module, the battery module and the main control chip.
8. The water level monitoring terminal as claimed in claim 4, wherein the low power consumption wireless communication module power supply circuit comprises a seventh resistor, an eighth resistor, a second triode, a ninth resistor, a fourth field effect transistor, a tenth resistor, a fourth capacitor, and a fifth capacitor, a first end of the seventh resistor is connected to the main control chip, a second end of the seventh resistor is connected to a first end of the eighth resistor and a first end of the second triode, a second end of the eighth resistor is grounded, an emitter of the second triode is grounded, a collector is connected to a gate of the fourth field effect transistor and a first end of the ninth resistor, a second end of the ninth resistor is connected to the battery module, a first end of the tenth resistor, and a drain of the fourth field effect transistor, a source of the fourth field effect transistor is connected to a second end of the tenth resistor and a first end of the fourth capacitor, the second end of the fourth capacitor is grounded, the first end of the fifth capacitor is connected with the first end of the fourth capacitor and the main control chip, and the second end of the fifth capacitor is grounded.
9. The water level monitoring terminal according to claim 4, further comprising a low voltage detection module, wherein the power supply circuit comprises a low voltage detection module power supply circuit, the low voltage detection module is connected to the battery module, and the low voltage detection module power supply circuit is respectively connected to the main control chip, the low voltage monitoring module and the battery module.
10. The water level monitoring terminal according to claim 1, further comprising a wake-up circuit, a power-on circuit, and a reset circuit, wherein the wake-up circuit, the power-on circuit, and the reset circuit are respectively connected to the main control chip and the low power consumption wireless communication module.
CN202111661285.XA 2021-12-31 2021-12-31 Water level monitoring terminal Pending CN114323197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111661285.XA CN114323197A (en) 2021-12-31 2021-12-31 Water level monitoring terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111661285.XA CN114323197A (en) 2021-12-31 2021-12-31 Water level monitoring terminal

Publications (1)

Publication Number Publication Date
CN114323197A true CN114323197A (en) 2022-04-12

Family

ID=81018752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111661285.XA Pending CN114323197A (en) 2021-12-31 2021-12-31 Water level monitoring terminal

Country Status (1)

Country Link
CN (1) CN114323197A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278844A (en) * 2022-08-16 2022-11-01 河源市嘉辰科技有限公司 A low power consumption monitoring circuit and security detection control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104596616A (en) * 2014-12-26 2015-05-06 科世达(上海)管理有限公司 A water level detection device and method
CN206387468U (en) * 2016-12-26 2017-08-08 广州杰赛科技股份有限公司 Ponding monitoring terminal and ponding monitoring system
CN112461327A (en) * 2020-11-23 2021-03-09 广州创想云科技有限公司 Low-power consumption water level monitoring device
CN217276400U (en) * 2021-12-31 2022-08-23 广州创想云科技有限公司 Water level monitoring terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104596616A (en) * 2014-12-26 2015-05-06 科世达(上海)管理有限公司 A water level detection device and method
CN206387468U (en) * 2016-12-26 2017-08-08 广州杰赛科技股份有限公司 Ponding monitoring terminal and ponding monitoring system
CN112461327A (en) * 2020-11-23 2021-03-09 广州创想云科技有限公司 Low-power consumption water level monitoring device
CN217276400U (en) * 2021-12-31 2022-08-23 广州创想云科技有限公司 Water level monitoring terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278844A (en) * 2022-08-16 2022-11-01 河源市嘉辰科技有限公司 A low power consumption monitoring circuit and security detection control device

Similar Documents

Publication Publication Date Title
CN205280797U (en) Automatic switch circuit and electric signal testing case of range
CN100587410C (en) Intelligent Transmitter and Safety Protection Device Based on Monostable Circuit
CN203587780U (en) Battery power detecting device
CN204462241U (en) A kind of voltage, electric current light measurement system possessing on-line checkingi function
CN209224953U (en) High-voltage interlocking detection device and vehicle
CN114323197A (en) Water level monitoring terminal
CN217276400U (en) Water level monitoring terminal
CN209766595U (en) overlength standby device
CN110672925A (en) A high-precision insulation resistance detection circuit
CN203688086U (en) Two-line remote temperature measuring circuit based on digital temperature sensor
CN208818364U (en) Temperature measuring circuit
CN118971821A (en) A power-on detection circuit
CN207752370U (en) Reset circuit and measuring instrument including the reset circuit
CN217902334U (en) Voltage range monitoring circuit based on voltage reference device
CN204538671U (en) A kind of electric automobile lithium battery hardware protection circuit
CN106209152B (en) Intelligent well cover device
CN107238754B (en) A method and device for detecting electricity
CN204373737U (en) Smart water position sensor control circuit
CN204314413U (en) A kind of cable short circuit detecting device
CN117824870A (en) Detection circuit, control method thereof and vehicle-mounted terminal equipment
CN201210174Y (en) Detection circuit used for main voltage pulse interference
CN106375028B (en) Wireless communication intrinsic safety signal processing instrument
CN113949152A (en) A smart meter and its power-off backup power supply circuit
CN207148219U (en) A kind of resistance detecting circuit of anti-reverse, anti-temperature drift
CN207148231U (en) Life detection device of relay protection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination