Summary of the invention
In order to address the above problem, the invention provides a kind of rapid medicine dispensing control setup, make the power-handling capability of control setup strengthen, improve control system and reliability, the service life of extension fixture.
Concrete technical scheme is as follows:
A kind of rapid medicine dispensing control setup that the embodiment of the present invention provides comprises interface unit, signal amplification unit and at least one electromagnet and corresponding medicament discharge mechanism, wherein
Described interface unit connects the PLC controller, receives the PLC control signal and transfers to described signal amplification unit;
Described signal amplification unit connects described interface unit and receives the PLC control signal of its transmission, outputs control signals to described electromagnet through after conversion process;
Described electromagnet connects and receives the control signal of described signal amplification unit, controls described medicament discharge mechanism action.
The preferred embodiment one of according to the present invention, described signal amplification unit comprises at least one first signal amplifying circuit and at least one secondary signal amplifying circuit, the input end of described first signal amplifying circuit and secondary signal amplifying circuit is connected with described interface unit, the mouth of first signal amplifying circuit and the positive pole of described electromagnet join, and the mouth of secondary signal amplifying circuit and the negative pole of described electromagnet join.
The preferred embodiment one of according to the present invention, described first signal amplifying circuit comprises field effect transistor (Q101), current-limiting resistance (R101) and biasing resistor (R102), the PLC control signal is connected to the grid G of field effect transistor (Q101) through current-limiting resistance (R101), the grid G of field effect transistor (Q101) connects the 24V power supply by biasing resistor (R102), the drain D of field effect transistor (Q101) connects the 24V power supply, and source S connects the mouth of first signal amplifying circuit.
the preferred embodiment one of according to the present invention, described secondary signal amplifying circuit comprises aerotron (Q201), field effect transistor (Q202), current-limiting resistance (R201), biasing resistor (R202), pull down resistor (R204) and divider resistance (R203), the PLC control signal is connected to the base stage B of aerotron (Q201) through current-limiting resistance (R201), the base stage b of aerotron (Q201) connects the 24V power supply by biasing resistor (R202), the collecting electrode c of aerotron (Q201) connects the grid G of field effect transistor (Q202), the grid G of field effect transistor (Q202) by pull down resistor (R204) over the ground, the emitter e of aerotron (Q201) connects the 24V power supply by divider resistance (R203), the drain D ground connection of field effect transistor (Q202), source S connects the mouth of secondary signal amplifying circuit.
The preferred embodiment one of according to the present invention, this device comprise M * N electromagnet and M * N corresponding medicament discharge mechanism, and described electromagnet is arranged with the matrix form of M * N.
As can be seen from the above technical solutions, a kind of rapid medicine dispensing control setup provided by the invention, the mode of employing amplifying circuit gating matrix makes the power-handling capability of control setup strengthen, improve control system and reliability, the service life of extension fixture.
The specific embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Embodiment 1
Fig. 1 is the functional block diagram of the rapid medicine dispensing control setup that provides of the present embodiment, and as shown in Figure 1, this device comprises interface unit 101, signal amplification unit 102 and at least one electromagnet 103 and corresponding medicament discharge mechanism 104.
Interface unit 101 connects the PLC controller, receives the PLC control signal and transfers to signal amplification unit 102.
Signal amplification unit 102, connecting interface unit 101 also receives the PLC control signal of its transmission, outputs control signals to electromagnet 103 through after conversion process.
Electromagnet 103 is installed on medicament discharge mechanism 104, connects and receive the control signal of signal amplification unit 102, controls medicament discharge mechanism 104 actions.
Signal amplification unit 102 comprises at least one first signal amplifying circuit and at least one secondary signal amplifying circuit.The input end of first signal amplifying circuit and secondary signal amplifying circuit is connected with interface unit 101, and the positive pole of the mouth of first signal amplifying circuit and electromagnet 103 joins, and the negative pole of the mouth of secondary signal amplifying circuit and electromagnet 103 joins.
Fig. 2 is the circuit diagram of the first signal amplifying circuit that provides of the present embodiment, as shown in Figure 2, the first signal amplifying circuit comprises field effect transistor Q101, current-limiting resistance R101 and biasing resistor R102, PLC control signal input1 is connected to the grid G of field effect transistor Q101 through current-limiting resistance R101, the grid G of field effect transistor Q101 connects the 24V power supply by biasing resistor R102, the drain D of field effect transistor Q101 connects the 24V power supply, and source S connects the mouth output1 of first signal amplifying circuit.Its principle of work is: when PLC control signal input1 had input, field effect transistor Q101 conducting made mouth output1 output 24V signal, is connected to the electromagnet positive pole; Without when input, not conducting of field effect transistor Q101 makes the output of mouth output1 no signal as PLC control signal input1.
Fig. 3 is the circuit diagram of the secondary signal amplifying circuit that provides of the present embodiment, as shown in Figure 3, the secondary signal amplifying circuit comprises aerotron Q201, field effect transistor Q202, current-limiting resistance R201, biasing resistor R202, pull down resistor R204 and divider resistance R203, PLC control signal input101 is connected to the base stage B of aerotron Q201 through current-limiting resistance R201, the base stage b of aerotron Q201 connects the 24V power supply by biasing resistor R202, the collecting electrode c of aerotron Q201 connects the grid G of field effect transistor Q202, the grid G of field effect transistor Q202 by pull down resistor R204 over the ground, the emitter e of aerotron Q201 connects the 24V power supply by divider resistance R203, the drain D ground connection of field effect transistor Q202, source S connects the mouth output101 of secondary signal amplifying circuit.Its principle of work is: when PLC control signal input101 had input, aerotron Q201 conducting made field effect transistor Q202 conducting, and mouth output101 exports earth signal, is connected to the electromagnet negative pole; Without when input, not conducting of aerotron Q201 makes not conducting of field effect transistor Q202 as PLC control signal input101, the output of mouth output1 no signal.
The medicine outlet of automatic dispensary is the capable N of matrix form M Column Layout, and the medicament discharge mechanism of each medicine outlet is controlled the granting of medicine.Medicament discharge mechanism is controlled by electromagnet, the corresponding electromagnet of each medicine outlet.Every row N electromagnet is fixed on same fixed cross beam, by the granting of magnet control medicine.When electromagnet receives the control signal of signal amplification unit, control medicine outlet and go out a box medicine.
In the present embodiment, signal amplification unit comprises 32 first signal amplifying circuits and 24 secondary signal amplifying circuits, i.e. M=32, N=24.The numerical value of M and N can be set according to actual conditions.Fig. 4 is the circuit diagram of the first interface unit that provides of the present embodiment, as shown in Figure 4, the first signal amplifying circuit receives 32 incoming signal input1 ~ input32, and 32 output signal output1 ~ output32 are provided, and the amplifying circuit between its input and output as shown in Figure 2.Fig. 5 is the circuit diagram of the second interface unit of providing of the present embodiment, as shown in Figure 5, the secondary signal amplifying circuit receives 24 incoming signal input101 ~ input124, and 24 output signal output101 ~ output124 are provided, and the amplifying circuit between its input and output as shown in Figure 3.That is to say, the present invention can control 32 * 24 electromagnet, corresponding 768 medicine outlets.
Fig. 6 is the electromagnet matrix control structure schematic diagram that the present embodiment provides, as shown in Figure 6, the mouth of first signal amplifying circuit be arranged in matrix vertically, join with the positive pole of electromagnet; The mouth of secondary signal amplifying circuit be arranged in matrix laterally, join with the negative pole of electromagnet.
The control principle of medicament discharge mechanism is, when the both positive and negative polarity of electromagnet is all switched on, and work of electromagnet, medicine outlet is opened, and goes out a box medicine; Wherein during an end outage, electromagnet is not worked, and is returned to initial condition when the both positive and negative polarity of electromagnet, and medicine outlet is closed.Thereby, the electromagnet in matrix, when only having row and column all to receive signal simultaneously, this electromagnet just moves.As shown in Figure 6, when output1 output 24V signal, when output101 exported earth signal, the medicament discharge mechanism work of this position was controlled in electromagnet D11 work, and medicine outlet is opened, and falls down a box medicine, can send out effectively rapidly medicine.
Rapid medicine dispensing control setup provided by the invention has strengthened the power-handling capability of control circuit by signal amplification circuit, avoid the phenomenon that occurs burning out, has improved control system and reliability, the service life of extended control device.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.