TW201117143A - Input/output device and environment monitoring system including the same - Google Patents

Input/output device and environment monitoring system including the same Download PDF

Info

Publication number
TW201117143A
TW201117143A TW98138751A TW98138751A TW201117143A TW 201117143 A TW201117143 A TW 201117143A TW 98138751 A TW98138751 A TW 98138751A TW 98138751 A TW98138751 A TW 98138751A TW 201117143 A TW201117143 A TW 201117143A
Authority
TW
Taiwan
Prior art keywords
controller
input
trigger
connector
output
Prior art date
Application number
TW98138751A
Other languages
Chinese (zh)
Other versions
TWI478116B (en
Inventor
Ming-Chih Hsieh
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW098138751A priority Critical patent/TWI478116B/en
Publication of TW201117143A publication Critical patent/TW201117143A/en
Application granted granted Critical
Publication of TWI478116B publication Critical patent/TWI478116B/en

Links

Landscapes

  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

An input/output device is connected between a controller and a sensor or a triggering device. The input/output device includes an input circuit, an output circuit, and a connector. The input circuit and the output circuit are connected between the controller and the connector. The connector is configured to be selectively connected to the sensor or connected with the triggering device and a power in series. The controller is configured to control status of the input circuit and the output circuit. When the input circuit does not work, the controller outputs a triggering signal to active the triggering device via the output circuit. When the output circuit does not work, the sensor outputs a sensing signal to the controller via the output circuit. The invention further provides an environment monitoring system with a plurality of input/output devices.

Description

201117143 '六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種輸出入裝置及具有該輸出入裝置的環境 監控系統。 [先前技術] [0002] 環境監控系統中,輸入裝置一般用作輸入事件發生的偵 測訊號給處理器,輸出裝置一般用作輸出報警訊號給報 警器,以提醒用戶。習知係將輸入裝置及輪出裝置分開 設計,故所設計的環境監控系統般只能具有固定數量 的輸入裝置和輸出裝置。當用户在弁級瓖境監控系統時 ,無法更改輸入裝置和輸出裝置的數量,非常不便。 【發明内容】 [〇〇〇3]鑒於以上内容,有必要提供一種可根據需要變更為輪入 裝置或輸出裝置的輸出入裝置,以及具有該輪出入裝置 的環境監控系統》 [0004] -種輸出入裝置’連接於一控制器及一感應器或一觸發 裝置之間’該輸出入裝置包_入電路、—輸出電路 及-連接器L電路與輸出電路均連接於該控制器 及連接器之間;該連接器還用於擇1與感應器相連或 者與觸發裝置及一電源順序相連. H目連,4控制器用於控制 輸入電路及輸出電路的工作妝火 §該連接器與該觸發 裝置連接時,該輸入電路不工作, w 〜控制器輸出一觸發 訊號並通過輸出電路控制該觸 啁赞裒置工作;當該連接201117143 'VI. Description of the Invention: TECHNICAL FIELD OF THE INVENTION [0001] The present invention relates to an input/output device and an environmental monitoring system having the same. [Prior Art] [0002] In the environmental monitoring system, the input device is generally used as a detection signal for inputting an event to the processor, and the output device is generally used as an output alarm signal to the alarm device to remind the user. The conventional system separates the input device from the wheel-out device, so the environmental monitoring system designed can only have a fixed number of input devices and output devices. When the user is monitoring the system at the level of the environment, it is very inconvenient to be able to change the number of input devices and output devices. SUMMARY OF THE INVENTION [3] In view of the above, it is necessary to provide an input/output device that can be changed to a wheeling device or an output device as needed, and an environmental monitoring system having the wheel in and out device. The input/output device is connected between a controller and an inductor or a trigger device. The input/output device package_input circuit, the output circuit, and the connector L circuit and the output circuit are connected to the controller and the connector. The connector is also used to connect to the sensor or to the trigger device and a power supply sequence. H mesh, 4 controller for controlling the input circuit and the output circuit work makeup fire § the connector and the trigger When the device is connected, the input circuit does not work, the w~ controller outputs a trigger signal and controls the touch device to work through the output circuit; when the connection

與該感應器連接時,該輪出電路不 D 、 作’ 4玄感應器輪屮 -感應訊號並通過輸人電路輸人給該控制器。 表單編號A0101 098138751 第4頁/共19頁 201117143 . [0005] ❹ [0006] Ο [0007] 一種環境監控系統,包括一控制器、複數感應器、複數 觸發裝置及複數輸出入裝置,每一輸出入裝置連接於控 制器及一感應器或觸發裝置之間,其中每一輸出入裝置 包括一輸入電路、一輸出電路及一連接器,該輸入電路 與輸出電路均連接於控制器與連接器之間;該連接器還 用於擇一地與感應器相連或者與觸發裝置及一電源順序 相連;該控制器用於控制該輸入電路及輸出電路的工作 狀態,當該連接器與該觸發裝置連接時,該輸入電路不 工作,該控制器輸出一觸發訊號並透過輸出電路控制該 觸發裝置工作;當該連接器與該感應器連接時,該輸出 電路不工作,該感應器輸出一感應訊號並透過輸入電路 輸入給該控制器。 前述輸出入裝置透過控制器控制輸入電路及輸出電路的 工作狀態,當該連接器與該觸發裝置連接時,該輸入電 路不工作,該輸出入裝置用作輸出裝置,該控制器輸出 觸發訊號並透過輸出電路控制該觸發裝置工作;當該連 接器與該感應器連接時,該輸出電路不工作,該輸出入 裝置用作輸入裝置,該感應器輸出感應訊號並透過輸出 電路輸出給該控制器,從而使用戶可根據需要設定輸入 裝置或輸出裝置的數量。前述具有複數輸出入裝置的環 境監控系統則更具靈活性。 【實施方式】 請參閱圖1,本發明環境監控系統可根據用戶的需要改變 輸入裝置和輸出裝置的數量,具有較高的靈活性與可變 性。 098138751 表單編號Α0101 第5頁/共19頁 0982066492-0 201117143 _8] 4環&監控系統的較佳實施方式包括複數輸出人裝置ι〇 複數感應器12、複數觸發裝置,如報警器15及一控制 器16。每一輸出入裝置1〇的一端對應與一感應器a或一 報警器15相連,所有輸出入裝置1〇的另一端均與該控制 器16相連。其中’該感應器12可為一安裝於門窗的感應 裝置’當門窗打開時,該感應器12即輸出—感應訊號。 該報警器15可為-蜂鳴器,當其接收到控制器16輸出的 觸發訊號時,該報警器15即報警以提醒用戶。 酬當該輸出入裝置10作$輸入裝置.使用時,該輸出入裝置 10用於傳送與其相連的感應器12的感應訊號給控制器16 。當該輸出入裝置1〇作為輸由裝置使用時,該輸出入裝 置10用於傳送控制器16的觸發訊號給與該輸出入裝置1〇 相連的報警器15。 _請一併參閱圖2,該輸出入裝置1〇包括一輸入電路】〇〇、 一輸出電路110及一連接器J。 [0011]該輸入電路100與該控制器16及連接器J均相連。 [〇〇12]該輸出電路110與該控制器16及連接器j均相連。 [〇〇13]該控制器16用於控制該輸入電路100及輸出電路11〇的工 作狀態。當該輸入電路1〇〇不工作時,該控制器16輸出一 觸發訊號並透過該輸出電路110輸出給該報警器15,以控 制A報警器15工作。當該輸出電路11〇不工作時,該感應 器12輸出一感應訊號並透過該輸入電路1〇〇輪出給該控制 器16。 [0014] 該輸入電路100包括一河㈨管以、兩個二極體D1、D2及一 098138751 表單編號A0101 第6頁/共19頁 0982066492-0 201117143 [0015] [0016] Ο [0017] [0018] ❹ [0019] 繼電器RY1。 該MOS管Q1的閘極與控制器16的控制端DI_D〇—SWITCH相 連,源極接地,汲極與二極體^的陽極相連,該二極體 D1的陰極與一電源Vcc相連。 該繼電器RY1包括一線圈L1及兩開關S1、S2e該線圈u 的第一端與電源VCC相連,第二端與肋3管(31的汲極相連 。該開關S1的第一端與該連接器j的第一端;1相連,第二 端與二極體D2的陰極相連,該二極體D2的陽極與電源Vcc 相連。該開關S2的第一端與該連接器j的第二端:2相連, 第二端與該控制器16的輸入/輸出端相連。 該輸出電路110包括一 M0S管Q2、一二極體D3、一觸發器 U1及一繼電器RY2。 — 該繼電器RY2包括一線圈L2及一開關幻。該線圈L2的第 一端與電源Vcc相連,第二端與控制器16的讀取端RE_ LAY一STATUS相連’還與該二極體D3的陽極相連,該二極 體D3的陰極與電源vcc相連。該線圈[2的第二端還與該 M0S官Q2的汲極相連。該開關別的第一端與該連接器】的 第一端J1相連,第二端與該連接器】的第二端12相連。 该M0S管Q2的源極接地,閘極與該觸發器…的第一端Q相 連0 [0020] 098138751 該觸發器U1的第二端D與該開關S2的第二端相連,還與控 制器16的輪入/輸出端DI一DO相連,第三端CLK與控制器 16的觸發端LATCH一EN相連,第四端pr透過電阻R1與該電 源Vcc相連’第五端““與該電源Vcc相連,還透過電容 表單編號A0101 第7頁/共19頁 0982066492-0 201117143When connected to the sensor, the circuit of the wheel does not D, and the sensor signal is input to the controller through the input circuit. Form No. A0101 098138751 Page 4 of 19 201117143 . [0005] 0006 [0006] 0007 [0007] An environmental monitoring system includes a controller, a plurality of sensors, a plurality of trigger devices, and a plurality of input and output devices, each output The input device is connected between the controller and an inductor or a trigger device, wherein each of the input and output devices includes an input circuit, an output circuit and a connector, and the input circuit and the output circuit are connected to the controller and the connector. The connector is further configured to be connected to the sensor or to the trigger device and a power supply sequence; the controller is configured to control the working state of the input circuit and the output circuit, when the connector is connected to the trigger device The input circuit does not work, the controller outputs a trigger signal and controls the trigger device to work through the output circuit; when the connector is connected to the sensor, the output circuit does not work, and the sensor outputs an inductive signal and transmits The input circuit is input to the controller. The input/output device controls the working state of the input circuit and the output circuit through the controller. When the connector is connected to the trigger device, the input circuit does not work, and the input/output device functions as an output device, and the controller outputs a trigger signal and The trigger device is controlled by an output circuit; when the connector is connected to the inductor, the output circuit does not work, and the input/output device functions as an input device, and the sensor outputs an inductive signal and outputs the signal to the controller through the output circuit. So that the user can set the number of input devices or output devices as needed. The aforementioned environmental monitoring system with multiple input and output devices is more flexible. [Embodiment] Referring to Fig. 1, the environmental monitoring system of the present invention can change the number of input devices and output devices according to the needs of users, and has high flexibility and variability. 098138751 Form No. 1010101 Page 5 of 19 0982066492-0 201117143 _8] A preferred embodiment of the 4-ring & monitoring system includes a plurality of output devices ι〇 complex sensor 12, a plurality of trigger devices, such as an alarm device 15 and a Controller 16. One end of each of the input and output devices 1 is connected to an inductor a or an alarm device 15, and the other end of all the input and output devices 1 is connected to the controller 16. Wherein the sensor 12 can be an inductive device mounted on the door and window. When the door and window are opened, the sensor 12 outputs an inductive signal. The alarm 15 can be a buzzer that alerts the user when it receives the trigger signal output by the controller 16. The input/output device 10 is used to transmit the sensing signal of the sensor 12 connected thereto to the controller 16. When the input/output device 1 is used as a transmission device, the input/output device 10 is configured to transmit a trigger signal of the controller 16 to the alarm device 15 connected to the input/output device 1A. Referring to FIG. 2 together, the input/output device 1 includes an input circuit, an output circuit 110, and a connector J. The input circuit 100 is connected to both the controller 16 and the connector J. [〇〇12] The output circuit 110 is connected to both the controller 16 and the connector j. [〇〇13] The controller 16 is for controlling the operating states of the input circuit 100 and the output circuit 11A. When the input circuit 1 is not operating, the controller 16 outputs a trigger signal and outputs it to the alarm 15 through the output circuit 110 to control the operation of the A alarm 15. When the output circuit 11 is not in operation, the sensor 12 outputs an inductive signal and passes through the input circuit 1 to the controller 16. [0014] The input circuit 100 includes a river (nine) tube, two diodes D1, D2, and a 098138751. Form No. A0101 Page 6 / 19 pages 0982066492-0 201117143 [0015] [0016] [0017] [ 0018] ❹ [0019] Relay RY1. The gate of the MOS transistor Q1 is connected to the control terminal DI_D〇SWITCH of the controller 16, the source is grounded, the drain is connected to the anode of the diode, and the cathode of the diode D1 is connected to a power source Vcc. The relay RY1 includes a coil L1 and two switches S1, S2e. The first end of the coil u is connected to the power source VCC, and the second end is connected to the rib 3 tube (the drain of the 31. The first end of the switch S1 and the connector The first end of j is connected to one, the second end is connected to the cathode of the diode D2, and the anode of the diode D2 is connected to the power source Vcc. The first end of the switch S2 and the second end of the connector j: 2 connected, the second end is connected to the input/output terminal of the controller 16. The output circuit 110 includes a MOS transistor Q2, a diode D3, a flip-flop U1 and a relay RY2. - the relay RY2 includes a coil L2 and a switch phantom. The first end of the coil L2 is connected to the power source Vcc, and the second end is connected to the read end RE_LAY_STATUS of the controller 16 'also connected to the anode of the diode D3, the diode The cathode of D3 is connected to the power supply vcc. The second end of the coil [2 is also connected to the drain of the MOX official Q2. The first end of the switch is connected to the first end J1 of the connector], and the second end is connected to The second end 12 of the connector is connected. The source of the MOS transistor Q2 is grounded, and the gate is connected to the first end Q of the flip flop ... [0020] 098138751 The second end D of the trigger U1 is connected to the second end of the switch S2, and is also connected to the wheel input/output terminal DI-DO of the controller 16, and the third end CLK and the trigger end LATCH-EN of the controller 16 Connected, the fourth terminal pr is connected to the power source Vcc through the resistor R1. The fifth terminal is connected to the power source Vcc, and is also transmitted through the capacitor form number A0101. Page 7/19 pages 0982066492-0 201117143

Cl接地,第六端——空置,第七端CL透過電阻R2與電源Cl grounded, the sixth end - vacant, the seventh end CL through the resistor R2 and the power supply

QQ

Vcc相連,還透過電容C2接地,第八端GND接地。本實施 方式中,該觸發器U1為一D觸發器,其他實施方式中,該 觸發器U1亦可為其他集成晶片。 [0021] 當該控制器16的控制端DI_DO_SWITCH輸出低電平時,該 輸入電路10 0不工作、輸出電路110工作,此時控制器16 的輸入/輸出端DI_DO則用作輸出端,用於輸出觸發訊號 給後端與連接器J相連的報警器15,以觸發該報警器15。 [0022] 當該控制器16的控制端DI_DO_SWITCH輸出高電平時,該 輸入電路100工作、輸出電路110不工作,此時控制器16 的輸入/輸出端DI_DO則用作輸入端,用於接收後端與連 接器J相連的感應器12所輸出的感應訊號。 [0023] 請一併參閱圖3,當該MOS管Q1的閘極接收低電平時,該 輸出入裝置10作為輸出裝置,此時,可將該連接器J的第 一端J1與報警器15、一直流電源18以及連接器J的第二端 J2順序相連。下面對此時的工作過程進行說明: [0024] 當該控制器16的控制端DI_DO_SWITCH輸出高電平,即該 MOS管Q1的閘極接收低電平時,該MOS管Q1截止。該線圈 L1不得電,導致開關S1和S2均斷開。此時,該輸入電路 100停止工作。若該控制器16的輸入/輸出端DI_DO輸出 高電平訊號、觸發端LATCH_EN處於上升沿,即觸發器U1 的第二端D接收高電平、第三端CLK處於上升沿,根據觸 發器U1的工作特性,此時該觸發器U1的第五端Q輸出高電 098138751 表單編號A0101 第8頁/共19頁 0982066492-0 201117143 平,導致MOS管Q2導通,從而使得線圈L2得電,開關S3 導通。此時,該報警器15、直流電源18以及開關S3組成 一回路,該報警器15即得電報警。 [0025] 若該控制器16的輸入/輸出端DI_D0輸出高電平訊號、觸 發端LATCH_EN處於上升沿,即該觸發器U1的第二端D接 收低電平、第三端CLK處於上升沿,根據觸發器U1的工作 特性,此時該觸發器U1的第一端Q輸出低電平,導致M0S 管Q2截止,從而使得線圈L2失電,開關S3斷開。此時, Ο [0026] 該報警器15與直流電源18斷開,從而使得報警器15停止 報警。 根據前述描述可知,當該M0S管Q1的閘極接收低電平時, 該輸出入裝置10即可作為輸出裝置,且當該觸發器U1的 第二端接收高電平時,與該輸出入裝置10相連的報警器 15即被觸發。Vcc is connected, and is also grounded through capacitor C2, and the eighth terminal GND is grounded. In this embodiment, the trigger U1 is a D flip-flop. In other embodiments, the trigger U1 may also be another integrated chip. [0021] When the control terminal DI_DO_SWITCH of the controller 16 outputs a low level, the input circuit 100 does not work, and the output circuit 110 operates. At this time, the input/output terminal DI_DO of the controller 16 is used as an output terminal for output. The trigger signal is sent to the alarm 15 connected to the connector J at the back end to trigger the alarm 15. [0022] When the control terminal DI_DO_SWITCH of the controller 16 outputs a high level, the input circuit 100 operates and the output circuit 110 does not operate. At this time, the input/output terminal DI_DO of the controller 16 is used as an input terminal for receiving. The inductive signal output by the sensor 12 connected to the connector J. [0023] Please refer to FIG. 3 together. When the gate of the MOS transistor Q1 receives a low level, the input/output device 10 serves as an output device. At this time, the first end J1 of the connector J and the alarm device 15 can be used. The DC power source 18 and the second terminal J2 of the connector J are sequentially connected. The following describes the working process at this time: [0024] When the control terminal DI_DO_SWITCH of the controller 16 outputs a high level, that is, the gate of the MOS transistor Q1 receives a low level, the MOS transistor Q1 is turned off. The coil L1 is not energized, causing the switches S1 and S2 to be open. At this time, the input circuit 100 stops operating. If the input/output terminal DI_DO of the controller 16 outputs a high level signal and the trigger terminal LATCH_EN is at a rising edge, that is, the second terminal D of the flip-flop U1 receives a high level, and the third terminal CLK is at a rising edge, according to the flip-flop U1. The working characteristic, at this time, the fifth end Q of the trigger U1 outputs high power 098138751 Form No. A0101 Page 8 / 19 pages 0982066492-0 201117143 level, causing the MOS tube Q2 to be turned on, so that the coil L2 is energized, the switch S3 Turn on. At this time, the alarm device 15, the DC power source 18, and the switch S3 form a circuit, and the alarm device 15 is electrically alarmed. [0025] If the input/output terminal DI_D0 of the controller 16 outputs a high level signal, and the trigger terminal LATCH_EN is at a rising edge, that is, the second terminal D of the flip-flop U1 receives a low level, and the third terminal CLK is at a rising edge. According to the operating characteristic of the flip-flop U1, the first terminal Q of the flip-flop U1 outputs a low level at this time, causing the MOSFET Q2 to be turned off, thereby causing the coil L2 to lose power and the switch S3 to be turned off. At this time, the alarm device 15 is disconnected from the DC power source 18, so that the alarm device 15 stops the alarm. According to the foregoing description, when the gate of the MOS transistor Q1 receives a low level, the input/output device 10 can serve as an output device, and when the second end of the flip-flop U1 receives a high level, the input/output device 10 The connected alarm 15 is triggered.

[0027] G 請一併參閱圖4,當該M0S管Q1的閘極接收高電平時,該 輸出入裝置10作為輸入裝置,此時,可將該連接器J的第 一端J1及第二端J2對應與感應器12的兩端相連。前述感 應器12以一門窗感應器為例,當門窗打開時,該感應器 12即斷開;當門窗關閉時,該感應器12即接通,下面對 此時的工作過程進行說明: [0028] 當該控制器16的控制端DI_DO_SWITCH輸出低電平,即該 M0S管Q1的閘極接收高電平時,該M0S管Q1導通。該線圈 L1得電,導致開關S1和S2均接通。此時,該輸入電路 100開始工作。另,該控制器16的觸發端LATCH_EN不輸 098138751 表單編號A0101 第9頁/共19頁 0982066492-0 201117143 出上升沿訊號,從而導致該觸發器tn的第一端Q無輪出, 此時M0S管Q2截止,線圈L2失電,從而使得開關幻斷開 ,此時,該輸出電路no即停止工作。另,該控制器16的 觸發端LATCH_EN還將開關S3的斷開狀態鎖存,從而使得 即使當該觸發器U1的第二端d接收高電平時,該輸出電路 110仍然處於不工作狀態。 [0029] 當門窗打開時’電源Vcc經由二極體D2、開關S1所傳送至 連接器J的兩電平訊號無法傳送至該觸發器U1的第二端〇 ,即控制器16也無法接收到高電平訊號,該控制器16即 判斷此時門窗處於打開狀態。 ^ [0030] 當門窗關閉時,電源Vcc經由二極體D2、開關S1所傳送至 連接器J的高電平訊號通過感應器12、開關S2傳送至該觸 發器U1的第二端D,即控制器16接收到高電平訊號,該控 制器16即判斷此時門窗處於關閉狀態。 [0031] 根據前述描述可知,當該MOS管Q1的閘桎接收高電平時, 該輸出入裝置10即可作為輸入裝置,其可根據控制器16 的輸入/輸出端DI一DO所讀取的訊號得知此時感應器12的 〇 狀態。 [0032] 综上所述’本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述者僅為本發明之較佳實施例,舉凡 熟悉本案技藝之人士,在爰依本發明精神所作之等效修 飾或變化,皆應涵蓋於以下之申請專利範圍内。 【圖式簡單說明】 [0033] 圖1是本發明環境監控系統的較佳實施方式的方框圖。 0982066492-0 098138751 表單.編號A0101 第1〇頁/共19頁 201117143 [0034] 圖2是圖1中輸出入裝置的電路圖。 ' [0035] 圖3是圖2中輸出入裝置作為輸出裝置的示意圖。 [0036] 圖4是圖2中輸出入裝置作為輸入裝置的示意圖。 【主要元件符號說明】[0027] Please refer to FIG. 4 together. When the gate of the MOS transistor Q1 receives a high level, the input/output device 10 serves as an input device. At this time, the first end J1 and the second end of the connector J can be used. The terminal J2 is correspondingly connected to both ends of the inductor 12. The sensor 12 is exemplified by a window sensor. When the door and window are opened, the sensor 12 is disconnected; when the door and window are closed, the sensor 12 is turned on, and the working process at this time is explained: 0028] When the control terminal DI_DO_SWITCH of the controller 16 outputs a low level, that is, the gate of the MOS transistor Q1 receives a high level, the MOS transistor Q1 is turned on. The coil L1 is energized, causing both switches S1 and S2 to be turned "on". At this time, the input circuit 100 starts to operate. In addition, the trigger terminal LATCH_EN of the controller 16 does not input 098138751 Form No. A0101 Page 9/19 pages 0982066492-0 201117143 The rising edge signal is generated, so that the first end Q of the trigger tn is not rotated, at this time, the MOS When the tube Q2 is turned off, the coil L2 is de-energized, so that the switch is singularly disconnected, and at this time, the output circuit no stops working. In addition, the trigger terminal LATCH_EN of the controller 16 also latches the off state of the switch S3, so that the output circuit 110 is still in an inoperative state even when the second terminal d of the flip-flop U1 receives a high level. [0029] When the door and window are opened, the two-level signal transmitted by the power source Vcc to the connector J via the diode D2 and the switch S1 cannot be transmitted to the second end of the trigger U1, that is, the controller 16 cannot receive the same. The high level signal, the controller 16 determines that the door and window are open. [0030] When the door and window are closed, the high-level signal that the power source Vcc transmits to the connector J via the diode D2 and the switch S1 is transmitted to the second end D of the trigger U1 through the sensor 12 and the switch S2, that is, The controller 16 receives the high level signal, and the controller 16 determines that the door and window are in the closed state. [0031] According to the foregoing description, when the gate of the MOS transistor Q1 receives a high level, the input/output device 10 can be used as an input device, which can be read according to the input/output terminal DI-DO of the controller 16. The signal is known to the state of the sensor 12 at this time. [0032] In summary, the invention conforms to the patent requirements of the invention, and the patent application is filed according to law. However, the above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art of the present invention should be included in the following claims. BRIEF DESCRIPTION OF THE DRAWINGS [0033] FIG. 1 is a block diagram of a preferred embodiment of an environmental monitoring system of the present invention. 0982066492-0 098138751 Form. No. A0101 Page 1 of 19 201117143 [0034] FIG. 2 is a circuit diagram of the input/output device of FIG. 3 is a schematic view of the input/output device of FIG. 2 as an output device. [0035] FIG. 4 is a schematic diagram of the input/output device of FIG. 2 as an input device. [Main component symbol description]

[0037] 輸出入裝置10 [0038] 感應器 12 [0039] 報警器 15 [0040] 控制器 16 [0041] 控制端 DI_DO_SWITCH [0042] 讀取端 RELAY_STATUS [0043] 輸入/輸出端DI_DO [0044] 觸發端 LATCH_EN [0045] 輸入電路100 [0046] 輸出電路110 [0047] 連接器 J [0048] 第一端 J1 [0049] 第二端 J2 [0050] MOS管 Q1-Q2 [0051] 二極體 D1-D3 [0052] 繼電器 RY1-RY2 098138751 表單編號A0101 第11頁/共19頁 0982066492-0 201117143 [0053] 線圈L1-L2 [0054] 開關S卜S3 [0055] 電源V c c [0056] 電阻R1-R2 [0057] 電容C1-C2 [0058] 觸發器 U1 [0059] 第一端 Q [0060] 第二端 D [0061] 第三端 CLK [0062] 第四端 PR [0063] 第五端 Vcc3 [0064] 第六端 β [0065] 第七端 CL [0066] 第八端 GND [0067] 直流電源18 098138751 表單編號A0101 第12頁/共19頁 0982066492-0[0037] Input device 10 [0038] Sensor 12 [0039] Alarm 15 [0040] Controller 16 [0041] Control terminal DI_DO_SWITCH [0042] Read terminal RELAY_STATUS [0043] Input/output terminal DI_DO [0044] Trigger End LATCH_EN [0045] Input Circuit 100 [0046] Output Circuit 110 [0047] Connector J [0048] First End J1 [0049] Second End J2 [0050] MOS Tube Q1-Q2 [0051] Diode D1- D3 [0052] Relay RY1-RY2 098138751 Form No. A0101 Page 11/19 Page 0982066492-0 201117143 [0053] Coil L1-L2 [0054] Switch Sb S3 [0055] Power Supply V cc [0056] Resistor R1-R2 Capacitor C1-C2 [0058] Trigger U1 [0059] First End Q [0060] Second End D [0061] Third End CLK [0062] Fourth End PR [0063] Fifth End Vcc3 [0064 The sixth end β [0065] The seventh end CL [0066] The eighth end GND [0067] The DC power supply 18 098138751 Form number A0101 Page 12 of 19 0982066492-0

Claims (1)

201117143 七、申請專利範圍: • 1 . 一種輸出入裝置,連接於一控制器及一感應器或一觸發裝 置之間,該輸出入裝置包括一輸入電路、一輸出電路及一 連接器,該輸入電路與輸出電路均連接於該控制器及連接 器之間;該連接器還用於擇一地與感應器相連或者與觸發 . 裝置及一電源順序相連;該控制器用於控制該輸入電路及 輸出電路的工作狀態,當該連接器與該觸發裝置連接時, 該輸入電路不工作,該控制器輸出一觸發訊號並透過輸出 電路控制該觸發裝置工作;當該連接器與該感應器連接時 ,該輸出電路不工作,該感應器輸出一感應訊號並透過輸 入電路輸入給該控制器。 2. 如申請專利範圍第1項所述之輸出入裝置,其中該輸入電 路包括一第一M0S管、一第一二極體、一第二二極體及一 第一繼電器,該第一M0S管的閘極與控制器的第一端相連 ,源極接地,汲極與第一二極體的陽極相連,該第一二極 體的陰極與一電源相連;該第一繼電器包括一第一線圈、 ^ 一第一開關及一第二開關,該第一線圈的第一端與該電源 相連,第二端與第一M0S管的汲極相連,該第一開關的第 一端與該連接器的第一端相連,第二端與第二二極體的陰 極相連,該第二二極體的陽極與電源相連,該第二開關的 第一端與該連接器的第二端相連,第二端與該控制器的第 二端相連。 3. 如申請專利範圍第2項所述之輸出入裝置,其中該輸出電 路包括一第二M0S管、一第三二極體、一第二繼電器及一 觸發器,該第二繼電器包括一第二線圈及一第三開關,該 098138751 表單編號A0101 第13頁/共19頁 0982066492-0 201117143 第二線圈的第一端與電源相連,第二端與控制器的第三端 相連,還與該第三二極體的陽極相連,該第三二極體的陰 極與電源相連,該第二線圈的第二端還與該第二M0S管的 汲極相連,該第三開關的第一端與該連接器的第一端相連 ,第二端與該連接器的第二端相連,該第二M0S管的源極 接地,閘極與該觸發器的第一端相連,該觸發器的第二端 與該第二開關的第二端相連,還與控制器的第二端相連, 該觸發器的第三端與控制器的第四端相連,該觸發器的第 四端透過一電阻與該電源相連,該觸發器的第五端與該電 源相連,還透過一電容接地,該觸發器的第六端空置,該 觸發器的第七端透過一電阻與電源相連,還透過一電容接 地,第八端接地。 4 . 一種環境監控系統,包括一控制器、複數感應器、複數觸 發裝置及複數輸出入裝置,每一輸出入裝置連接於控制器 及一感應器或觸發裝置之間,其中每一輸出入裝置包括一 輸入電路、一輸出電路及一連接器,該輸入電路與輸出電 路均連接於控制器與連接器之間;該連接器還用於擇一地 與感應器相連或者與觸發裝置及一電源順序相連;該控制 器用於控制該輸入電路及輸出電路的工作狀態,當該連接 器與該觸發裝置連接時,該輸入電路不工作,該控制器輸 出一觸發訊號並透過輸出電路控制該觸發裝置工作;當該 連接器與該感應器連接時,該輸出電路不工作,該感應器 輸出一感應訊號並透過輸入電路輸入給該控制器。 5 .如申請專利範圍第4項所述之環境監控系統,其中該輸入 電路包括一第一M0S管、一第一二極體、一第二二極體及 一第一繼電器,該第一M0S管的閘極與控制器的第一端相 098138751 表單編號A0101 第14頁/共19頁 0982066492-0 201117143 連,源極接地,汲極與第一二極體的陽極相連,該第—二 極體的陰極與-t源相連;該第一繼電器包括一第一線圈 、—第一開關及一第二開關,該第一線圈的第一端與該電 源相連,第二端與第一M0S管的汲極相連,該第一開關的 帛-端與該連接器的第—端相連,第二端與第二二極體的 it極相連’該第二二極體的陽極與電源相連,該第二開關 ㈣-端與該連接器的第二端相連,第二端與該控制器的 第二端相連。 6 ·*巾請專利範圍第5項所述之環境監控系統,其中該輸出 f路包括-第二M0S管、一第三二減、一第二繼電器及 -觸發器,該第二繼電器包括—第二線圈及—第三開關, 肖第二線圈的第一端與電源相連’第二端與控制器的第三 端相連,還與該第三二極體的陽極相連,該第三二極體的 陰極與電源相連,該第二線圈的第二端還與該第二廳管 岐極相連,該第三開關的第—端與該連接器的第一端相 連,第二端與該連接器的第二端相連,該第二_管的源 〇 雜地,閘極與該觸發器的第-端相連,該㈣器的第二 端與該第二開關的第二端相連,還與控制器的第二端相連 ’該觸發器的第三端與控制器的第四端相連,該觸發器的 第四端通過一電阻與該電源相連,該觸發器的第五端與該 電源相連,還通過-電容接地,該觸發器的第六端空置, 該觸發器的第七端通過一電阻與電源相連,還通過一電容 接地,第八端接地。 098138751 表單編號A0101 第15頁/共19頁 0982066492-0201117143 VII. Patent application scope: • 1. An input/output device connected between a controller and a sensor or a trigger device, the input device includes an input circuit, an output circuit and a connector, the input The circuit and the output circuit are connected between the controller and the connector; the connector is further configured to be connected to the sensor or to the triggering device and a power supply sequence; the controller is configured to control the input circuit and the output The working state of the circuit, when the connector is connected to the trigger device, the input circuit does not work, the controller outputs a trigger signal and controls the trigger device to work through the output circuit; when the connector is connected to the sensor, The output circuit does not work. The sensor outputs an inductive signal and is input to the controller through an input circuit. 2. The input/output device of claim 1, wherein the input circuit comprises a first MOS tube, a first diode, a second diode, and a first relay, the first MOS The gate of the tube is connected to the first end of the controller, the source is grounded, the drain is connected to the anode of the first diode, and the cathode of the first diode is connected to a power source; the first relay includes a first a coil, a first switch and a second switch, the first end of the first coil is connected to the power source, the second end is connected to the drain of the first MOS tube, and the first end of the first switch is connected to the first end The first end of the device is connected, the second end is connected to the cathode of the second diode, the anode of the second diode is connected to the power source, and the first end of the second switch is connected to the second end of the connector. The second end is coupled to the second end of the controller. 3. The input/output device of claim 2, wherein the output circuit comprises a second MOS tube, a third diode, a second relay and a trigger, the second relay comprising a first Two coils and a third switch, the 098138751 Form No. A0101 Page 13 / 19 pages 0982066492-0 201117143 The first end of the second coil is connected to the power source, and the second end is connected to the third end of the controller, and The anode of the third diode is connected, the cathode of the third diode is connected to the power source, and the second end of the second coil is further connected to the drain of the second MOS tube, and the first end of the third switch is The first end of the connector is connected, the second end is connected to the second end of the connector, the source of the second MOS tube is grounded, the gate is connected to the first end of the trigger, and the second end of the trigger The end is connected to the second end of the second switch, and is further connected to the second end of the controller, the third end of the trigger is connected to the fourth end of the controller, and the fourth end of the trigger is transmitted through a resistor The power source is connected, and the fifth end of the trigger is connected to the power source, and A capacitor is grounded, the sixth end of the flip-flop is vacant, and the seventh end of the flip-flop is connected to the power source through a resistor, and is also grounded through a capacitor, and the eighth end is grounded. 4. An environmental monitoring system comprising a controller, a plurality of sensors, a plurality of triggering devices, and a plurality of input and output devices, each of the input and output devices being coupled between the controller and a sensor or trigger device, wherein each of the input and output devices The utility model comprises an input circuit, an output circuit and a connector, the input circuit and the output circuit are connected between the controller and the connector; the connector is further configured to be connected to the sensor or the trigger device and a power source. The controller is configured to control the working state of the input circuit and the output circuit. When the connector is connected to the trigger device, the input circuit does not work, and the controller outputs a trigger signal and controls the trigger device through the output circuit. Working; when the connector is connected to the sensor, the output circuit does not work, and the sensor outputs an inductive signal and is input to the controller through the input circuit. 5. The environmental monitoring system of claim 4, wherein the input circuit comprises a first MOS tube, a first diode, a second diode, and a first relay, the first MOS The gate of the tube is connected to the first end of the controller 098138751 Form No. A0101 Page 14 of 19 0982066492-0 201117143, the source is grounded, the drain is connected to the anode of the first diode, the second pole The cathode of the body is connected to the -t source; the first relay comprises a first coil, a first switch and a second switch, the first end of the first coil is connected to the power source, and the second end is connected to the first MOS tube The drain of the first switch is connected to the first end of the connector, and the second end is connected to the anode of the second diode. The anode of the second diode is connected to the power source. The second switch (four)-end is connected to the second end of the connector, and the second end is connected to the second end of the controller. The environmental monitoring system described in claim 5, wherein the output f path includes a second MOS tube, a third dying, a second relay, and a trigger, and the second relay includes - a second coil and a third switch, the first end of the second coil is connected to the power source; the second end is connected to the third end of the controller, and is further connected to the anode of the third diode, the third pole The cathode of the body is connected to the power source, and the second end of the second coil is further connected to the second end of the second tube, the first end of the third switch is connected to the first end of the connector, and the second end is connected to the second end The second end of the device is connected, the source of the second tube is noisy, the gate is connected to the first end of the trigger, and the second end of the (four) is connected to the second end of the second switch, The second end of the controller is connected to the third end of the trigger is connected to the fourth end of the controller, and the fourth end of the trigger is connected to the power source through a resistor, and the fifth end of the trigger is connected to the power source , also through the - capacitor ground, the sixth end of the flip-flop is vacant, the seventh end of the flip-flop passes a resistor Connected to the power supply, grounded through a capacitor and grounded at the eighth end. 098138751 Form No. A0101 Page 15 of 19 0982066492-0
TW098138751A 2009-11-13 2009-11-13 Input/output device and environment monitoring system including the same TWI478116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098138751A TWI478116B (en) 2009-11-13 2009-11-13 Input/output device and environment monitoring system including the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098138751A TWI478116B (en) 2009-11-13 2009-11-13 Input/output device and environment monitoring system including the same

Publications (2)

Publication Number Publication Date
TW201117143A true TW201117143A (en) 2011-05-16
TWI478116B TWI478116B (en) 2015-03-21

Family

ID=44935157

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098138751A TWI478116B (en) 2009-11-13 2009-11-13 Input/output device and environment monitoring system including the same

Country Status (1)

Country Link
TW (1) TWI478116B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI505238B (en) * 2013-11-01 2015-10-21 Taiwan Secom Co Ltd Security system for selecting input-type

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002082714A (en) * 2000-09-08 2002-03-22 Tokyo Electron Ltd Self-diagnosing circuit for input/output circuit system
KR100609039B1 (en) * 2004-06-30 2006-08-10 주식회사 하이닉스반도체 Input/output line circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI505238B (en) * 2013-11-01 2015-10-21 Taiwan Secom Co Ltd Security system for selecting input-type

Also Published As

Publication number Publication date
TWI478116B (en) 2015-03-21

Similar Documents

Publication Publication Date Title
US20110100076A1 (en) apparatus and method for electronic lock key indicator
WO2017209940A1 (en) Access control system sensor
CN104089065B (en) Contact control formula effluent control device and its control method
Belim et al. Automate and secure your home using Zigbee technology
Sulayman et al. Designing and implementation of home automation system based on remote sensing technique with Arduino Uno microcontroller
TW201117143A (en) Input/output device and environment monitoring system including the same
CN202273480U (en) Wireless transmitting and receiving device used for detecting state of lock
CN211979469U (en) Control circuit and switch module using same
CN208240172U (en) A kind of alarm device
CN207602019U (en) A kind of touch waterproof intelligent remote controller
CN203652967U (en) Intelligent elevator control device based on double OR-gate circuits
CN105675025B (en) Multipurpose Hall Transducer module
CN204990582U (en) Theftproof constant temperature system
CN207686452U (en) A kind of smart lock button storehouse window detects wake-up circuit
CN202627692U (en) Novel control device for anti-theft door
CN105564347B (en) Sensing system
CN206750396U (en) A kind of touch overturning-preventing container
CN209687072U (en) A kind of two-door toilet of cross complaint
CN201861847U (en) Novel domestic medicine box
CN206957382U (en) A kind of intelligent lock based on Internet of Things
CN107251437B (en) Resistor multiplexed switch wake-up circuit
CN205577648U (en) Bluetooth low -power consumption intelligence lock
CN107666306A (en) A kind of single live wire power getting intelligent switch based on fingerprint identification technology
CN210197728U (en) Touch key operation device for wall-mounted furnace
CN203652966U (en) Body sensing energy-saving elevator

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees