Liquid level detection system
Technical field
The application belongs to detection technique field, particularly relates to a kind of liquid level detection system.
Background technology
Along with the progress of society, the development of production technology and production technology, people have higher requirement to level sensing.Because novel electron technology, microelectric technique and microcomputer are widely used, single-chip computer control system is high with its control accuracy, stable and reliable for performance, and setting operation is convenient, and cost is low waits various features, is applied to the control of liquid level control system.
Utility model content
The purpose of this utility model is to provide a kind of liquid level detection system, to overcome deficiency of the prior art.
For achieving the above object, the utility model provides following technical scheme:
The embodiment of the present application discloses a kind of liquid level detection system, comprising:
Controller;
Power circuit, is connected to described controller and provides+5V voltage for described controller;
Sensor, realizes the conversion of liquid level signal to voltage signal;
A/D conversion chip, is connected between described controller and sensor, the simulating signal of sensor is converted to digital signal and inputs to controller;
Charactron;
LED drive circuit, between the output terminal being connected to described controller and charactron;
Warning device, is connected to the output terminal of described controller.
Preferably, in above-mentioned liquid level detection system, described controller is AT89C51.
Preferably, in above-mentioned liquid level detection system, described A/D conversion chip is 8 A/D conversion chips.
Preferably, in above-mentioned liquid level detection system, described A/D conversion chip is ADC0808.
Preferably, in above-mentioned liquid level detection system, described sensor is LM type liquid level sensor.
Preferably, in above-mentioned liquid level detection system, described warning device is hummer.
Preferably, in above-mentioned liquid level detection system, described power circuit comprises:
Transformer, is reduced to the 220V civil power of access and exchanges 6V;
Rectifier bridge stack, is connected to transformer and obtains pulsating dc voltage 6V by after interchange 6V rectification;
Three terminal regulator, is connected to rectifier bridge stack, DC voltage is converted to+5V voltage;
Electrochemical capacitor, is connected between rectifier bridge stack and three terminal regulator;
Shunt capacitance, is connected between three terminal regulator and voltage output end.
Preferably, in above-mentioned liquid level detection system, described electrochemical capacitor comprises the first electrochemical capacitor and the second electrochemical capacitor that are arranged in parallel.
Preferably, in above-mentioned liquid level detection system, described shunt capacitance comprises the first shunt capacitance and the second shunt capacitance that are arranged in parallel.
Compared with prior art, the utility model has the advantage of: detection system of the present utility model, control accuracy is high, stable and reliable for performance, setting operation is convenient, cost is low.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Figure 1 shows that the principle schematic of liquid level detection system in the utility model specific embodiment;
Figure 2 shows that the schematic diagram of power circuit in the utility model specific embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, be described in detail the technical scheme in the utility model embodiment, obviously, described embodiment is only the utility model part embodiment, instead of whole embodiments.Based on the embodiment in the utility model, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belongs to the scope of the utility model protection.
Shown in ginseng Fig. 1, liquid level detection system, comprising:
Controller;
Power circuit, is connected to described controller and provides+5V voltage for described controller;
Sensor, realizes the conversion of liquid level signal to voltage signal;
A/D conversion chip, is connected between described controller and sensor, the simulating signal of sensor is converted to digital signal and inputs to controller;
Charactron;
LED drive circuit, between the output terminal being connected to described controller and charactron;
Warning device, is connected to the output terminal of described controller.
In above-mentioned liquid level detection system, controller is preferably AT89C51, realizes the reception of liquid level information, data processing and outputs to charactron; A/D conversion chip is preferably 8 A/D conversion chips, is more preferably ADC0808; Sensor is preferably LM type liquid level sensor.Warning device is preferably hummer, and at controller, hummer detects that liquid level transfinites is reported to the police by controller driving LED lamp on/off.
In this technical scheme, sensor realizes the conversion of liquid level signal to voltage signal, by 8 A/D conversion chip ADC0808, simulating signal is converted to digital signal again, realize the input of liquid level information, AT89C51 reads the laggard row data processing of liquid level information and judgement of transfiniting from ADC0808, subsequently the data processed are outputted to numeral method, the highest liquid level and minimum liquid level are set, if liquid level transfinites, are reported to the police by controller.
Shown in ginseng Fig. 2, power circuit comprises:
Transformer, is reduced to the 220V civil power of access and exchanges 6V;
Rectifier bridge stack, is connected to transformer and obtains pulsating dc voltage 6V by after interchange 6V rectification;
Three terminal regulator, is connected to rectifier bridge stack, DC voltage is converted to+5V voltage;
Electrochemical capacitor, is connected between rectifier bridge stack and three terminal regulator;
Shunt capacitance, is connected between three terminal regulator and voltage output end.
Further, electrochemical capacitor comprises the first electrochemical capacitor c4 and the second electrochemical capacitor c5 that are arranged in parallel.Wherein, the first electrochemical capacitor c4=2200uF, the second electrochemical capacitor c5=0.1uF.
Further, shunt capacitance comprises the first shunt capacitance c6 and the second shunt capacitance c7 that are arranged in parallel.Wherein, the first shunt capacitance c6=2200uF, the second shunt capacitance c7=0.1uF.
In this technical scheme, power supply is civil power AC220v, reduce to through transformer TR1 and exchange 6v, pulsating dc voltage 6v is obtained after rectifier bridge stack BR1 rectification, VCC (+5v) is obtained again through three terminal regulator LM7805, wherein electrochemical capacitor C4, C6, strobe, C5, C7 are shunt capacitances, play a part suppress interference.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The above is only the embodiment of the application; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the protection domain of the application.