The content of the invention
To solve the above problems, an embodiment of the present invention provides a kind of water basin dish-washing machine drive gate control circuits, contribute to more
It is laborsaving and easily open dish washing machine door.
The embodiment of the present invention proposes a kind of water basin dish-washing machine drive gate control circuit, including:Microcontroller, enabling motor, electricity
Machine control module circuit and position detecting module circuit;
The microcontroller is connected with the motor control module circuit and position detecting module circuit;
The motor control module circuit is connected with the enabling motor, for controlling the work shape of the enabling motor
State;
Whether the position detecting module circuit is used to detect water basin dish-washing machine door body in opening;
The enabling motor is used to drive water basin dish-washing machine door body.
Further, the position detecting module circuit includes:First microswitch K1, the second microswitch K2;
When enabling motor driving structure is in default door body closed position, i.e. water basin dish-washing machine door body is closed
When, the first microswitch K1 is in off state, and the second microswitch K2 is opening;
When enabling motor driving structure is in default door body open position, i.e. water basin dish-washing machine door body is in opening
When, the first microswitch K1 is opening, and the second microswitch K2 is in off state.
Further, the pin with pull-up input function of the microcontroller chip is connected to position detecting module electricity
One end of second microswitch K2 in road;
The pin with pull-up input function of the microcontroller chip is connected in position detecting module circuit the
One end of one microswitch K1;
First microswitch K1 is in parallel with the other end of the second microswitch K2.
Further, the motor control module circuit includes:First crystal tube drive circuit and second transistor driving
Circuit;
The first crystal tube drive circuit includes:First resistor R1, second resistance R2, the first diode D1, the one or three
Pole pipe Q1, the first relay RL1;
Described first resistor R1 one end is connected with microcontroller, and the other end is respectively connected to second resistance R2 and the one or three pole
The emitter earth of the base stage of pipe Q1, the second resistance R2 and the first triode Q1, the collection of the first triode Q1
Electrode is respectively connected to the anode of the first diode D1 and the first input end of the first relay RL1, and the first diode D1's is negative
Pole is in parallel with the second input terminal of the first relay RL1, and the armature end of the first relay RL1 is connected to enabling motor;
The second transistor driving circuit includes:3rd resistor R3, the 4th resistance R4, the second diode D2, the two or three
Pole pipe Q2, the second relay RL2;
Described 3rd resistor R3 one end is connected with microcontroller, and the other end is respectively connected to the 4th resistance R4 and the two or three pole
The emitter earth of the base stage of pipe Q2, the 4th resistance R4 and the second triode Q2, the collection of the second triode Q2
Electrode is respectively connected to the anode of the second diode D2 and the first input end of the second relay RL2, and the second diode D2's is negative
Pole is in parallel with the second input terminal of the second relay RL2, and the armature end of the second relay RL2 is connected to enabling motor, and RL2's is normal
Closed contact end is connected with the normally-closed contact end of the first relay RL1.
Further, the pin with driving output function of the microcontroller chip is connected to motor control module electricity
3rd resistor R3 in road;
The microcontroller chip have driving output function pin be connected in motor control module circuit the
One resistance R1.
Further, the working condition of the motor control module circuit control enabling motor is specially:Motor control
Modular circuit processed controls the rotating forward and reversion of enabling motor by the conducting of control the first triode Q1 and the second triode Q2.
The present invention implements a kind of water basin dish-washing machine drive gate control circuit proposed, contributes to more effortless and easily opening is washed
In the scheme proposed in the embodiment of the present invention, motor control module electricity is sent a control signal to by microcontroller for bowl gate
Water basin dish-washing machine to control the rotating of enabling motor in loading interfaces, while is detected in road by position detecting module circuit
Whether door body is in opening, it is achieved thereby that in the case of there was only two control lines in the enabling motor in dish-washing machine such as
What controls the problem of motor positive and inverse, and only needs to judge whether motor runs in place by two microswitches, drop
The low difficulty of software programming makes software more reliable.
Specific embodiment
It is specific embodiments of the present invention and with reference to attached drawing below, technical scheme is further described,
But the present invention is not limited to these embodiments.
Fig. 1 is a kind of water basin dish-washing machine drive gate control circuit schematic diagram in the present embodiment, as shown in Figure 1, the circuit includes:
Microcontroller 10, enabling motor 20, motor control module circuit 30 and position detecting module circuit 40;
The microcontroller 10 is connected with the motor control module circuit 30 and position detecting module circuit 40;
The motor control module circuit 30 is connected with the enabling motor 20, for controlling the work of the enabling motor 20
Make state;
Whether the position detecting module circuit 40 is used to detect water basin dish-washing machine door body in opening;
The enabling motor 20 is used to drive water basin dish-washing machine door body.
The position detecting module circuit includes:First microswitch K1, the second microswitch K2;
When enabling motor driving structure is in default door body closed position, i.e. water basin dish-washing machine door body is closed
When, the first microswitch K1 is in off state, and the second microswitch K2 is opening;
When enabling motor driving structure is in default door body open position, i.e. water basin dish-washing machine door body is in opening
When, the first microswitch K1 is opening, and the second microswitch K2 is in off state.
The pin with pull-up input function of the microcontroller chip is connected in position detecting module circuit the
One end of two microswitch K2;
The pin with pull-up input function of the microcontroller chip is connected in position detecting module circuit the
One end of one microswitch K1;
First microswitch K1 is in parallel with the other end of the second microswitch K2.
The motor control module circuit 30 includes:First crystal tube drive circuit and second transistor driving circuit;
The first crystal tube drive circuit includes:First resistor R1, second resistance R2, the first diode D1, the one or three
Pole pipe Q1, the first relay RL1;
Described first resistor R1 one end is connected with microcontroller 10, and the other end is respectively connected to second resistance R2 and the one or three
The emitter earth of the base stage of pole pipe Q1, the second resistance R2 and the first triode Q1, the first triode Q1's
Collector is respectively connected to the anode of the first diode D1 and the first input end of the first relay RL1, the first diode D1's
Cathode is in parallel with the second input terminal of the first relay RL1, and the armature end of the first relay RL1 is connected to enabling motor 20;
The effect of each component is respectively in first crystal tube drive circuit kind, circuit:
First triode Q1 is switched in order to control;
Resistance first resistor R1 mainly plays metering function, reduces the first triode Q1 power consumptions;
Resistance second resistance R2 makes the first triode Q1 reliably end;
The first reversed afterflows of diode D1 are that triode is that providing in relay coil is released when turning to shut-off by conducting
Access, and by its voltage clamp on+12V.
In circuit, the first triode Q1 is NPN type triode, and operation principle is specially:
When the first triode Q1 base stages are entered high level, the first triode Q1 saturation conductions, collector becomes low electricity
It is flat, therefore the coil of the first relay RL1 is powered, contact is attracted.
When the first triode Q1 base stages are entered low level, the first triode Q1 cut-offs, the coil of the first relay RL1
Power-off, contact disconnect.
The second transistor driving circuit includes:3rd resistor R3, the 4th resistance R4, the second diode D2, the two or three
Pole pipe Q2, the second relay RL2;
Described 3rd resistor R3 one end is connected with microcontroller 10, and the other end is respectively connected to the 4th resistance R4 and the two or three
The emitter earth of the base stage of pole pipe Q2, the 4th resistance R4 and the second triode Q2, the second triode Q2's
Collector is respectively connected to the anode of the second diode D2 and the first input end of the second relay RL2, the second diode D2's
Cathode is in parallel with the second input terminal of the second relay RL2, and the armature end of the second relay RL2 is connected to enabling motor 20, RL2
Normally-closed contact end be connected with the normally-closed contact end of the first relay RL1.
The effect of each component is respectively in second transistor driving circuit kind, circuit:
Second triode Q2 is switched in order to control;
Resistance 3rd resistor R3 mainly plays metering function, reduces the second triode Q2 power consumptions;
The 4th resistance R4 of resistance makes the second triode Q2 reliably end;
The second reversed afterflows of diode D2 are that triode is that providing in relay coil is released when turning to shut-off by conducting
Access, and by its voltage clamp on+12V.
In circuit, the second triode Q2 is NPN type triode, and operation principle is specially:
When the second triode Q2 base stages are entered high level, the second triode Q2 saturation conductions, collector becomes low electricity
It is flat, therefore the coil of the second relay RL2 is powered, contact is attracted.
When the second triode Q2 base stages are entered low level, the second triode Q2 cut-offs, the coil of the second relay RL2
Power-off, contact disconnect.
The pin with driving output function of 10 chip of microcontroller is connected in motor control module circuit 30
3rd resistor R3;
The pin with driving output function of 10 chip of microcontroller is connected in motor control module circuit 30
First resistor R1.
The motor control module circuit 30 controls the working condition of the enabling motor 20 to be specially:Motor control module
Circuit 30 controls the rotating forward and reversion of enabling motor 20 by the conducting of control the first triode Q1 and the second triode Q2.
The present invention implements a kind of water basin dish-washing machine drive gate control circuit proposed, contributes to more effortless and easily opening is washed
Bowl gate, in the scheme proposed in the embodiment of the present invention, motor control module is sent a control signal to by microcontroller 10
Circuit 30 to control the rotating of enabling motor 20 in loading interfaces, while detects water by position detecting module circuit 40
Whether slot dish washing machine door body is in opening, it is achieved thereby that when only two control lines in the enabling motor 20 in dish-washing machine
In the case of how to control the problem of motor positive and inverse, and only need to judge whether motor is transported by two microswitches
Row in place, reduces the difficulty of software programming, makes software more reliable.
Specific embodiment described herein is only to spirit explanation for example of the invention.Technology belonging to the present invention is led
The technical staff in domain can do various modifications or additions to described specific embodiment or replace in a similar way
Generation, but without departing from spirit of the invention or beyond the scope of the appended claims.