CN207764605U - A kind of interrupt control unit switching circuit for communication - Google Patents
A kind of interrupt control unit switching circuit for communication Download PDFInfo
- Publication number
- CN207764605U CN207764605U CN201721912668.9U CN201721912668U CN207764605U CN 207764605 U CN207764605 U CN 207764605U CN 201721912668 U CN201721912668 U CN 201721912668U CN 207764605 U CN207764605 U CN 207764605U
- Authority
- CN
- China
- Prior art keywords
- interrupt
- relays
- control unit
- irq
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The utility model discloses a kind of interrupt control unit switching circuits for communication, it include the interrupt control unit triggered for realizing external interrupt, interrupt control unit includes interrupt signal generator and interrupt requests logic device, the triggering end of interrupt signal generator is connected with the wireless communication transceiver for receiving long distance wireless trigger signal, the output-parallel of interrupt requests logic device is connected with FIQ relays and IRQ relays, the output end of FIQ relays and IRQ relays is connected with arm processor, and the pin that arm processor corresponds to interrupt response is connected with electronic switch;Interrupt signal generator includes for interrupt signal register and interrupting enabler;Interrupt requests logic device includes priority logic determining device and selection distributor, and distributor is selected to export chip selection signal to FIQ relays and IRQ relays.The utility model conveniently can be switched accurately by remote control interruption realizing circuit, and simple in structure and low in cost is applied widely.
Description
Technical field
The utility model is related to air cleaning facility field, specially a kind of interrupt control unit switch electricity for communication
Road.
Background technology
Smart home be using house as platform, using comprehensive wiring technology, network communication technology, security precautions technology, from
Dynamic control technology, audio frequency and video technology integrate the related facility of home life, build efficient housing facilities and family's schedule thing
The management system of business promotes house security, convenience, comfort, artistry, and realizes the living environment of environmental protection and energy saving.
Under prior art development, although smart home can realize its ideal functionality to a certain extent, it is with high costs not
Conducive to popularization.Therefore using also considerably less in average family.
In our daily life processes, it often will appear the case where people leaves but without closing appliances power source in time,
This frequently can lead to some high-power heating electric appliances and generates danger.Therefore radio control circuit switch is non-in application prospect instantly
It is often wide.Present general radio remote control switch is controlled using embeded processor, but general insertion
Formula processor selftest survey control performance is poor, and reaction is not sensitive enough, and corresponding complicated power switch control needs depended software
Algorithm realizes that CPU efficiency is too low.
Invention content
In order to overcome the shortcomings of that prior art, the utility model provide a kind of interrupt control unit switch for communication
Circuit can effectively solve the problem that the problem of background technology proposes.
Technical solution adopted by the utility model to solve its technical problems is:
A kind of interrupt control unit switching circuit for communication includes the interruption control triggered for realizing external interrupt
Device, the interrupt control unit include interrupt signal generator for sending out interrupt requests and judge for carrying out priority
Interrupt requests logic device, the triggering end of the interrupt signal generator is connected with the nothing for receiving long distance wireless trigger signal
Line communication transceiver, the output-parallel of the interrupt requests logic device are connected with FIQ relays and IRQ relays, in the FIQ
The output end of disconnected device and IRQ relays is connected with arm processor, and the pin that the arm processor corresponds to interrupt response is connected with
Electronic switch;
The interrupt signal generator includes interrupt signal register for storing interrupt signal and is interrupted for controlling
The whether shielded interruption enabler of signal;The interrupt requests logic device includes the priority logic for judging interrupt priority level
Determining device and selection distributor for carrying out relay type selection, in the selection distributor output chip selection signal to FIQ
Disconnected device and IRQ relays.
Further, the corresponding interruption enabler of each register of the interrupt signal register, it is each to interrupt
The triggering end of enabler is connected to the decoded output of wireless communication transceiver by CAN bus.
Further, the wireless communication transceiver includes the transmitting-receiving microstrip antenna and use for receiving radio frequency signal
In the modem for carrying out signal demodulation, the modem has two channels of transmitting-receiving, and is connected between channel useful
In the circulator for carrying out transmitting-receiving switching.
Further, the IRQ relays by one 32 status registers and the connection of enabler output end with
Door composition, wherein being deposited in status register has 16 kinds of IRQ interrupt signals, the triggering end input vector control letter of status register
Number, and the address register there are one 32 is also mounted in parallel in IRQ relays.
Further, the electronic switch is using triode amplification driving circuit connection solid-state relay composition, wherein three
The transistor base of grade pipe amplifying circuit is connected to the GPIO pin of arm processor by pull-up resistor, solid-state relay it is normal
Beginning is connected to external drive circuit.
Compared with prior art, the utility model has the beneficial effects that:
(1) the utility model connects wireless communication transceiver by the triggering end in interrupt signal generator, using wireless
Communication transceiver receives the control signal sent from remote control terminal, realizes and controls the triggering locally interrupted, and then realizes
The telecommunication of electronic switch is controlled, and circuit structure is simple easy to control at low cost, can be widely used in each
A remote control switch occasion;
(2) the utility model in interrupt requests logic device by using priority logic determining device and selection distributor to realize
FIQ relays and IRQ relays are automatically selected, and IRQ relays also have programmable functions, may be implemented various multiple
The controls such as miscellaneous interrupt nesting operate, and meet broader ground application scenarios demand.
Description of the drawings
Fig. 1 is the module map of the utility model;
Fig. 2 is IRQ interrupter circuit principle schematics.
Figure label:
1- interrupt control units;2- interrupt signal generators;3- interrupt requests logic devices;4- wireless communication transceivers;5-FIQ
Relay;6-IRQ relays;7-ARM processors;8- electronic switches;
202- interrupt signal registers;203- interrupts enabler;
301- priority logic determining devices;302- selects distributor;
401- receives and dispatches microstrip antenna;402- modems;403- circulators.
Specific implementation mode
The following will be combined with the drawings in the embodiments of the present invention, carries out the technical scheme in the embodiment of the utility model
Clearly and completely describe, it is clear that the described embodiments are only a part of the embodiments of the utility model, rather than whole
Embodiment.Based on the embodiments of the present invention, those of ordinary skill in the art are without making creative work
The every other embodiment obtained, shall fall within the protection scope of the present invention.
As shown in Figure 1, the utility model provides a kind of interrupt control unit switching circuit for communication, including it is used for reality
The interrupt control unit 1 of existing external interrupt triggering, the interrupt control unit 1 include occurring for sending out the interrupt signal of interrupt requests
Device 2 and the interrupt requests logic device 3 judged for carrying out priority, the triggering end connection of the interrupt signal generator 2
It is useful for receiving the wireless communication transceiver 4 of long distance wireless trigger signal, the output-parallel connection of the interrupt requests logic device 3
There are a FIQ relays 5 and IRQ relays 6, the output end of the FIQ relays 5 and IRQ relays 6 is connected with arm processor 7,
The pin that the arm processor 7 corresponds to interrupt response is connected with electronic switch 8.
The circuit is set to start to work, it is necessary first to emit Remote triggering signal.The wireless communication transceiver 4 is entire
The trigger signal source of circuit triggers corresponding interrupt source for receiving remote control signal and receiving signal according to the external world;Nothing
Line communication transceiver 4 includes the transmitting-receiving microstrip antenna 401 for receiving radio frequency signal and the tune for carrying out signal demodulation
Modulator-demodulator 402, the modem 402 have two channels of transmitting-receiving, and are connected between channel and are cut for carrying out transmitting-receiving
The circulator 403 changed, transmitting-receiving microstrip antenna 401 are used to receive the remote signal of external remote control equipment input, pass through circulator 403
The change for controlling signal flow direction, will be switched to receiving channel, then be reduced into electricity by modem 402 upon receipt of the signal
The input terminal of interrupt signal generator 2 is input to after ordinary mail number.
After receiving Remote triggering signal, circuit, which is started to work, generates interrupt source signal.The interrupt signal generator 2 wraps
Include the interrupt signal register 201 for storing interrupt signal and for controlling the whether shielded interruption enabler of interrupt signal
202;The corresponding interruption enabler 202 of each register of the interrupt signal register 201, each interrupts enabler
202 triggering end is connected to the decoded output of wireless communication transceiver 4 by CAN bus.The interrupt signal register
201 share 32, and each the inside stores a type of interrupt source signal, and each interrupt source signal is by corresponding interruption enabler
202 controls are effectively either shielded, and interrupting enabler 202 then has the triggering of wireless communication transceiver 4, works as wireless communication transceiver
4 when receiving the signal that corresponding interrupt source is opened, and will trigger the corresponding output of interruptions enabler 202 high level, and interrupt at this time
Enabler 202 and interrupt signal register 201 to induction signal by with exported after Men Xiangyu, i.e., corresponding interrupt source signal quilt
Output.
Priority judgement is carried out by interrupt requests logic device 3 after interrupt source signal output.The interrupt requests logic device 3
Include the priority logic determining device 301 for judging interrupt priority level and the selection distributor for carrying out relay type selection
302, priority logic determining device 301 judges that current interrupt source be vector is also non-arrow according to the level coding of interrupt source signal
Then amount exports corresponding signal priority to selection distributor 302.
The selection distributor 302 exports chip selection signal to FIQ relays 5 and IRQ relays 6.Wherein FIQ relays 5
Highest priority directly drives corresponding interrupt routine in arm processor 7 after FIQ relays 5 are selected and starts to work.IRQ
Relay 6 is vector interrupt device, and priority is less than FIQ relays, and structure is also increasingly complex.
As shown in Fig. 2, the IRQ relays 6 are connected by one 32 status registers and an enabler output end
It is formed with door, wherein being deposited in status register has 16 kinds of IRQ interrupt signals, the triggering end input vector control of status register
Signal, and the address register there are one 32 is also mounted in parallel in IRQ relays 6.IRQ relays 6 are programmable Interrupt device,
Wherein a total of 0-15 rank of vector interrupt allows user freely to distribute as desired, for corresponding per having all the way
An interrupt service address, be associated with by selector, thus interrupt control it is more convenient, can also realize it is more complicated in
Disconnected operation.
After arm processor 7 receives corresponding interrupt signal, corresponding interrupt handling routine will be entered.The electronics
Switch 8 is using triode amplification driving circuit connection solid-state relay composition, the wherein transistor base of triode amplifying circuit
The GPIO pin of arm processor 7 is connected to by pull-up resistor, the normally open end of solid-state relay is connected to external drive circuit.
Arm processor 7 is put according to corresponding interrupt signal output driving high level by electric current after triode amplification driving circuit
Greatly, the solid-state relay being operated under current drive mode is converted into normally off by normally open;Either arm processor 7
Output low level makes solid-state relay be converted into normally opened, switch control of the realization for solid-state relay, Jin Ershi by normally closed
The operation for having showed circuit for remotely controlling switch can be widely applied to the various remote switch controls such as smart home, unmanned operation
It is simple in structure easy to control in system.
It is obvious to a person skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and
And without departing substantially from the spirit or essential attributes of the utility model, it can realize that this practicality is new in other specific forms
Type.Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this practicality is new
The range of type is indicated by the appended claims rather than the foregoing description, it is intended that containing in the equivalent requirements of the claims will be fallen
All changes in justice and range are embraced therein.Any reference numeral in claim should not be considered as limitation
Involved claim.
Claims (5)
1. a kind of interrupt control unit switching circuit for communication, it is characterised in that:Include being triggered for realizing external interrupt
Interrupt control unit (1), the interrupt control unit (1) include for sending out the interrupt signal generator of interrupt requests (2) and being used for
The interrupt requests logic device (3) that priority judges is carried out, the triggering end of the interrupt signal generator (2), which is connected with, to be used for
The wireless communication transceiver (4) of long distance wireless trigger signal is received, the output-parallel of the interrupt requests logic device (3) is connected with
The output end of FIQ relays (5) and IRQ relays (6), the FIQ relays (5) and IRQ relays (6) is connected at ARM
Device (7) is managed, the pin of the corresponding interrupt response of the arm processor (7) is connected with electronic switch (8);
The interrupt signal generator (2) includes interrupt signal register (201) for storing interrupt signal and for controlling
The whether shielded interruption enabler (202) of interrupt signal;The interrupt requests logic device (3) includes preferential for judging to interrupt
The priority logic determining device (301) of grade and the selection distributor (302) for carrying out relay type selection, the selection distribution
Device (302) exports chip selection signal to FIQ relays (5) and IRQ relays (6).
2. a kind of interrupt control unit switching circuit for communication according to claim 1, it is characterised in that:The interruption
Corresponding one of each register of sign register (201) interrupts enabler (202), each interrupts touching for enabler (202)
Originator is connected to the decoded output of wireless communication transceiver (4) by CAN bus.
3. a kind of interrupt control unit switching circuit for communication according to claim 1, it is characterised in that:It is described wireless
Communication transceiver (4) includes transmitting-receiving microstrip antenna (401) for receiving radio frequency signal and for carrying out signal demodulation
Modem (402), the modem (402) has two channels of transmitting-receiving, and is connected between channel for carrying out
Receive and dispatch the circulator (403) of switching.
4. a kind of interrupt control unit switching circuit for communication according to claim 1, it is characterised in that:The IRQ
Relay (6) is connected and is formed with door by one 32 status registers and an enabler output end, wherein status register
Interior deposit has 16 kinds of IRQ interrupt signals, the triggering end input vector of status register to control signal, and in IRQ relays (6) also
It is mounted in parallel the address register there are one 32.
5. a kind of interrupt control unit switching circuit for communication according to claim 1, it is characterised in that:The electronics
(8) are switched using triode amplification driving circuit connection solid-state relay composition, wherein the triode base of triode amplifying circuit
Pole is connected to the GPIO pin of arm processor (7) by pull-up resistor, and the normally open end of solid-state relay is connected to external drive electricity
Road.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721912668.9U CN207764605U (en) | 2017-12-30 | 2017-12-30 | A kind of interrupt control unit switching circuit for communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721912668.9U CN207764605U (en) | 2017-12-30 | 2017-12-30 | A kind of interrupt control unit switching circuit for communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207764605U true CN207764605U (en) | 2018-08-24 |
Family
ID=63186335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721912668.9U Active CN207764605U (en) | 2017-12-30 | 2017-12-30 | A kind of interrupt control unit switching circuit for communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207764605U (en) |
-
2017
- 2017-12-30 CN CN201721912668.9U patent/CN207764605U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1996421A (en) | Continuous positioning monitoring device for double-power supply moving device | |
CN205247087U (en) | Intelligent home control system | |
CN202600947U (en) | Intelligent water meter/heat measuring meter control valve device with wireless remote meter reading function | |
CN207764605U (en) | A kind of interrupt control unit switching circuit for communication | |
CN205691964U (en) | A kind of intelligent switch and control system thereof | |
CN205787671U (en) | A kind of intelligent home control system controlled based on radio frequency | |
CN201917969U (en) | Wireless recharging system of direct-drinking water dispenser | |
CN101246639A (en) | Electric switch and electric switch control system sharing control wire | |
CN203101978U (en) | GSM (Global System for Mobile Communications) based intelligent home control system | |
CN106200393A (en) | A kind of Intelligent household central control host | |
CN202975730U (en) | Single live wire control module | |
CN202870507U (en) | Multifunctional switch | |
CN206075529U (en) | Infrared universal remote control | |
CN203178787U (en) | Switch control device and intelligent household system | |
CN204287940U (en) | A kind of intelligent home control device | |
CN205121880U (en) | Trinity intelligence switch | |
CN208477341U (en) | A kind of intelligence air-valve control device | |
CN207530798U (en) | Inductive switch | |
CN202261352U (en) | Internet-of-things-based intelligent home control system | |
CN102148574A (en) | Wireless control single phase power supply device | |
CN206930942U (en) | The mixed type Intelligent remote control switch of one or more random handoff functionality pattern | |
CN101859140A (en) | Remotely controllable full intelligent things local area network system and equipment | |
CN207442493U (en) | A kind of device that multiple electrical appliances can be achieved and charge simultaneously | |
CN202373117U (en) | Wireless indoor monitoring system | |
CN201522061U (en) | Central air-conditioning system short message control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |