Dustbin lifts electrically controlled device based on single chip microcomputer control

文档序号:1870510 发布日期:2021-11-23 浏览:21次 中文

阅读说明:本技术 基于单片机控制的垃圾箱举升电控装置 (Dustbin lifts electrically controlled device based on single chip microcomputer control ) 是由 齐瑞浩 何家军 田恩平 庄丽萍 杨大伟 于 2021-08-07 设计创作,主要内容包括:本发明提供一种基于单片机控制的垃圾箱举升电控装置,包括并联设置的三极管Q0、Q1、Q2、Q3和Q4,基极分别串联电阻R0、R1、R2、R3和R4后与单片机连接,集电极分别与继电器K0、K1、K2、K3和K4的线圈串联后接地连接,发射极均与车载12V电源连接,继电器K0、K1、K2、K3和K4的常开触点与车载电源连接,另一端分别与水泵电机、撑杆伸阀、撑杆缩阀、垃圾箱升阀和垃圾箱降阀串联后接地连接;车载电源还与电压转换电路的输入端连接,电压转换电路输出端分别连接垃圾箱升开关、垃圾箱降开关和冲刷开关后均与单片机连接,且分别与电阻R7、R8和R9串联后接地连接。(The invention provides a garbage can lifting electric control device based on single chip microcomputer control, which comprises triodes Q0, Q1, Q2, Q3 and Q4 which are arranged in parallel, wherein bases are respectively connected with resistors R0, R1, R2, R3 and R4 in series and then connected with the single chip microcomputer, collectors are respectively connected with coils of relays K0, K1, K2, K3 and K4 in series and then connected with the ground, emitters are all connected with a vehicle-mounted 12V power supply, normally open contacts of the relays K0, K1, K2, K3 and K4 are connected with the vehicle-mounted power supply, and the other ends of the relays are respectively connected with a water pump motor, a strut extension valve, a strut contraction valve, a garbage can lifting valve and a garbage can lowering valve in series and then connected with the ground; the vehicle-mounted power supply is also connected with the input end of the voltage conversion circuit, and the output end of the voltage conversion circuit is connected with the single chip microcomputer after being connected with the dustbin rising switch, the dustbin falling switch and the flushing switch respectively, and is connected with the resistors R7, R8 and R9 in series and then is connected with the ground.)

1. Dustbin lifts electrically controlled device based on single chip microcomputer control, its characterized in that: the vehicle-mounted water pump comprises a triode Q0, a triode Q1, a triode Q2, a triode Q3 and a triode Q4 which are arranged in parallel, bases of the triode Q0, the triode Q1, the triode Q2, the triode Q3 and the triode Q4 are respectively connected with a resistor R0, a resistor R1, a resistor R2, a resistor R3 and a resistor R4 in series and then connected with a single chip microcomputer, collectors of the triode Q0, the triode Q1, the triode Q2, the triode Q3 and the triode Q4 are respectively connected with coils of a relay K0, a relay K1, a relay K2, a relay K3 and a relay K4 in series and then connected with the ground, emitters of the triode Q0, the triode Q0 and the triode Q0 are respectively connected with a vehicle-mounted 12V power supply, one end of normally open contacts of the relays Q0, the relay K0 and the vehicle-mounted water pump Y0 is respectively connected with a vehicle-mounted water pump supporting rod motor M, The support rod contraction valve Y2, the dustbin lifting valve Y3 and the dustbin lowering valve Y4 are connected in series and then are connected with the ground; the on-vehicle 12V power still is connected with voltage conversion circuit's input, singlechip, dustbin rising switch SB1, dustbin drop switch SB2 and scouring switch SB3 are connected respectively to voltage conversion circuit's output, the other end that dustbin rises switch SB1, dustbin drop switch SB2 and scouring switch SB3 all is connected with the singlechip, and is connected with ground connection after resistance R7, resistance R8 and resistance R9 establish ties respectively.

2. The single-chip microcomputer control-based dustbin lifting electric control device as claimed in claim 1, wherein: the vehicle-mounted 12V power supply is further connected with a resistor R5 and a resistor R6 which are arranged in parallel, the resistor R5 and the resistor R6 are connected with a limit switch SQ1 and a limit switch SQ2 in series and then connected with the ground, and lines between the resistor R5 and the limit switch SQ1 and between the resistor R6 and the limit switch SQ2 are connected with the single chip microcomputer.

3. The single-chip microcomputer control-based dustbin lifting electric control device as claimed in claim 1, wherein: the voltage conversion circuit outputs 5V voltage and comprises an LM7805 three-terminal voltage stabilizing device, wherein the input end of the LM7805 three-terminal voltage stabilizing device is connected with the positive electrode of a capacitor C1, the output end of the LM7805 three-terminal voltage stabilizing device is connected with the positive electrode of a capacitor C2, and the negative electrodes of the capacitor C1 and the capacitor C2 and the grounding end of the LM7805 three-terminal voltage stabilizing device are grounded.

4. The single-chip microcomputer control-based dustbin lifting electric control device as claimed in claim 1, wherein: the type of the single chip microcomputer is AT89C 51.

5. The single-chip microcomputer control-based dustbin lifting electric control device as claimed in claim 4, wherein: 12MHz crystal oscillator is connected between the XTAL1 pin and the XTAL2 pin of the single chip microcomputer, and the XTAL1 pin of the single chip microcomputer is connected with a capacitor C3 in series and then is connected with the ground.

6. The single-chip microcomputer control-based dustbin lifting electric control device as claimed in claim 1, wherein: the triode is of a PNP type.

7. The single-chip microcomputer control-based dustbin lifting electric control device as claimed in claim 2, wherein: the resistances of the resistor R0, the resistor R1, the resistor R2, the resistor R3 and the resistor R4 are all 1K omega, and the resistances of the resistor R5, the resistor R6, the resistor R7, the resistor R8 and the resistor R9 are all 10K omega.

8. The single-chip microcomputer control-based dustbin lifting electric control device as claimed in claim 3, wherein: the capacitance value of the capacitor C1 is 1000 muF, and the capacitance value of the capacitor C2 is 470 muF.

Technical Field

The invention relates to a dustbin lifting electric control device based on single chip microcomputer control, and belongs to the technical field of dustbin lifting of electric garbage collection and transportation vehicles.

Background

The pure electric garbage collection and transportation vehicle can intensively load garbage, transport the garbage to a transfer station for subpackage treatment, and has no secondary pollution in the transportation process. The currently used garbage transport vehicle is provided with a lifting bucket mechanism, a box body turnover mechanism, a tail support and other mechanisms, and corresponding control parts are required to be configured respectively so as to load and unload garbage. The existing garbage cleaning and transporting vehicle adopts independent switch control of a stay bar oil cylinder and a box body oil cylinder, or adopts a time delay relay to control the action sequence of the stay bar oil cylinder and the box body oil cylinder in a linkage manner, but the problems of troublesome wiring multi-fault troubleshooting, poor operation convenience, low control precision and low automatic control degree exist in the prior art.

Disclosure of Invention

In order to solve the technical problems, the invention aims to provide a garbage can lifting electric control device based on single chip microcomputer control, and the specific technical scheme is as follows:

the garbage can lifting electric control device based on the control of the singlechip comprises a triode Q0, a triode Q1, a triode Q2, a triode Q3 and a triode Q4 which are arranged in parallel, bases of the triode Q0, the triode Q1, the triode Q2, the triode Q3 and the triode Q4 are respectively connected with a resistor R0, a resistor R1, a resistor R2, a resistor R3 and a resistor R4 in series and then connected with the singlechip, collectors of the triode Q0, the triode Q1, the triode Q2, the triode Q3 and the triode Q4 are respectively connected with coils of a relay K0, a relay K1, a relay K2, a relay K3 and a relay K4 in series and then connected with the ground, emitters of the triode Q0, the triode Q1, the triode Q2, the triode Q3 and the triode Q4 are respectively connected with a vehicle-mounted power supply, and a power supply of the relay K4, a normally-open contact of the relay K4 and a relay V contact of the relay K3612, the other end of the water pump is respectively connected with a water pump motor M1, a support rod extension valve Y1, a support rod contraction valve Y2, a garbage can lifting valve Y3 and a garbage can lowering valve Y4 in series and then is connected with the ground; the on-vehicle 12V power still is connected with voltage conversion circuit's input, singlechip, dustbin rising switch SB1, dustbin drop switch SB2 and scouring switch SB3 are connected respectively to voltage conversion circuit's output, the other end that dustbin rises switch SB1, dustbin drop switch SB2 and scouring switch SB3 all is connected with the singlechip, and is connected with ground connection after resistance R7, resistance R8 and resistance R9 establish ties respectively.

