The utility model content
The purpose of the utility model embodiment is to provide a kind of infrared ray identification circuit, is intended to solve existing man-machine interface control mode range of application limitation, costs an arm and a leg poor user experience, the problem of complex design.
The utility model embodiment is achieved in that a kind of infrared ray identification circuit, and said circuit comprises:
Convert supply voltage the power conversion unit of the internal work voltage of said circuit into, the input end of said power conversion unit is connected with supply voltage;
The infra-red ray transmitting unit of emission infrared light, the feeder ear of said infra-red ray transmitting unit is connected with supply voltage;
According to the variation that receives the reflective infrared optical position; Select the infrared ray receiving element of corresponding data transmission terminal output infrared ray receiving feedback signals; The feeder ear of said infrared ray receiving element is connected with the output terminal of said power conversion unit, a plurality of control output ends of said infrared ray receiving element and the corresponding connection of a plurality of control ends of said infra-red ray transmitting unit;
Carry out motion state identification according to the variation of the respective data transfer end that receives said infrared ray receiving feedback signals; The control module of output state identification signal; The feeder ear of said control module is connected with the output terminal of said power conversion unit; A plurality of data transmission terminals of said control module and the corresponding connection of a plurality of data transmission terminals of said infrared ray receiving element, a plurality of state output ends of said control module are connected with external function module.
Further, said infra-red ray transmitting unit comprises:
First infrared transmitting tube, second infrared transmitting tube, the 3rd infrared transmitting tube and resistance R 1;
Said first infrared transmitting tube, said second infrared transmitting tube, said the 3rd infrared transmitting tube are respectively that the length of side is triangularly arranged with the pipe range; The anode of said first infrared transmitting tube, said second infrared transmitting tube, said the 3rd infrared transmitting tube all is connected with an end of said resistance R 1; The other end of said resistance R 1 is the feeder ear of said infra-red ray transmitting unit, and the negative electrode of said first infrared transmitting tube, said second infrared transmitting tube, said the 3rd infrared transmitting tube is respectively a plurality of control ends of said infra-red ray transmitting unit.
Further, said infrared ray receiving element comprises:
Capacitor C 5, capacitor C 6, resistance R 3, resistance R 4, resistance R 5 and sensor;
Said capacitor C 5 is parallelly connected with said capacitor C 6; The one of which common port is that the feeder ear of said infrared ray receiving element is connected with the power end of said sensor; Another common end grounding of said capacitor C 5 and said capacitor C 6; One end of said resistance R 3, said resistance R 4, said resistance R 5 all is connected with the power end of said sensor; The other end of said resistance R 3, said resistance R 4, said resistance R 5 be said infrared ray receiving element a plurality of data transmission terminals respectively with the corresponding connection of a plurality of general purpose I/O interface of said sensor, a plurality of data output ends of said sensor are a plurality of control output ends of said infrared ray receiving element.
Further, said control module comprises:
Capacitor C 7, capacitor C 8, resistance R 10 and single-chip microcomputer;
Said capacitor C 7 is parallelly connected with said capacitor C 8; The one of which common port is that the feeder ear of said control module is connected with the power end of said single-chip microcomputer; Another common end grounding of said capacitor C 7 and said capacitor C 8; One end of said resistance R 10 is connected with the power end of said single-chip microcomputer, and the other end of said resistance R 10 is connected with the reset terminal of said single-chip microcomputer, and a plurality of data terminals of said single-chip microcomputer are a plurality of data transmission terminals of said control module; Other a plurality of data terminals of said single-chip microcomputer are a plurality of state output ends of said control module, the earth terminal ground connection of single-chip microcomputer.
Further,, said power conversion unit comprises:
Capacitor C 1, capacitor C 2, capacitor C 3, capacitor C 4 and power conversion chip;
Said capacitor C 1 is parallelly connected with said capacitor C 2; The one of which common port is that the input end of said power conversion unit is connected with the input end of said power conversion chip; Another common port of said capacitor C 1 and said capacitor C 2 and the earth terminal of said power conversion chip be ground connection simultaneously; The output terminal of said power conversion chip is that the output terminal of said power conversion unit is connected with an end of said capacitor C 3, said capacitor C 4 simultaneously, and the other end of said capacitor C 3, said capacitor C 4 is distinguished ground connection.
Further, said power conversion chip is a low pressure difference linear voltage regulator.
Further, said power conversion unit also comprises:
First interface of grafting external power source, an end of said first interface is connected with the input end of said power conversion unit, the other end ground connection of said first interface.
Further, said circuit also comprises:
With outside second interface that external function module is pegged graft, a pin ground connection of said second interface, a plurality of pins of all the other of said second interface are connected with a plurality of state output ends of said control module.
Another purpose of the utility model embodiment is to provide a kind of infrared control terminal of adopting above-mentioned infrared ray identification circuit.
In the utility model embodiment; Through of the variation of infrared ray receiving element according to reception reflective infrared optical position; Select corresponding data transmission terminal output infrared ray receiving feedback signals, and carry out motion state identification by control module according to the variation of respective data transfer end, this conceptual design is simple; Cost is low, and user experience is good.
Embodiment
For the purpose, technical scheme and the advantage that make the utility model is clearer,, the utility model is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the utility model, and be not used in qualification the utility model.
The reflection position of the utility model embodiment through distinguishing reflects infrared light be with the direction of motion of the variation recognition object of reflection interval, simplicity of design, and cost is low, and user experience is good.
Fig. 1 illustrates the structure of the infrared ray identification circuit that the utility model embodiment provides, and for the ease of explanation, only shows the part relevant with the utility model.
The infrared ray identification circuit that provides as the utility model one embodiment can be applied in various types of infrared control terminal, and this infrared ray identification circuit comprises:
With supply voltage V
CCConvert the internal work voltage V of circuit into
DD Power conversion unit 11, the input end of this power conversion unit 11 and supply voltage V
CCConnect;
The infra-red ray transmitting unit 12 of emission infrared light, the feeder ear of this infra-red ray transmitting unit 12 and supply voltage V
CCConnect;
According to the variation that receives the reflective infrared optical position; Select the infrared ray receiving element 13 of corresponding data transmission terminal output infrared ray receiving feedback signals; The feeder ear of this infrared ray receiving element 13 is connected with the output terminal of power conversion unit 11, a plurality of control output ends of infrared ray receiving element 13 and the corresponding connection of a plurality of control ends of infra-red ray transmitting unit 12;
Carry out motion state identification according to the variation of the respective data transfer end of receiving infrared-ray receiving feedback signals; The control module 14 of output state identification signal; The feeder ear of this control module 14 is connected with the output terminal of power conversion unit 11; A plurality of data transmission terminals of control module 14 and the corresponding connection of a plurality of data transmission terminals of infrared ray receiving element 13, a plurality of state output ends of control module 14 are connected with external function module 15.
Be elaborated below in conjunction with the realization of specific embodiment to the utility model.
Fig. 2 illustrates the exemplary circuit structure of the infrared ray identification circuit that the utility model embodiment provides, and for the ease of explanation, only shows the part relevant with the utility model.
In the utility model embodiment, power conversion unit 11 comprises:
Capacitor C 1, capacitor C 2, capacitor C 3, capacitor C 4 and power conversion chip U3;
Capacitor C 1 is parallelly connected with capacitor C 2; The one of which common port is that the input end of power conversion unit 11 is connected with the input end of power conversion chip U3; Another common port of capacitor C 1 and capacitor C 2 and the earth terminal of power conversion chip U3 be ground connection simultaneously; The output terminal of power conversion chip U3 is that the output terminal of power conversion unit 11 is connected with an end of capacitor C 3, capacitor C 4 simultaneously, and the other end of capacitor C 3, capacitor C 4 is ground connection respectively.
As the utility model one embodiment, power conversion chip U3 can for low pressure difference linear voltage regulator (low dropout regulator, LDO).
As the utility model one embodiment, power conversion unit 11 also comprises:
The first interface J1 of grafting external power source, the end of this first interface J1 is connected with the input end of power conversion unit 11, the other end ground connection of the first interface J1.
Preferably, the first interface J1 can be USB interface.
Infra-red ray transmitting unit 12 comprises:
The first infrared transmitting tube IR1, the second infrared transmitting tube IR2, the 3rd infrared transmitting tube IR3 and resistance R 1;
The first infrared transmitting tube IR1, the second infrared transmitting tube IR2, the 3rd infrared transmitting tube IR3 are respectively that the length of side is triangularly arranged with the pipe range; The anode of the first infrared transmitting tube IR1, the second infrared transmitting tube IR2, the 3rd infrared transmitting tube IR3 all is connected with an end of resistance R 1; The other end of resistance R 1 is the feeder ear of infra-red ray transmitting unit 12, and the negative electrode of the first infrared transmitting tube IR1, the second infrared transmitting tube IR2, the 3rd infrared transmitting tube IR3 is respectively a plurality of control ends of infra-red ray transmitting unit 12.
Infrared ray receiving element 13 comprises:
Capacitor C 5, capacitor C 6, resistance R 3, resistance R 4, resistance R 5 and sensor U1;
Capacitor C 5 is parallelly connected with capacitor C 6, and the one of which common port is the feeder ear of infrared ray receiving element 13 and the power end V of sensor U1
DDConnect, another common end grounding of capacitor C 5 and capacitor C 6, an end of resistance R 3, resistance R 4, resistance R 5 all with the power end V of sensor U1
DDConnect, the other end of resistance R 3, resistance R 4, resistance R 5 be infrared ray receiving element 13 a plurality of data transmission terminals respectively with a plurality of general purpose I/O interface GPIO of sensor U1
1-GPIO
3Corresponding connection, a plurality of data output end P of sensor U1
C1-P
C3A plurality of control output ends for infrared ray receiving element 13.The corresponding connection, said sensor a plurality of
Control module 14 comprises:
Capacitor C 7, capacitor C 8, resistance R 10 and single-chip microcomputer U2;
Capacitor C 7 is parallelly connected with capacitor C 8, and the one of which common port is the feeder ear of control module 14 and the power end V of single-chip microcomputer U2
DDConnect another common end grounding of capacitor C 7 and capacitor C 8, an end of resistance R 10 and the power end V of single-chip microcomputer U2
DDConnect; The other end of resistance R 10 is connected with the reset terminal RST of single-chip microcomputer U2; A plurality of data terminal P0.1-P0.3 of single-chip microcomputer U2 are a plurality of data transmission terminals of control module 14; Other a plurality of data terminal P1.1-P1.7 of single-chip microcomputer U2 are a plurality of state output ends of control module 14, the earth terminal GND ground connection of single-chip microcomputer U2.
In the utility model embodiment, the quantity of the data terminal of single-chip microcomputer U2 can be selected according to actual needs, and its sum should be more than or equal to the quantity summation of control module 14 data transmission terminals and state output end.
As the utility model one embodiment, this infrared ray identification circuit also comprises:
With the outside second interface J2 that external function module is pegged graft, the pin ground connection of this second interface J2, all the other a plurality of pins of the second interface J2 are connected with a plurality of state output ends of control module 12.
In the utility model embodiment; Through first interface J1 input 5V supply voltage; Capacitor C 1 is carried out filtering with 2 pairs of these supply voltages of capacitor C; Filtered 5V supply voltage converts the 3.3V DC voltage into through low pressure difference linear voltage regulator U3, through after capacitor C 3 and capacitor C 4 filtering, for control module 14 and infrared ray receiving element 13 provide internal work voltage.
This internal work voltage powers on for single-chip microcomputer U2 after the filtering through capacitor C 7 and capacitor C 8 once more; Single-chip microcomputer U2 is according to the program timesharing output infrared control signal of setting; Sensor U1 works on power after the filtering through capacitor C 5 and 6 pairs of 3.3V internal works of capacitor C voltage once more; Convert the infrared control signal that receives into Continuity signal, resistance R 3, resistance R 4 and resistance R 5 are pull-up resistor, and the first infrared transmitting tube IR1, the second infrared transmitting tube IR2, the 3rd infrared transmitting tube IR3 launch infrared light under the control of Continuity signal; To survey the object in its transmitting boundary; In object got into the scope of arbitrary infrared transmitting tube emission, sensor U1 received the infrared light that reflects, and according to the variation that receives the reflective infrared optical position; Select corresponding data transmission terminal to single-chip microcomputer U2 output infrared ray receiving feedback signals; Single-chip microcomputer U2 carries out motion state identification according to the variation of the respective data transfer end of receiving infrared-ray receiving feedback signals, and the output state identification signal is promptly when the infrared transmitting tube timesharing conducting of layout at three different directions; Which power valve sensor U1 at first receives and reflects infrared light; Then representing object is at first to appear in the light source coverage of corresponding power valve, then according to the infrared transmitting tube emission that receives other direction and reflect the priority of infrared light, comes the moving direction of recognition object.For example: if the first infrared transmitting tube IR1, the second infrared transmitting tube IR2, the 3rd infrared transmitting tube IR3 are according to positional alignment shown in Figure 2; When the data transmission terminal of transmission infrared ray receiving feedback signals is changed to the corresponding end of the second infrared transmitting tube IR2 by the corresponding end of the first infrared transmitting tube IR1; Then single-chip microcomputer U2 is tangential movement from left to right with the action recognition of this object; When the data transmission terminal of transmission infrared ray receiving feedback signals was changed to the corresponding end of the 3rd infrared transmitting tube IR3 by the corresponding end of the first infrared transmitting tube IR1, then single-chip microcomputer U2 was a vertical motion from top to bottom with the action recognition of this object.
The state recognition signal that single-chip microcomputer U2 will handle back output is transferred to external function module 15 through the second interface J2, carries out corresponding order to control other functional circuit module.
In the utility model embodiment, can reset through 10 couples of single-chip microcomputer U2 of resistance R, resistance R 1 is a current-limiting resistance.
In the utility model embodiment, the infrared transmitting tube in the infrared ray receiving element with rounded projections arranged, is changed according to receiving the priority of layout at three different directions reflective infrared optical positions; Select corresponding data transmission terminal output infrared ray receiving feedback signals; And carry out motion state by control module according to the variation of respective data transfer end and discern, the direction of motion of recognition object, this conceptual design is simple; Cost is low; User experience is good, and communicates by letter with external function module through increasing general-purpose interface, has strengthened operability.
The above is merely the preferred embodiment of the utility model; Not in order to restriction the utility model; Any modification of being done within all spirit and principles at the utility model, be equal to replacement and improvement etc., all should be included within the protection domain of the utility model.