The utility model content
The purpose of the utility model is to provide a kind of communication coding circuit, and being intended to solve existing in prior technology can't compatible two kinds of different coding mode, and the problem for realizing that the different coding mode causes hardware cost to increase.
The utility model is achieved in that a kind of communication coding circuit, comprises DC power supply, and said communication coding circuit also comprises:
The output of the said DC power supply of input termination, the direct current that said DC power supply is exported carries out the voltage regulation unit that voltage stabilizing is handled;
The output of the said voltage regulation unit of input termination is operated the signal encoding unit that carries out signal encoding with the specific coding mode according to the user;
The working state signal end of the said signal encoding of input termination unit sends the condition prompting unit of corresponding cue to the user according to the operating state of said signal encoding unit;
Import the output of the said DC power supply of termination, the direct current of said DC power supply output is carried out the filter unit of Filtering Processing;
The output of the said filter unit of power supply termination, the output of the said signal encoding of signal termination unit, the high-frequency signal that the signal of said signal encoding unit output is carried out the frequency-selecting processing and transmitting generates and transmitting element.
Another purpose of the utility model also is to provide a kind of wireless signal dispensing device that comprises said communication coding circuit.
In the utility model; Comprise that through employing said voltage regulation unit, said signal encoding unit, said condition prompting unit, said filter unit and said high-frequency signal generate and the communication coding circuit of transmitting element; Reached in same hardware circuit the purpose that realizes signal encoding through the different coding mode; Thereby solved existing can't compatible two kinds of different coding modes, and problem for realizing that the different coding mode causes hardware cost to increase.
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.
In the utility model embodiment; Comprise that through employing voltage regulation unit, signal encoding unit, condition prompting unit, filter unit and high-frequency signal generate the communication coding circuit with transmitting element, reached in same hardware circuit the purpose that realizes signal encoding through the different coding mode
Fig. 1 shows the modular structure of the communication coding circuit that the utility model embodiment provided, and for the ease of explanation, only shows the part relevant with the utility model embodiment, and details are as follows:
The communication coding circuit comprises DC power supply 100, and this communication coding circuit also comprises:
The output of input termination DC power supply 100, the direct current that DC power supply 100 is exported carries out the voltage regulation unit 200 that voltage stabilizing is handled.
The output of input termination voltage regulation unit 200 is operated the signal encoding unit 300 that carries out signal encoding with the specific coding mode according to the user.
The working state signal end of input termination signal encoding unit 300 sends the condition prompting unit 400 of corresponding cue to the user according to the operating state of signal encoding unit 300.
Import the output of termination DC power supply 100, the direct current of DC power supply 100 outputs is carried out the filter unit 500 of Filtering Processing.
The output of power supply termination filter unit 500, the output of signal termination signal encoding unit 300 carries out the high-frequency signal generation and transmitting element 600 of frequency-selecting processing and transmitting to the signal of signal encoding unit 300 outputs.
Fig. 2 shows the exemplary circuit structure of the communication coding circuit that the utility model embodiment provided, and for the ease of explanation, only shows the part relevant with the utility model embodiment, and details are as follows:
As one embodiment of the invention; Voltage regulation unit 200 comprises capacitor C 1, voltage stabilizing chip U1 and capacitor C 2; The input Vin of voltage stabilizing chip U1 and output end vo ut are respectively the input and the output of voltage regulation unit 200; The earth point GND ground connection of voltage stabilizing chip U1, capacitor C 1 are connected between the input Vin and ground of voltage stabilizing chip U1, and capacitor C 2 is connected between the output end vo ut and ground of voltage stabilizing chip U1.
In the utility model embodiment, it is the voltage stabilizing chip of HT7150 that voltage stabilizing chip U1 adopts model.
As one embodiment of the invention, signal encoding unit 300 comprises:
Microprocessor U2, switch S 1, switch S 2, switch S 3, switch S 4, diode D1, diode D2, diode D3, diode D4, capacitor C 3, resistance R 1 and resistance R 2;
The first two-way I/O mouth IOA0 of microprocessor U2 is connected with first end of switch S 1 and the anode of diode D1 simultaneously; The second two-way I/O mouth IOA1 of microprocessor U2 is connected with first end of switch S 2 and the anode of diode D2 simultaneously; The 3rd two-way I/O mouth IOA2 of microprocessor U2 is connected with first end of switch S 3 and the anode of diode D3 simultaneously; The 4th two-way I/O mouth IOA3 of microprocessor U2 is connected with first end of switch S 4 and the anode of diode D4 simultaneously; Second end of switch S 1 is the input of signal encoding unit 300; And second end of switch S 1 is connected with second end of switch S 2, second end of switch S 3 and second end of switch S 4 simultaneously; The 6th two-way I/O mouth IOB6 of microprocessor U2 is the output of signal encoding unit 300; The 7th two-way I/O mouth IOB7, external interrupt input IOB0/INT and the equal sky of system reset end IOB3/RSTB of microprocessor U2 connect, the earth terminal VSS ground connection of microprocessor U2, and the crystal oscillator input IOB5/OSCI of microprocessor U2 and crystal oscillator output IOB4/OSCO constitute the working state signal end of signal encoding unit 300 jointly; The negative electrode of the negative electrode of the power end VDD of microprocessor U2, the negative electrode of diode D1, diode D2, the negative electrode of diode D3 and diode D4 all is connected with first end of capacitor C 3; The second end ground connection of capacitor C 3, resistance R 1 are connected between the 5th two-way I/O mouth IOB1 and ground of microprocessor U2, and resistance R 2 is connected between the external counting input IOB2/TOCK1 and ground of microprocessor U2.
In the utility model embodiment, it is the microprocessor of FM8PS53 that microprocessor U2 adopts model.
As one embodiment of the invention; Condition prompting unit 400 comprises resistance R 3, resistance R 4, light-emitting diode L1 and light-emitting diode L2; First end of resistance R 3 and first end of resistance R 4 constitute the input of condition prompting unit 400 jointly; Second end of the anode connecting resistance R3 of light-emitting diode L1, second end of the anode connecting resistance R4 of light-emitting diode L2, the equal ground connection of negative electrode of the negative electrode of light-emitting diode L1 and light-emitting diode L2.
Wherein, light-emitting diode L1 is respectively the light-emitting diode that possesses different glow colors with light-emitting diode L2.
As one embodiment of the invention, filter unit 500 comprises resistance R 5 and capacitor C 4, and first end of resistance R 5 and second end are respectively the input and the output of filter unit 500, and capacitor C 4 is connected between first end and ground of resistance R 5.
As one embodiment of the invention, high-frequency signal generates with transmitting element 600 and comprises:
Resistance R 6, capacitor C 5, resistance R 7, NPN type triode Q1, crystal oscillator CRT1, NPN type triode Q2, capacitor C 6, resistance R 8, capacitor C 7, capacitor C 8, antenna E1 and capacitor C 9;
First end of resistance R 6 is the input of high-frequency signal generation and transmitting element 600; The base stage of the second termination NPN type triode Q1 of resistance R 6; Capacitor C 5 is connected between first end and second end of resistance R 6; Resistance R 7 is connected between second end and ground of resistance R 6; The grounded emitter of NPN type triode Q1; The collector electrode of NPN type triode Q1 is connected with first output pin of crystal oscillator CRT1, the emitter of NPN type triode Q2 and first end of capacitor C 6 simultaneously, and second output pin of crystal oscillator CRT1 is connected with the base stage of NPN type triode Q2, first end of resistance R 8 simultaneously, and second end of resistance R 8 is the power end of high-frequency signal generation and transmitting element 600; And second end of resistance R 8 is connected with the input pin of crystal oscillator CRT1, second end of capacitor C 6 and first end of capacitor C 7 simultaneously; Second end of capacitor C 7 is connected with the collector electrode of NPN type triode Q2 and first end of capacitor C 8 simultaneously, and second end of capacitor C 8 is connected the second end ground connection of capacitor C 9 simultaneously with the input of antenna E1 and first end of capacitor C 9.
Below in conjunction with operation principle the communication coding circuit is further described:
The direct current of DC power supply 100 output carries out voltage stabilizing by voltage stabilizing chip U1 respectively to be handled the back and provides to microprocessor U2 and generate and transmitting element 600 power supplies to high-frequency signal after triggering the signal of telecommunication and carrying out Filtering Processing by filter unit 500.
Be loaded with preset signal encoding program among the microprocessor U2; When the user presses switch S 1; Trigger microprocessor U2 and get into the alarm code mode of operation; And it is generation of output alarm signal tremendously high frequency signal and transmitting element 600, and luminous from its crystal oscillator input IOB5/OSCI output high level driven for emitting lights diode L1;
When the user presses switch S 2; Trigger microprocessor U2 and carry out 1,000,000 groups of fixed form codings; And encoded signals has exported high-frequency signal generation and transmitting element 600 to, and is luminous by its crystal oscillator output IOB4/OSCO output high level driven for emitting lights diode L2 simultaneously;
When the user presses switch S 3, trigger microprocessor U2 and carry out ternary fixed form coding, and encoded signals exports high-frequency signal generation and transmitting element 600 to, luminous by its crystal oscillator output IOB4/OSCO output high level driven for emitting lights diode L2 simultaneously;
When the user presses switch S 4; Trigger microprocessor U2 and carry out 1,000,000 groups of fixed and ternary fixed hybrid codings; And encoded signals has exported high-frequency signal generation and transmitting element 600 to, and is luminous by its crystal oscillator output IOB4/OSCO output high level driven for emitting lights diode L2 simultaneously.
The pulse signal that the coded signal of microprocessor U2 output is made up of a plurality of continuous high-low level signals with certain duty ratio, wherein, " 1 " in the corresponding binary coding of high level, " 0 " in the low level correspondence binary coding.Get into the base stage of NPN type triode Q1 after the filtering electronic circuit filtering that pulse signal passes through to be made up of resistance R 6 and capacitor C 5; High level signal meeting driving N PN type triode Q1 conducting in the pulse signal, low level signal can make NPN type triode Q1 obtain bias voltage and end.When NPN type triode Q1 conducting; The current potential of its collector electrode is dragged down; Form the capacitance three-point type resonant circuit with the coded signal corresponding high-frequency signal of a fixed frequency thereby trigger, and send through antenna E1 in collector electrode generation with the microprocessor U2 output of NPN type triode Q2 by capacitor C 6, resistance R 8, crystal oscillator CRT1, NPN type triode Q2, capacitor C 7,8 of capacitor C; When NPN type triode Q1 ended, the collector electrode of NPN type triode Q2 produced corresponding high-frequency signal, and sends through antenna E1.
In the utility model embodiment; Light-emitting diode L1 is used to show that microprocessor U2 is in the alarm code mode of operation; Light-emitting diode L2 is used to show that microprocessor U2 is in 1,000,000 groups of fixed form coding patterns; Perhaps ternary fixed form coding pattern, perhaps 1,000,000 groups of fixed and ternary fixed hybrid coding modes.
Another purpose of the utility model also is to provide a kind of wireless signal dispensing device that comprises above-mentioned communication coding circuit.
In the utility model embodiment; Comprise that through employing voltage regulation unit 200, signal encoding unit 300, condition prompting unit 400, filter unit 500 and high-frequency signal generate and the communication coding circuit of transmitting element 600; Reached in same hardware circuit the purpose that realizes signal encoding through the different coding mode; Thereby solved existing can't compatible two kinds of different coding modes, and problem for realizing that the different coding mode causes hardware cost to increase.
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 range of the utility model.