Preferably, the vehicle-mounted 12V power supply is further connected with a resistor R5 and a resistor R6 which are arranged in parallel, the resistor R5 and the resistor R6 are connected with a limit switch SQ1 and a limit switch SQ2 in series and then connected with the ground, and lines between the resistor R5 and the limit switch SQ1, and between the resistor R6 and the limit switch SQ2 are all connected with the single chip microcomputer.

Preferably, the voltage conversion circuit outputs 5V voltage and comprises an LM7805 three-terminal regulator, an input end of the LM7805 three-terminal regulator is connected to an anode of a capacitor C1, an output end of the LM7805 three-terminal regulator is connected to an anode of a capacitor C2, and a cathode of the capacitor C1, a cathode of the capacitor C2 and a ground end of the LM7805 three-terminal regulator are grounded.

Preferably, the type of the single chip microcomputer is AT89C 51.

Further, a 12MHz crystal oscillator is connected between the XTAL1 pin and the XTAL2 pin of the single chip microcomputer, and the XTAL1 pin of the single chip microcomputer is connected with a capacitor C3 in series and then connected with the ground.

Preferably, the triode is PNP type.

Furthermore, the resistances of the resistor R0, the resistor R1, the resistor R2, the resistor R3 and the resistor R4 are all 1K Ω, and the resistances of the resistor R5, the resistor R6, the resistor R7, the resistor R8 and the resistor R9 are all 10K Ω.

Further, the capacitance value of the capacitor C1 is 1000 μ F, and the capacitance value of the capacitor C2 is 470 μ F.

The invention replaces a time delay relay by adding the singlechip and realizes safer and more reliable linkage control (linkage of the support rod oil cylinder and the box body oil cylinder) by programming the singlechip. Through the logic programming to the singlechip, solve the problem that system operation convenience is poor, degree of automation is low, can simplify the pencil and connect simultaneously.

Drawings

FIG. 1 is a schematic circuit diagram of an electric control device for lifting a dustbin based on single chip microcomputer control according to the invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in figure 1, the garbage can lifting electric control device based on the control of the single chip microcomputer comprises a triode Q, a triode Q and a triode Q which are arranged in parallel, bases of the triode Q, the triode Q and the triode Q are respectively connected with a single chip microcomputer after being connected with a resistor R, a resistor R and a resistor R in series, collectors of the triode Q, the triode Q and the triode Q are respectively connected with coils of a relay K, a relay K and a relay K in series and then are connected with the ground, emitters of the triode Q, the triode Q and the triode Q are all connected with a vehicle-mounted 12V power supply, and normally-open contact ends of the relay K, the relay K and the relay K are connected with the vehicle-mounted 12V power supply, the other end of the water pump is respectively connected with a water pump motor M1, a support rod extension valve Y1, a support rod contraction valve Y2, a garbage can lifting valve Y3 and a garbage can lowering valve Y4 in series and then is connected with the ground; the on-vehicle 12V power still is connected with voltage conversion circuit's input, singlechip, dustbin rising switch SB1, dustbin drop switch SB2 and scouring switch SB3 are connected respectively to voltage conversion circuit's output, the other end that dustbin rises switch SB1, dustbin drop switch SB2 and scouring switch SB3 all is connected with the singlechip, and is connected with ground connection after resistance R7, resistance R8 and resistance R9 establish ties respectively. The type of singlechip is AT89C51, the triode is the PNP type.

The vehicle-mounted 12V power supply is further connected with a resistor R5 and a resistor R6 which are arranged in parallel, the resistor R5 and the resistor R6 are connected with a limit switch SQ1 and a limit switch SQ2 in series and then connected with the ground, and lines between the resistor R5 and the limit switch SQ1 and between the resistor R6 and the limit switch SQ2 are connected with the single chip microcomputer.

The voltage conversion circuit outputs 5V voltage and comprises an LM7805 three-terminal voltage stabilizing device, wherein the input end of the LM7805 three-terminal voltage stabilizing device is connected with the positive electrode of a capacitor C1, the output end of the LM7805 three-terminal voltage stabilizing device is connected with the positive electrode of a capacitor C2, and the negative electrodes of the capacitor C1 and the capacitor C2 and the grounding end of the LM7805 three-terminal voltage stabilizing device are grounded.

