The utility model content
The purpose of this utility model is to provide a kind of remote-wireless intelligence device of ringing a bell, send the time that wireless control signal control bell ring and bell stop by microcontroller chip, the timing that the control signal of stopping by bell is simultaneously set the self-locking clock logic is intervened, and guarantees the accuracy of ringing time and the reliability of bell ring action.
For reaching this purpose, the utility model by the following technical solutions:
A kind of remote-wireless intelligence device of ringing a bell, described device comprises intelligent control module, transmitter module and receiver module, described intelligent control module is connected with transmitter module, wherein,
Described intelligent control module is used for being controlled at the different also duties of the code switch by described control signal indirectly control transmitter module of the control signal corresponding with the described moment that constantly produce;
Described transmitter module is used for according to the duty of code switch the control signal that described intelligent control module produces being carried out corresponding encoded, sends the wireless modulated signals of different coding;
Described receiver module is used for receiving the wireless modulated signals corresponding with it and decoding, according to decoded specific control signal default timing is intervened, and determines the delay duration of electric bell jingle bell, and the control electric bell carries out the timesharing sync response.
Described transmitter module comprises coding unit and transmitter unit, and described coding unit is used for according to the duty of code switch the control signal that described intelligent control module produces being carried out corresponding encoded; Described transmitter unit is used for the wireless modulated signals behind the coding is launched.
Wireless modulated signals after described transmitter module adopts the fiberglass omnidirectional antenna to coding is launched; Described receiver module receives the wireless modulated signals corresponding with it by a kind of or its combination in homemade built-in aerial, whip antenna and the sucker antenna, and described homemade built-in aerial adopts 1/4 wavelength sub-thread copper core plastic cord.
Described receiver module comprises receiving element, decoding unit, clock logic unit, compulsive unlocking unit and execution unit unit, wherein,
Described receiving element is used for receiving the wireless modulated signals corresponding with it;
Described decoding unit is used for the wireless modulated signals that receiving element receives is decoded;
Described clock logic unit is used for setting timing;
Described compulsive unlocking unit is used for intervening according to the timing that decoded specific control signal is set described clock logic unit, determines the delay duration of electric bell jingle bell;
Described execution unit unit is used for carrying out the timesharing sync response according to decoded control signal according to described delay duration control electric bell.
Described clock logic unit forms the self-locking clock logic by monostalbe trigger, external capacitor and outer meeting resistance, and described timing is determined by the parameter of adjusting external capacitor and outer meeting resistance; Described compulsive unlocking unit comprises isolating diode, and described isolating diode is intervened the timing that the clock logic unit is set according to decoded specific control signal output switch amount signal, determines the delay duration of electric bell jingle bell; The timing length of described setting is greater than the time span of decoded specific control signal.
Described receiver module adopts the capacitor step-down mu balanced circuit to power.
Described intelligent control module adopts the control module that is made of microcontroller; comprise power supply unit, microcontroller chip, reset unit, oscillation circuit unit, setting unit, display unit, indicating member, drive circuit unit and power down protection unit; wherein, described microcontroller chip comprises single-chip microcomputer, digital signal processor, complex programmable logic controller or embedded chip.
Described device also comprises the relay forwarding module, and described relay forwarding module is used for the wireless modulated signals that transmitter module sends is carried out relay forwarding.
Described transmitter module adopts at least two electrochemical capacitors to power, and described electrochemical capacitor is connected in parallel.
Described specific control signal is the monitor signal that intelligent control module produces according to the predetermined instant of the frequency of setting in each frequency period, and whether the control signal that described specific control signal is sent for detection of described intelligent control module loses and can receiver module receive this signal; And after receiver module receives the bell ring signal, the timing that the self-locking clock logic is set is intervened, determine the delay duration of electric bell jingle bell, the control electric bell carries out the timesharing sync response.
Adopt the technical solution of the utility model, send the time that wireless control signal control bell ring and bell stop by microcontroller chip, the timing that the control signal of carving by the bell stopping time is simultaneously set the self-locking clock logic is intervened, determine the delay duration of electric bell jingle bell, electric bell is responded according to described delay duration, guarantee the accuracy of ringing time and the reliability of bell ring action.The technical solution of the utility model is installed simple, long transmission distance, and can automatically carry out Intelligent time control and timesharing synchro control.
Embodiment
Further specify the technical solution of the utility model below in conjunction with accompanying drawing and by embodiment.
Fig. 1 is the ring a bell structured flowchart of device of the remote-wireless intelligence of the utility model specific embodiment.As shown in Figure 1, the described device of ringing a bell comprises intelligent control module 101, transmitter module 102 and receiver module 103, described intelligent control module 101 is connected with transmitter module 102, wherein, described intelligent control module 101 is used for constantly producing in difference the duty of the control signal corresponding with the described moment and the code switch by described control signal indirectly control transmitter module; Described transmitter module 102 is used for according to the duty of code switch the control signal that described intelligent control module produces being carried out corresponding encoded, sends the wireless modulated signals of different coding; Described receiver module 103 is used for receiving the wireless modulated signals corresponding with it and decoding, according to decoded specific control signal default timing is intervened, and determines the delay duration of electric bell jingle bell, and the control electric bell carries out the timesharing sync response.In addition, described device also comprises relay forwarding module 104, and described relay forwarding module 104 is used for the wireless modulated signals of sending from transmitter module is carried out relay forwarding, and described relay forwarding module is usually as transmitter module for subsequent use.
Described transmitter module 102 comprises coding unit and transmitter unit, and described coding unit is used for according to the duty of code switch the different control signals that described intelligent control module produces being carried out corresponding encoded; Described transmitter unit is used for the wireless modulated signals behind the coding is launched.Described transmitter module adopts the fiberglass omnidirectional antenna of high-gain that the wireless modulated signals after encoding is launched.
Described receiver module 103 comprises receiving element, decoding unit, clock logic unit, compulsive unlocking unit and execution unit unit, wherein,
Described receiving element is used for receiving the wireless modulated signals corresponding with it;
Described decoding unit is used for the wireless modulated signals that receiving element receives is decoded;
Described clock logic unit is used for setting timing;
Described compulsive unlocking unit is used for intervening according to the timing that decoded specific control signal is set described clock logic unit, determines the delay duration of electric bell jingle bell;
Described execution unit unit is used for carrying out the timesharing sync response according to decoded control signal according to described delay duration control electric bell.
Described receiver module receives the wireless modulated signals corresponding with it by a kind of or its combination in homemade built-in aerial, whip antenna and the sucker antenna, and described homemade built-in aerial adopts 1/4 wavelength sub-thread copper core plastic cord to twine and obtains.
Fig. 2 is the theory diagram of the intelligent control module of the utility model specific embodiment.As shown in Figure 2; described intelligent control module adopts the control module that is made of microcontroller; comprise power supply unit, microcontroller chip, reset unit, oscillation circuit unit, setting unit, display unit, indicating member, drive circuit unit and power down protection unit; wherein, described microcontroller chip comprises single-chip microcomputer, digital signal processor (DSP), complex programmable logic controller (CPLD) or embedded chip (ARM) etc.
Fig. 3 is the physical circuit figure of the intelligent control module of the utility model specific embodiment.Circuit as shown in Figure 3, it is the high speed Embedded A VR single-chip microcomputer of ATmega16 that microcontroller chip adopts model; The used time base of daily schedule control adopts 32768Hz clock and watch crystal oscillator, for generation of oscillator signal, has guaranteed the accuracy of time; Setting unit adopts 4 * 4 matrix keyboards that the parameter of intelligent control module is arranged, and has improved operability; Display unit adopts liquid crystal display, and described liquid crystal display adopts 2 * 10 Chinese modes, and this liquid crystal display has backlight electric power to make the night also can clear display control information, increases readable; Described drive circuit unit adopts the import high sensitive relay by 4 tunnel outputs transmitter module to be driven, and increases the antijamming capability of module; Indicating member is used to refer to the output state of relay by 4 road luminotrons; Under normal circumstances, power supply unit uses AC power to convert direct supply to through step-down and powers, and the supply voltage of described direct supply can carry out conversion (such as 12V etc.) as required; Described module has power-down protection, and the power down protection unit adopts rechargeable battery, and described rechargeable battery comprises lithium battery, and inner lithium battery is the microcontroller chip power supply after the module power down, can guarantee that real-time clock information is not lost in 12 hours.
Use for convenient, prestored the daily schedule in microcontroller chip inside, according to the difference in season, can be set the different daily schedules, carry out daily schedule system conversion by the setting unit of control panel.The described intelligence device of ringing a bell carries out the timesharing sync response according to default daily schedule automatic control electric bell.The control panel of described intelligent control module comprise reset, the function key such as inquiry, time adjustment, time adjustment, timesharing arrange, when needs arrange the device of ringing a bell, get final product by the respective keys adjustment.The software flow of microcontroller as shown in Figure 9.
Fig. 4 is the physical circuit figure of the transmitter module of the utility model specific embodiment.Fig. 5 is the physical circuit figure of the relay forwarding module of the utility model specific embodiment.In conjunction with circuit shown in Figure 4, transmitter module (servo transmitter) comprises coding unit and transmitter unit, and described coding unit is used for according to the duty of code switch the different control signals that described intelligent control module produces being carried out corresponding encoded; Described transmitter unit is used for the wireless modulated signals behind the coding is launched.
Referring to Fig. 4, it is the coding chip of PT2262 that described coding unit adopts model, and described coding chip PT2262 is 18 pin dual inline type chips, and its pin one-8 pin and 10-13 pin (A0-A11) are address pins, be used for carrying out geocoding, can be set to " 0 " " 1 " " f " (unsettled); Pin 7-8 pin and 10-13 pin (D0-D5) are data input pin, have one to be that " 1 " namely has coding to send; 18 pin (V
CC) power positive end; 9 pin (V
Ss) power supply negative terminal; 14 pin (TE) coding start end is used for majority according to coded excitation, Low level effective; 16 pin (OSC1) oscillation resistance input end is with OSC2 institute connecting resistance decision oscillation frequency; 15 pin (OSC2) oscillation resistance device output terminal; 17 pin (D
Out) coding output terminal (normal time be low level).Microcontroller chip is exported 4 tunnel drive coding chip work, described 4 the road drive signal is respectively applied to theoretical bell, practice bell, dormitory bell and testing bell timesharing are driven, drive the signal difference according to current time and according to coding rule the control signal corresponding with the described moment that microcontroller chip produces carried out corresponding encoded, modulation signal behind the coding is gone out by antenna transmission with wireless mode, and described antenna adopts the wireless modulated signals after the fiberglass omnidirectional antenna of high-gain sends modulation.Described coding rule selects frequency shift keying (FSK) to modulate.
Referring to Fig. 5, described relay forwarding module is used for the wireless modulated signals behind the transmitter module coding is carried out relay forwarding.Usually the relay forwarding module is as forwarding module for subsequent use.Described relay forwarding module receives the wireless modulated signals of sending from transmitter module by the superheterodyne mode, wireless modulated signals according to described different coding, by the self-locking clock logic corresponding with described wireless modulated signals, control has the working time of the relay of excellent sealing, transmits through the remote-transmitter plate.Wherein, be parallel with the consumption loop that is comprised of diode, resistance and triode at relay two ends, every road, described consumption loop is used for consuming relay in reverse forceful electric power kinetic potential closed or disconnection moment generation.
Transmitter module is operated in the high frequency carrier modulation system, and instantaneous emission has again strict demand to dc supply, and it is improper to select, and gently then transmission range becomes and closely maybe can not decode, the heavy then damage that causes launching power discharging device.The peak point current in transmitter module when emission about 1A (reometer measured be mean effective value, peak value is about its 1.4 times, when Data Modulation is arranged because dutycycle impact, the data that reometer records only for peak value about 1/5th), therefore, the power supply of adapted must have lower internal resistance and can export rated current about 1A.In the prior art, effect is preferably the rechargeable battery of capacity more than 500mAH, such as Ni-MH battery.In initial design, adopted 9V rechargeable Ni-H 2 battery, and the switching that is is automatically discharged and recharged by single-chip microcomputer; Namely in transmitter module duration of work (3 seconds), single-chip microcomputer cuts off charging circuit, is powered separately by Ni-MH battery.When transmitter module was not worked, single-chip microcomputer was connected charging circuit, gave the battery electric energy supplement.Although this scheme has good practice effect, also Shortcomings part, Ni-MH battery has certain serviceable life, especially can shorten its life-span when discharging and recharging when undesirable.In order to improve the power supply quality of power supply, the utility model adopts many (at least two) jumbo electrochemical capacitor Ni-MH battery that replaces in parallel.Electrochemical capacitor is the transmitter module power supply by repeated charge.
The utility model transmitter module is selected the 315M transmission frequency.Select 315M to consider that underfrequency can increase the size of wireless receiver antenna, impact becomes large to too high then high frequency distribution parameter on circuit, and by practice, transmission frequency 315M has good effect.
Coding chip PT2262 is low-power consumption, low price, the general coding-decoding circuit that a kind of CMOS technique of Taiwan Pu Cheng company production is made, selected four tunnel control codes output; Adopt some dynamic formula mode of operation to adapt to the Wireless Bell work characteristics.The selection of emissive power should be suitable, and is excessive, and cost increases, and can produce wireless pollution; Cross small distance, work unreliable, therefore, transmission power peak of the present utility model is limited in about 1W, the air line distance of emission space is not less than 4 kms, mainly is to consider that the steel bar framework of buildings own can affect effective transmitting range, so will provide certain surplus.The transmitter code of described coding chip is 6561 kinds of 38 powers, and choosing a kind of code has wherein increased confidentiality and improved antijamming capability among the embodiment.
The factor that affects wireless transmit and receiving range is a lot, the selecting etc. of the sensitivity that receives such as the emissive power of transmitter module, receiver module, antenna, and wherein selecting of antenna can play a multiplier effect.The intelligent wireless device of ringing a bell has the advantages that to connect one more.For guaranteeing that transmitting range has enough redundancies.Emitting antenna only has one; So can select best.The design has selected high-gain fiberglass omnidirectional antenna, and the actual measurement standing-wave ratio is less than 1.15, and decorating position should be placed on the peak of training center's housing-group as far as possible.Consider that the device receiver module of ringing a bell comprises a plurality of, and be installed in the diverse location in the floor, can adopt homemade built-in aerial, namely twine with 1/4 wavelength sub-thread copper core plastic cord, described antenna length is about 24cm.Process so not only simply but also can satisfy the receiving sensitivity requirement.However, at the dead angle of individual other housing-group; Very weak such as the teaching building one deck and the bilevel signal that vertically are located with transmit direction, especially the crisscross bar construction, the metal anti-theft hurdle on its windowpane has also weakened electromagnetic transfer strength to one deck in building constructions.In order to realize preferably reception, a little less than the layer signal, installed the high-gain whip antenna additional in practice, bilevel signal a little less than, installed the sucker antenna of 1/4 wavelength additional.
Fig. 6 is the theory diagram of the receiver module of the utility model specific embodiment.As shown in Figure 6, described receiver module comprises receiving element, decoding unit, clock logic unit, compulsive unlocking unit and execution unit unit, wherein,
Described receiving element is used for receiving the wireless modulated signals corresponding with it;
Described decoding unit is used for the wireless modulated signals that receiving element receives is decoded;
Described clock logic unit is used for setting timing;
Described compulsive unlocking unit is used for intervening according to the timing that decoded specific control signal is set described clock logic unit, determines the delay duration of electric bell jingle bell;
Described execution unit unit is used for carrying out the timesharing sync response according to decoded control signal according to described delay duration control electric bell.
Radio receiving unit has two kinds of models optional, superhet and superregeneration formula.The superheterodyne unit has better sensitivity and selectivity, selects the superheterodyne mode to receive the wireless modulated signals that sends from transmitter module in the present embodiment.
Receiving element adopts the superheterodyne mode to carry out the superhet amplification from the feeble signal through wireless encoding that transmitter module sends, then by decoding unit 4 tunnel control signals are decoded, intervene according to the timing that decoded specific control signal is set the self-locking clock logic, determine delay time.The length of described delay time is determined by the specific control signal that RC time constant in the clock logic and wireless decoding unit provide, wherein, require described RC time constant to be slightly larger than the time span of described specific control signal, make decoded specific control signal intervene in advance the RC charging process, like this, the unified time of sending for described specific control signal of delay time.Described delay time can be set as required by the setting unit of intelligent control module (as being defaulted as 12 seconds).
Comprise one tunnel specific control signal (monitor signal) in 4 road signals of decoding unit output, described specific control signal is the monitor signal that intelligent control module produces according to the predetermined instant of the frequency of setting in each frequency period.Whether the control signal that described specific control signal monitor signal sends for detection of described intelligent control module loses and can receiver module receive this signal; And receive after the bell ring signal sends at receiver module, the timing that the self-locking clock logic is set is intervened, determine the delay duration of electric bell jingle bell, the control electric bell carries out the timesharing sync response.The time interval of described specific control signal (monitor signal) is unsuitable long, otherwise loses the monitoring meaning, and is also unsuitable too short, the too short life-span that affects radiating circuit.So described specific control signal is decided to be one minute daytime once; Night (23-5 point) be one hour once.Constantly be defined as XX hour XX minute the 0th second if ring a bell, monitoring constantly is defined as XX hour XX minute the 12nd second (adjustable).In fact, ring a bell and constantly be the Startup time of the bell ring that single-chip microcomputer sends, the bell ring close moment that monitoring is then sent for single-chip microcomputer constantly.As from the foregoing, it one is that per minute sends the wireless monitor signal that monitor signal has two effects, the 2nd, if the signal of ringing a bell (constantly occurring in the 0th second) then monitor signal (constantly occurring in the 12nd second) plays the bell ring closing function.
Decoding unit employing model is that the wireless universal decoding chip of PT2272 is decoded to the wireless modulated signals that receives.Described decoding chip PT2272 is 18 pin dual inline type chips, and its pin one-8 pin and 10-13 pin (A0-A11) they are address pins, is used for carrying out address decoder, can be set to " 0 " " 1 " " f " (unsettled), must be consistent with PT2262, otherwise do not decode; Pin 7-8 pin and 10-13 pin (D0-D5) they are address or data pins, and when as data pins, only consistent with PT2262 in address code, data pins could be exported the high level corresponding with 2262, otherwise, be output as low level; 18 pin (V
CC) power positive end; 9 pin (V
Ss) power supply negative terminal; 14 pin (DIN) data input pin is from the receiver module output terminal; 16 pin (OSC1) oscillation resistance input end is with OSC2 institute connecting resistance decision oscillation frequency; 15 pin (OSC2) oscillation resistance device output terminal; 17 pin (D
Out) effectively affirmation of decoding, output terminal (often low) effectively becomes high level (moment).
The geocoding of described coding chip PT2262 and decoding chip PT2272 is identical, could match use.As want to change geocoding, as long as arrange the 1-8 pin of coding chip PT2262 and decoding chip PT2270 identical.In the present embodiment, the 1-6 pin of coding chip PT2262 and decoding chip PT2272 is unsettled, 7,8 pins of decoding chip PT2272 are set to the state identical with 7,8 pins of coding chip PT2262 by the coding wire jumper, make coding chip PT2262 obtain identical coded address with decoding chip PT2272.
Fig. 7 is the physical circuit figure of the receiver module of the utility model specific embodiment.As shown in Figure 7, the superheterodyne reception unit receives corresponding with it wireless modulated signals of sending from transmitter module, and decode, the self-locking clock logic is intervened by the compulsive unlocking unit according to decoded specific control signal, determine the delay duration of electric bell jingle bell.Described self-locking clock logic forms the self-locking clock logic by monostalbe trigger, external capacitor and outer meeting resistance, and described timing is determined by the parameter of adjusting external capacitor and outer meeting resistance.Described compulsive unlocking unit comprises isolating diode, and described isolating diode is intervened the timing that the clock logic unit is set according to decoded specific control signal output switch amount signal, determines the delay duration of electric bell jingle bell; The timing length of described setting is greater than the time span of decoded specific control signal.The decoded certain pulses control signal that is produced according to the predetermined instant of the frequency of setting in each frequency period by intelligent control module of decoding chip PT2272 the 11st pin output, whether the pulse control signal that described certain pulses control signal is sent for detection of described intelligent control module is lost and whether receiver module receives this signal, and after receiver module receives the bell ring signal, according to decoded certain pulses control signal control compulsive unlocking unit output switch amount signal, the timing that the self-locking clock logic is default is intervened, determine the delay duration of electric bell jingle bell, the control electric bell carries out the timesharing sync response.When receiver module receives the wireless modulated signals corresponding with it, the 12(13 of decoding chip PT2272 or 10) pin senses is to the bell ring pulse control signal, described pulse control signal is delayed time through the clock logic unit and is exported, because shorter from the burst length that intelligent control module sends, detecting pulse signal by the moment of low level to high level, the monostalbe trigger 2/474HC02 rejection gate output high level of clock logic unit, it is closed that described high level drives the execution unit unit, the control electric bell is connected, and jingle bell begins; When 11 pin senses of decoding chip PT2272 during to the certain pulses control signal (reaching delay time constantly), by compulsive unlocking unit (isolating diode) output high level, time to the setting of clock logic unit intervenes, monostalbe trigger 2/474HC02 rejection gate output low level, described low level drives the execution unit unit and disconnects, the control electric bell disconnects, and jingle bell stops.
The start and stop of microcontroller chip control bell ring are finished by reliability high " self-locking " RC timing logic control circuit and compulsive unlocking unit.As shown in Figure 7, the specific control signal that intelligent control module produces is through decoding, in isolating diode D0 access self-locking RC logic timing circuit.At first, microcontroller chip sends " ringing signal " notice self-locking RC logic control circuit and carries out RC self-locking time-delay, and the time of RC time-delay is greater than the bell ring shut-in time of microprocessor controls (beginning to produce constantly to specific control signal from ringing signal).Like this, microcontroller sends the specific control signal of bell ring shut-in time in advance, by control isolating diode D0 output high level, forces the RC delay time that charges is finished in advance, then send the bell ring shutdown signal, thereby realized ringing time fully and microcontroller controlled in wireless impulsive synchronization.Described execution unit (relay) adopts the quality seal structure, leaves larger redundancy during its contact rating design, can greatly prolong its serviceable life.Described receiver module adopts the capacitor step-down mu balanced circuit to power, and the capacitive stepdown power supply mode can reduce volume and reduce cost of manufacture.
Fig. 8 is the pulse control sequential chart of the utility model specific embodiment.As shown in Figure 8, the different pulse control signals that receiver module sends according to intelligent control module (a kind of pulse control bell ring starts, and a kind of subpulse control bell ring stops).Receiving circuit is not in case receive the bell ring stop signal that microcontroller sends because of certain interference, and then the RC charging circuit is proceeded, and then comes the final plant closure ringing time by the RC logic control circuit in the receiving circuit after slightly postponing a little times.
Adopt the technical solution of the utility model, send the time that wireless control signal control bell ring and bell stop by microcontroller chip, the timing that the control signal of stopping by bell is simultaneously set the self-locking clock logic is intervened, determine the delay duration of electric bell jingle bell, electric bell is responded according to described delay duration, guarantee the accuracy of ringing time and the reliability of bell ring action.The technical solution of the utility model is installed simple, long transmission distance, and can carry out Intelligent time control and timesharing synchro control.
The above; it only is the better embodiment of the utility model; but protection domain of the present utility model is not limited to this; anyly be familiar with the people of this technology in the disclosed technical scope of the utility model; the variation that can expect easily or replacement all should be encompassed within the protection domain of the present utility model.