A kind of based radio frequency remote controller
Technical field
The utility model relates to the wireless remote control technology field, relates in particular to a kind of based radio frequency remote controller.
Background technology
Radio-frequency (RF) remote has advantages of that operational reliability is high, long distance of signal transmission, strong interference immunity and realization two-way communication, will replace gradually Infrared remote controller, becomes the main flow telepilot of electric equipment.But the shortcoming of radio-frequency (RF) remote is: the radiofrequency signal non-directive of emission.When the user operates, if neighbouring have an electric equipment identical or same type, crosstalk phenomenon will occur, cause the instruction of these electric equipment execution errors.
China Patent Publication No. CN201518160U, open day on June 30th, 2010, the name of utility model is called a kind of radio-frequency (RF) remote and has the electric equipment of described telepilot, and this application case discloses a kind of radio-frequency (RF) remote and had the electric equipment of described telepilot.Described radio-frequency (RF) remote comprises circuit board, be provided with main control module on the described circuit board, described main control module is connected with radiofrequency emitting module, the transmitting terminal of described radiofrequency emitting module is connected with antenna, the roller signal processing module that described telepilot also includes roller and the roll signal of described roller is processed, described roller signal processing module receives the roll signal of roller, and the roller signal after will processing transfers to described main control module.Its weak point is, the radiofrequency signal non-directive of this radio-frequency (RF) remote emission when the user operates, if neighbouring have an electric equipment identical or same type, crosstalk phenomenon will occur, causes the instruction of these electric equipment execution errors.
The utility model content
The purpose of this utility model is the radiofrequency signal non-directive that overcomes original based radio frequency remote controller emission, near the technical matters of similar electric equipment normal operation can disturbing, a kind of based radio frequency remote controller is provided, it can carry out matching operation with remote-transmitter module and the remote control reception module on the electric equipment that needs control, set up one to one relation, thereby eliminate the interference near similar electric equipment.
In order to address the above problem, the utility model is achieved by the following technical solutions:
A kind of based radio frequency remote controller of the present utility model, comprise remote-transmitter module and remote control reception module, described remote-transmitter module comprises main control chip, the first radiofrequency emitting module, the first Receiver Module, the first storage unit and key groups, described main control chip respectively with the first radiofrequency emitting module, the first Receiver Module, the first storage unit links to each other with key groups, described remote control reception module comprises the controlled plant control chip, the second radiofrequency emitting module, the second Receiver Module, the second storage unit and prompting module, described controlled plant control chip respectively with the second radiofrequency emitting module, the second Receiver Module, the second storage unit links to each other with prompting module.
In the technical program, be provided with the coupling button in the key groups, after the user pressed the coupling button, the main control chip in the remote-transmitter module read self ID number and device type authentication code from the first storage unit, and is inserted in the matching request frame ordering.Main control chip will be controlled the first radiofrequency emitting module with these matching request frame data of maximum power transmission.The remote control reception module of all the similar controlled plants in the radiofrequency signal coverage, in the situation that not disturbed, all will receive the request coupling frame data of this remote-transmitter module emission.
The second Receiver Module receives this request coupling frame data, and sends it to the controlled plant control chip.The controlled plant control chip reads the device type authentication code of controlled plant from the second storage unit, and itself and the device type authentication code that receives are compared, and whether judgment device type authentication code is consistent, if inconsistent, then directly abandons these data; If unanimously, then judge the signal intensity of these request coupling frame data.If signal intensity is lower than the minimum threshold that sets, the controlled plant control chip is not processed this request coupling frame, continues to enter accepting state, receives the control command of other remote-transmitter module emissions; If signal intensity is greater than the threshold value of setting, the controlled plant control chip is embedded in coupling with controlled plant ID number, device type authentication code and request coupling frame signal intensity level and replys in the frame.The controlled plant control chip is controlled the second radiofrequency emitting module and is launched this coupling answer frame data.
The first Receiver Module of remote-transmitter module receives coupling and replys frame data, and sends it to main control chip.Main control chip is recorded the coupling of receiving and is replied frame data and corresponding signal strength values.Reach maximum set threshold value or wait timeout if the coupling that receives is replied frame data, the first Receiver Module will stop to receive, and main control chip is processed the coupling that receives and replied frame data.If when receiving the coupling answer frame data that surpass a remote control reception module transmission, main control chip will mate the signal strength values of replying frame and remove 2 with the addition of request coupling frame signal intensity level (i.e. the signal strength values of two data transfer), select the best remote control reception module of signal intensity as the target remote control reception module of this coupling; If when only having a remote control reception module to reply, then need not to do this processing.
Main control chip is controlled the first radiofrequency emitting module emission and is contained controlled plant ID number frame data to the remote control reception module.The second Receiver Module receives this frame data, and sends to the controlled plant control chip.The controlled plant control chip compares with the second cell stores controlled plant ID number of controlled plant ID number of reading, if identical, then transmit control signal to prompting module, prompting module is sent prompting message, and it is this equipment that reminding user is selected the controlled plant of pairing.Simultaneously, the controlled plant control chip is controlled the second radiofrequency emitting module and is launched frame request acknowledgement frame data, waits for user's affirmation.The first Receiver Module of remote-transmitter module receives this request acknowledgement frame data, and sends it to main control chip, and main control chip is waited for user's affirmation operation.
Affirmation button if the user pushes button in the group, then ID number of main control chip record controlled plant, and be stored in the first storage unit, control simultaneously the first radiofrequency emitting module emission pairing OK frame data, the controlled plant control chip receives this pairing OK frame data by the second Receiver Module, be stored in the second storage unit, control simultaneously prompting module and send another kind of prompting message, the reminding user successful matching for ID number with the remote-transmitter module; Cancellation button if the user pushes button in the group, then main control chip is controlled the first radiofrequency emitting module emission cancellation pairing frame data, the controlled plant control chip receives this cancellation pairing frame data by the second Receiver Module, and remote-transmitter module and remote control reception module all withdraw from pairing mode.
As preferably, described prompting module comprises the first pilot lamp and the second pilot lamp, and described controlled plant control chip links to each other with the second pilot lamp with the first pilot lamp respectively.When the remote-transmitter module is chosen the controlled plant that can match, the flicker of the first pilot lamp of this controlled plant.When remote-transmitter module and controlled plant successful matching, the flicker of the second pilot lamp of this controlled plant.
As preferably, described prompting module comprises hummer, and described hummer links to each other with the controlled plant control chip.When the remote-transmitter module was chosen the controlled plant that can match, the hummer of this controlled plant sent a kind of tweeting sound of frequency.When remote-transmitter module and controlled plant successful matching, the hummer of this controlled plant sends the tweeting sound of another kind of frequency.
As preferably, described the first storage unit and the second storage unit adopt EEPROM, Flash storage chip or MCU on-chip memory.EEPROM can repeat to wipe and write, and remote-transmitter module and remote control reception module can repeatedly be matched.
The beneficial effects of the utility model are: remote-transmitter module and the remote control reception module on the electric equipment that needs control can be carried out matching operation, set up one to one relation, thereby eliminate the interference near similar electric equipment.
Description of drawings
Fig. 1 is that a kind of circuit theory of the present utility model connects block diagram.
Among the figure: 1, main control chip, 2, the first radiofrequency emitting module, the 3, first Receiver Module, the 4, first storage unit, 5, key groups, 6, controlled plant control chip, the 7, second radiofrequency emitting module, the 8, second Receiver Module, 9, the second storage unit, 10, the first pilot lamp, the 11, second pilot lamp, 12, hummer.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, the technical solution of the utility model is described in further detail.
Embodiment: a kind of based radio frequency remote controller of the present embodiment, comprise remote-transmitter module and remote control reception module, the remote-transmitter module comprises main control chip 1, the first radiofrequency emitting module 2, the first Receiver Module 3, the first storage unit 4 and key groups 5, main control chip 1 respectively with the first radiofrequency emitting module 2, the first Receiver Module 3, the first storage unit 4 links to each other with key groups 5, the remote control reception module comprises controlled plant control chip 6, the second radiofrequency emitting module 7, the second Receiver Module 8, the second storage unit 9 and prompting module, prompting module comprises the first pilot lamp 10, the second pilot lamp 11 and hummer 12, controlled plant control chip 6 respectively with the second radiofrequency emitting module 7, the second Receiver Module 8, the second storage unit 9, the first pilot lamp 10, the second pilot lamp 11 links to each other with hummer 12, and the first storage unit 4 and the second storage unit 9 all are EEPROM.
Be provided with the coupling button in the key groups 5, after the user pressed the coupling button, the main control chip 1 in the remote-transmitter module read self ID number and device type authentication code from the first storage unit 4, and is inserted in the matching request frame data.Main control chip 1 can be carried out channel idle and detect before the emission of matching request frame data, if channel is unoccupied, will control the first radiofrequency emitting module 3 with these matching request frame data of maximum power transmission.The remote control reception module of all the similar controlled plants in the radiofrequency signal coverage, in the situation that not disturbed, all will receive the request coupling frame data of this remote-transmitter module emission.
The second Receiver Module 8 receives this request coupling frame data, and sends it to controlled plant control chip 6.Controlled plant control chip 6 reads the device type authentication code of controlled plant from the second storage unit 9, and itself and the device type authentication code that receives compared, whether judgment device type authentication code is consistent, if inconsistent, then directly abandons this request coupling frame data; If unanimously, then judge the signal intensity of these request coupling frame data.If signal intensity is lower than the minimum threshold that sets, controlled plant control chip 6 is not processed this request coupling frame, continues to enter accepting state, receives the control command of other remote-transmitter module emissions; If signal intensity is greater than the threshold value of setting, controlled plant control chip 6 is embedded in coupling with controlled plant ID number, device type authentication code and request coupling frame signal intensity level and replys in the frame.Controlled plant control chip 6 carries out first channel idle and detects, and when channel is unoccupied, controls the second radiofrequency emitting module 7 these couplings of emission and replys frame data.If channel is always occupied within the time of setting wait, controlled plant control chip 6 will be abandoned this coupling and reply frame data, continue to receive the control command from the remote-transmitter module.
The first Receiver Module 3 of remote-transmitter module receives coupling and replys frame data, and sends it to main control chip 1.Main control chip 1 is recorded the coupling of receiving and is replied frame data and corresponding signal strength values.Reach maximum set threshold value or wait timeout if the coupling that receives is replied frame data, the first Receiver Module 3 will stop to receive, and main control chip 1 is processed the coupling that receives and replied frame data.If when receiving the coupling answer frame data that surpass a remote control reception module transmission, main control chip 1 will mate the signal strength values of replying frame and remove 2 with the addition of request coupling frame signal intensity level (i.e. the signal strength values of two data transfer), select the best remote control reception module of signal intensity as the target remote control reception module of this coupling; If when only having a remote control reception module to reply, then need not to do this processing.
Main control chip 1 is controlled the emission of the first radiofrequency emitting module 2 and is contained controlled plant ID number frame data to the remote control reception module when channel idle.The second Receiver Module 8 receives this frame data, and sends to controlled plant control chip 6.Controlled plant control chip 6 compares the controlled plant ID in the frame data that read number with the storage of the second storage unit 9 controlled plant ID number, if identical, then transmit control signal to the first pilot lamp 10 and hummer 12,10 flickers of the first pilot lamp, hummer 12 sends a kind of tweeting sound of frequency, and it is this equipment that reminding user is selected the controlled plant of pairing.Simultaneously, controlled plant control chip 6 controls the second radiofrequency emitting module 7 emissions one frame request acknowledgement frame data are waited for user's affirmation.The first Receiver Module 3 of remote-transmitter module receives this request acknowledgement frame data, and sends it to main control chip 1, and main control chip 1 is waited for user's affirmation operation.
Affirmation button if the user pushes button in the group 5, then ID number of main control chip 1 record controlled plant, and be stored in the first storage unit 4, control simultaneously the first radiofrequency emitting module 2 emission pairing OK frame data, controlled plant control chip 6 receives this pairing OK frame data by the second Receiver Module 8, be stored in the second storage unit 9 for ID number with the remote-transmitter module, transmit control signal simultaneously to the second pilot lamp 10 and hummer 12,10 flickers of the second pilot lamp, hummer 12 sends the tweeting sound of another kind of frequency, the reminding user successful matching; Cancellation button if the user pushes button in the group 5, then the pairing frame data are cancelled in 2 emissions of main control chip 1 control the first radiofrequency emitting module, controlled plant control chip 6 receives this cancellation pairing frame data by the second Receiver Module 8, and remote-transmitter module and remote control reception module all withdraw from pairing mode.The utility model is set up one to one relation by remote-transmitter module and the remote control reception module on the electric equipment that needs control are carried out matching operation, thereby eliminates the interference near similar electric equipment.