The VCC base pin and EA base pin short circuit of singlechip and with LM 7805's output connection, the line connection behind P2.0, P2.1, P2.2 base pin of singlechip and dustbin rising switch SB1, dustbin drop switch SB2 and flush switch SB3 respectively, the P1.0, P1.1, P1.2, P1.3 and P1.6 base pin of singlechip are connected with resistance R4, resistance R3, resistance R2, resistance R1 and resistance R0 respectively, the P1.4 base pin and the P1.5 base pin of singlechip are connected with the line connection behind resistance R5 and resistance R6 respectively, connect 12MHz crystal oscillator between XTAL1 base pin and XTAL2 base pin of singlechip, XTAL1 base pin of singlechip still connects ground connection after connecting in series with electric capacity C3.

The resistances of the resistor R0, the resistor R1, the resistor R2, the resistor R3 and the resistor R4 are all 1K omega, and the resistances of the resistor R5, the resistor R6, the resistor R7, the resistor R8 and the resistor R9 are all 10K omega. The capacitance value of the capacitor C1 is 1000 muF, and the capacitance value of the capacitor C2 is 470 muF.

The P2.0, P2.1 and P2.2 pins of the single chip microcomputer are input at low level in a normal state, when the dustbin lifting switch SB1 and the dustbin lowering switch SB2 or the flushing switch SB3 are pressed down, the P2.0, P2.1 and P2.2 pins of the single chip microcomputer are input at high level, the single chip microcomputer detects that the high level is input, an internal execution program controls the single chip microcomputer to output a low level signal, the corresponding triode is in saturation conduction, the corresponding relay coil is electrified, the normally open contact is closed, and the corresponding execution mechanism acts. The P1.4 and P1.5 pins of the single chip microcomputer input low level at normal state, and when the limit switch SQ1 or SQ2 is closed, the P1.4 or P1.5 pin is converted into high level input. And a limit switch SQ1 is installed on the chassis and used for detecting whether the garbage bin returns to the place or not. The limit switch SQ2 is used for limiting the height of the dustbin when the dustbin is lifted to the highest point.

The working principle of the invention is as follows:

lifting and discharging: the garbage can lifting switch SB1 is clicked, a P2.0 pin of the single chip microcomputer receives a high level signal, a P1.3 pin is controlled to output a low level signal, a triode Q1 is in saturated conduction, a relay K1 coil is electrified, a normally open contact is closed, a corresponding strut extension valve Y1 acts, hydraulic oil flows to a strut oil cylinder to provide power, after the internal program of the single chip microcomputer times for 5s, the P1.1 is controlled to output a low level signal, the triode Q3 is in saturated conduction, a relay K3 coil is electrified, the normally open contact is closed, a corresponding garbage can lifting valve Y3 acts, the hydraulic oil flows to a box body oil cylinder to provide power, when the garbage can continuously rises and touches a limit switch SB2 to act, the P1.5 input high level of the single chip microcomputer controls the garbage can to stop lifting, and the garbage can is tilted out at the moment. The user guest selects manual opening to erode switch SB3, the P2.2 pin of singlechip receives high level signal, control P1.6 pin output low level signal, triode Q0 saturation switches on, relay K0 coil is electrified, normally open contact is closed, the action of corresponding water pump motor M1, for the incasement is erodeed and is provided water source power, clear away incasement and remain, singlechip built-in procedure is 10 s's scouring time, singlechip control P1.6 pin output low level signal after the time, triode Q0 does not switch on, relay K0 coil outage, normally open contact disconnection, water pump motor M1 stop work.

The return process of the box body is as follows: the garbage bin lowering switch SB2 is clicked, a P2.1 pin of the single chip microcomputer receives a high level signal, a P1.0 pin is controlled to output a low level signal, a triode Q4 is in saturated conduction, a relay K4 coil is electrified, a normally open contact is closed, a corresponding garbage bin lowering valve Y4 acts, a bin cylinder retracts, the garbage bin descends to a limit switch SQ1 to act, a P1.4 of the single chip microcomputer inputs a high level signal to control the garbage bin to stop descending, then the single chip microcomputer controls the P1.2 pin to output a low level signal, the triode Q2 is in saturated conduction, a relay K2 coil is electrified, the normally open contact is closed, a corresponding strut retracting valve Y2 acts, a strut cylinder retracts, after 5s of time is up, the single chip microcomputer controls the P1.2 pin to output a high level signal, the triode Q2 is not conducted, the relay K2 coil is powered off, the normally open contact is disconnected, the corresponding strut retracting valve Y2 is closed, the strut cylinder retracts, and retraction is finished.

Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes in the embodiments and/or modifications of the invention can be made, and equivalents and modifications of some features of the invention can be made without departing from the spirit and scope of the invention.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种市政管理用垃圾处理装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!