KR940005031B1 - Driving control device and method of humidity sensor - Google Patents
Driving control device and method of humidity sensor Download PDFInfo
- Publication number
- KR940005031B1 KR940005031B1 KR1019910021653A KR910021653A KR940005031B1 KR 940005031 B1 KR940005031 B1 KR 940005031B1 KR 1019910021653 A KR1019910021653 A KR 1019910021653A KR 910021653 A KR910021653 A KR 910021653A KR 940005031 B1 KR940005031 B1 KR 940005031B1
- Authority
- KR
- South Korea
- Prior art keywords
- output
- humidity sensor
- timer
- humidity
- determination step
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D22/00—Control of humidity
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
Abstract
Description
제1도는 종래의 습도센서 구동제어장치의 회로도.1 is a circuit diagram of a conventional humidity sensor drive control device.
제2도는 본 발명 습도센서 구동제어장치의 회로도.2 is a circuit diagram of the humidity sensor drive control device of the present invention.
제3도는 본 발명 습도센서 구동제어방법의 플로우챠트.3 is a flow chart of the humidity sensor drive control method of the present invention.
제4도는 본 발명에 적용되는 입출력파형도.4 is an input / output waveform diagram applied to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 전원부 2 : 발진회로부1: power supply 2: oscillation circuit
3 : 필터회로 4 : 증폭회로3: filter circuit 4: amplifier circuit
5 : 마이콤 6 : 습도센서5: micom 6: humidity sensor
PA, PB : 출력제어단자 A/D : 입력단자PA, PB: Output Control Terminal A / D: Input Terminal
R1∼R3 : 전류제한저항R1 to R3: current limiting resistor
본 발명은 습도센서 구동제어장치 및 그 방법에 관한 것으로, 특히 공기중에 습도를 감지하기 위하여 장착되는 습도센서를 마이콤의 출력제어신호로 구동시킴과 아울러 구동되는 습도센서 전압으로 습도상태를 판단할 수 있도록 한 습도센서 구동제어장치 및 그 방법에 관한 것이다.The present invention relates to a humidity sensor drive control apparatus and a method thereof, and in particular, a humidity sensor mounted to detect humidity in the air can be driven by an output control signal of a microcomputer and the humidity state can be determined by the driving humidity sensor voltage. It relates to a humidity sensor drive control device and a method thereof.
종래의 습도센서 구동제어장치는 제1도에 도시한 바와 같이, 전원부(1)로부터 공급되는 전압을 받아 AC파형의 발진신호를 출력시켜 습도센서(6)를 구동시키게 되는 발진회로부(2)와, 상기 발진회로부(2)로부터 발진신호로 구동하면서 AC파형전압의 노이즈를 제거하는 필터회로(3)와, 상기 필터회로(3)에서 노이즈가 제거된 습도센서(6)의 미약된 출력전압을 증폭하는 증폭회로(4)와, 상기 증폭회로(4)로부터 증폭된 신호를 읽어드려 미리 설정된 데이터에 의하여 비교제어하여 현재 습도상태를 판단하게 되는 마이콤(5)으로 구성되어 있는바, 이와 같이 구성된 종래의 습도센서 구동제어장치는 습도센서(6)에 AC전압을 인가하기 위하여 발진회로부(2)를 구성하여야 하고, 상기 발진회로부(2)의 정확한 발진을 위해 양전원이 필요하며 전원부(1)를 구성하여야 하며, 상기 전원부(1), 발진회로부(2)의 노이즈를 제거하기 위하여 필터회로(3), 그리고 증폭회로(4)등 습도센서(6)구동 및 습도센서(6)의 전압을 감지하기 위하여 복잡한 회로구성을 하여야 하는 번거로움과, 구성에 따른 어려움을 가지게 되었다.As shown in FIG. 1, the conventional humidity sensor driving control apparatus receives an voltage supplied from the power supply unit 1, outputs an AC waveform oscillation signal, and drives the humidity sensor 6 to drive the humidity sensor 6. The filter circuit 3 removes the noise of the AC waveform voltage while driving the oscillation signal from the oscillation circuit section 2, and the weak output voltage of the humidity sensor 6 from which the noise is removed from the filter circuit 3. The amplification circuit 4 to amplify and the microcomputer 5 which reads the amplified signal from the amplification circuit 4 and compares and controls the present humidity state by preset data are configured as described above. Conventional humidity sensor drive control device has to configure the oscillation circuit unit 2 to apply an AC voltage to the humidity sensor 6, and a positive power source is required for the accurate oscillation of the oscillation circuit unit 2 and the power supply unit 1 Must be configured, In order to remove the noise of the power supply unit 1, the oscillation circuit unit 2, the circuit circuit complex to detect the voltage of the humidity sensor 6 and the humidity sensor 6, such as the filter circuit 3, and the amplification circuit (4). I have had to configure and have difficulty in configuration.
본 발명의 목적은 공기중에 습도를 감지하는 습도센서를 마이콤의 출력제어신호로 구동시킴과 아울러 구동되는 습도센서의 전압으로 습도상태를 판단감지할 수 있도록 한 간단한 습도센서 구동제어장치 및 그 방법을 제공하는데 있으며, 상기의 목적을 실현하기 위하여 본발명 습도센서 구동제어장치는 입력되는 신호를 비교판단제어하는 마이콤과, 마이콤의 출력제어신호에 따라 동작하는 습도센서로 구성하고, 이를 제어하는 구동제어방법은 타이머의 시간을 증가시키는 타이머증가단계와, 타이머증가단계에서 소정의 시간이상이 되었는가를 판단하는 소정시간 판단단계와,. 상기 소정시간 판단단계에서 소정시간이 되면, 출력제어단자로 하이신호가 출력되는가를 판단하는 출력판단단계와, 전압을 읽어드리는 단계와, 읽어드린 전압으로 습도상태를 판단하는 습도판단단계와, 상기 소정시간 판단단계에서 소정시간이 경과하면 상기 타이머를 클리어시키고, 클리어횟수가 홀수이면 출력제어단자로 하이신호를 출력시키는 출력신호제어단계로 이루어진 것을 특징으로 한다.An object of the present invention is to provide a simple humidity sensor drive control device and method for driving a humidity sensor for sensing humidity in the air as an output control signal of a microcomputer and also for detecting and detecting a humidity state by a voltage of the driven humidity sensor. In order to achieve the above object, the present invention humidity control drive control device comprises a microcomputer for comparing and controlling the input signal and the humidity sensor operating in accordance with the output control signal of the microcomputer, drive control for controlling this The method includes a timer incrementing step of increasing the time of the timer, a predetermined time determination step of determining whether the timer increase step has been over a predetermined time; An output determination step of determining whether a high signal is output to an output control terminal, reading a voltage, determining a humidity state using the read voltage, When the predetermined time elapses in the predetermined time determination step, the timer is cleared, and if the number of times of clearing is an output signal control step of outputting a high signal to the output control terminal.
이하 첨부된 도면에 의거 본발명을 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
제2도는 본발명 습도센서 구동제어장치의 회로도로서, 소정의 프로그램에 의하여 타이머동작을 하면서, 출력제어단자(PA)(PB)로 일정주기의 펄스신호를 출력하고 입력단자(A/D)로 전압을 읽어드려 습도상태를 판단하는 마이콤(5)과, 상기 마이콤(5)의 출력제어단자(PA)(PB)에는 습도센서(6)의 양단을 전류제한저항(R1)(R2)를 통해서 각각 접속하고, 상기 마이콤(5)의 입력단자(A/D)에는 전류제한저항(R3)을 통해서 상기 습도센서(6)의 전압이 인가되게 접속하여서 된 것이다.2 is a circuit diagram of the humidity sensor drive control device of the present invention, which outputs a pulse signal of a predetermined period to the output control terminal PA (PB) while operating a timer according to a predetermined program, and to the input terminals A / D. The microcomputer 5 which reads the voltage and determines the humidity state, and both ends of the humidity sensor 6 are connected to the output control terminals PA and PB of the microcomputer 5 through current limiting resistors R1 and R2. The voltages of the humidity sensor 6 are connected to the input terminals A / D of the microcomputer 5 through the current limiting resistor R3.
제3도는 본발명의 습도센서 구동제어방법에 대한 플로우챠트로서, 마이콤(5)의 내부타이머를 동작시켜 타이머의 시간을 증가시키는 타이머증가단계(200)와, 상기 타이머증가단계(200)에서 내부타이머의 시간이 소정시간 이상인가를 판단하는 소정시간 판단단계(201)와, 상기 소정시간 판단단계(201)에서 소정시간 이하이면 내부타이머시간이 소정의 설정시간인가를 판단하는 설정시간 판단단계(202)와, 상기 설정시간 판단단계(202)에서 설정시간이면 출력제어단자(PB)로부터 하이신호가 출력되었는가를 판단하는 출력판단단계(203)와, 상기 출력판단단계(203)에서 하이신호이면 마이콤(5)의 입력단자(A/D)로부터 습도센서(6)의 전압을 읽어드리는 습도전압 읽기단계(204)와, 상기 습도전압 읽기단계(204)에서 읽어드린 전압에 해당하는 습도를 판단하는 습도판단단계(205)와, 상기 소정시간 판단단계(201)에서 소정시간 이상이면, 상기 내부타이머의 시간을 클리어시키는 타이머클리어단계(206)와, 상기 타이머클리어단계(206)에서 타이머 클리어횟수가 홀수인가를 판단하는 타이머 클리어횟수 판단단계(207)와, 상기 타이머 클리어횟수 판단단계(207)에서 클리어 홀수가 홀수이면 마이콤(5)의 출력제어단자(PA)로 로우신호, 출력제어단자(PB)로 하이신호를 출력하고, 홀수가 아니면 출력제어단자(PA)로 하이신호, 출력제어단자(PB)로 로우신호를 출력하도록 제어하는 출력신호제어단계(208)(209)로 이루어지도록 한 것이다.3 is a flow chart of the humidity sensor driving control method of the present invention, the timer increasing step 200 to increase the time of the timer by operating the internal timer of the microcomputer 5, and in the timer increasing step 200 A predetermined time determination step 201 for determining whether the timer time is longer than a predetermined time; 202 and an output determination step 203 for determining whether or not a high signal is output from the output control terminal PB when the set time is determined in the set time determination step 202, and a high signal in the output determination step 203. The humidity voltage reading step 204 for reading the voltage of the humidity sensor 6 from the input terminal A / D of the microcomputer 5 and the humidity corresponding to the voltage read in the humidity voltage reading step 204 are determined. Humidity judgment 205, a timer clear step 206 for clearing the time of the internal timer when the predetermined time determination step 201 is greater than or equal to a predetermined time, and whether the timer clear count is odd in the timer clear step 206. If the odd number of times in the timer clear count determination step 207 and the timer clear count determination step 207 are odd, the low signal is output to the output control terminal PA of the microcomputer 5 and the output control terminal PB is high. The signal is outputted, and if it is not an odd number, an output signal control step 208 or 209 is performed to output a high signal to the output control terminal PA and a low signal to the output control terminal PB.
상기와 같이 이루어지는 본발명의 작용효과를 설명하면 다음과 같다.Referring to the effect of the present invention made as described above are as follows.
먼저 습도센서 구동제어장치에 전원이 인가되어 마이콤(5)이 동작을 하게되면, 제3도에 도시한 바와 같이, 마이콤(5)에서는 타이머증가단계(200)을 통해서 마이콤(5)의 내부타이머의 시간을 증가시키고, 마이콤(5)의 제어출력단자(PA)(PB)에서는 제4도에 도시한 바와 같이 소정주기의 서로 다른 주기의 출력신호를 출력시키게 된다.First, when power is applied to the humidity sensor drive control device to operate the microcomputer 5, as shown in FIG. 3, in the microcomputer 5, the internal timer of the microcomputer 5 is passed through the timer increasing step 200. In addition, as shown in FIG. 4, the control output terminal PA (PB) of the microcomputer 5 outputs output signals of different periods of a predetermined period.
따라서 상기 제어출력단자(PA)(PB)의 출력신호에 의하여 습도센서(6)에는 로우,하이신호가 교대로 입력되게 하여 상기 습도센서(6)로 하여금 습도를 감지하게 하는데, 이 습도감지 입력과정을 설명하면, 상기 마이콤(5)에서는 소정시간 판단단계(201)에서 상기 타이머증가단계(200)에서 증가되고 있는 시간이 소정시간이상인가를 판단하게 된다. 이때 소정시간 판단단계(201)에서 소정시간 이상이 아니면, 설정시간 판단단계(202)에서 소정의 설정시간인가를 판단하여 소정설정시간이 아니면, 상기 타이머증가단계(200)로 가고 소정설정시간이면 출력판단단계(203)로 가서 출력제어단자(PB)로부터 하이신호가 출력되고 있는가를 판단하여 상기 출력제어단자(PB)로 하이신호가 아니면 상기 타이머증가단계(200)로 가고, 상기 출력제어단자(PB)로부터 하이신호가 출력되면, 상기 습도전압 읽기단계(204)로 가서 제4도에 도시한 바와 같이 상기 출력제어단자(PB)로부터 하이신호가 출력되고, 상기 설정시간 판단단계(202)에서 설정된 소정설정시간(2ms)시점에서 마이콤(5)의 입력단자(A/D)를 통하여 습도센서(6)의 전압을 읽어드리게 된다.Therefore, the low and high signals are alternately input to the humidity sensor 6 by the output signal of the control output terminal PA (PB), thereby causing the humidity sensor 6 to sense humidity. In the process described above, the microcomputer 5 determines whether the time increasing in the timer increasing step 200 is greater than or equal to a predetermined time in the predetermined time determining step 201. At this time, if it is not the predetermined time or more in the predetermined time determination step 201, it is determined whether or not the predetermined setting time in the setting time determination step 202, and if it is not the predetermined setting time, the timer increment step 200 goes to the predetermined setting time. Go to the output determination step 203, it is determined whether a high signal is output from the output control terminal PB. If the output control terminal PB is not a high signal, the timer goes to the timer increasing step 200, and the output control terminal ( When the high signal is output from the PB, go to the humidity voltage reading step 204, and a high signal is output from the output control terminal PB as shown in FIG. 4, and in the setting time determination step 202 The voltage of the humidity sensor 6 is read out through the input terminal A / D of the microcomputer 5 at the set predetermined time (2ms).
따라서 마이콤(5)에서는 습도판단단계(205)에서 상기 습도전압 읽기단계(204)로부터 읽어드린 전압을 기 설정된 습도데이타값과 비교판단하여 현재 습도상태를 판단한후 상기 과정을 반복 수행하게 된다.Therefore, the microcomputer 5 compares the voltage read from the humidity voltage reading step 204 in the humidity determination step 205 with a predetermined humidity data value to determine the current humidity state, and then repeats the above process.
한편, 상기 소정시간 판단단계(201)에서 소정시간 이상이면, 마이콤(5)에서는 타이머클리어단계(206)로 가서 상기 타이머증가단계(200)에서 카운트된 시간을 클리어시키고, 타이머 클리어횟수 판단단계(27)로 가서 상기 타이머클리어단계(206)에서 타이머를 클리어시킨 횟수가 홀수번째인가를 판단하게 되고, 이때 상기 타이머 클리어횟수 판단단계(207)에서 타이머 클리어횟수가 홀수번째이면 출력신호제어단계(208)로 가서 제4도에 도시한 바와 같이 마이콤(5)의 출력제어단자(PA)로부터 로우신호를 출력제어단자(PB)로부터 하이신호를 출력시키고, 상기 타이머 클리어횟수가 홀수번째가 아니면, 상기 출력제어단자(PA)로부터 하이신호를 출력제어단자(PB)로부터 로우신호를 출력시켜, 상기 습도센서(6)에 교류전압을 계속 인가하여 습도센서(6)를 계속 구동시킴과 아울러, 상기 동작과정을 반복 수행하면서, 상기 마이콤(5)의 출력제어단자(PB)로부터 하이신호가 출력되고 소정의 타이머 설정시간에서만 습도센서의 전압을 읽어드려 습도상태를 판단하게 한 것이다.On the other hand, if the predetermined time determination step 201 or more than the predetermined time, the microcomputer 5 goes to the timer clear step 206 to clear the time counted in the timer increment step 200, the timer clear count determination step ( 27, it is determined whether the number of times that the timer is cleared in the timer clear step 206 is an odd number. At this time, if the number of times of timer clear is odd in the timer clear number determination step 207, an output signal control step 208 ), A low signal is output from the output control terminal PA of the microcomputer 5, and a high signal is output from the output control terminal PB, as shown in FIG. The high signal is output from the output control terminal PA and the low signal is output from the output control terminal PB, and the AC voltage is continuously applied to the humidity sensor 6 to continuously drive the humidity sensor 6. In addition, it is at a high signal from the output control terminal (PB) of the microcomputer (5) is output to regret a read voltage of the humidity sensor only a predetermined set time of the timer determines a humidity state, while performing the operation process repeated.
이상에서 설명한 바와 같이 본발명은 공기중에 습도를 감지하게 되는 습도센서를 별도의 교류전원을 이용하지 않고 마이콤의 제어출력단자의 제어출력신호로 구동시킴과 아울러, 마이콤에서 설정된 소정시간에서만 선택적으로 습도센서의 전압을 읽어드려 습도를 판단하도록 함으로써, 습도센서 구동 및 습도감지하기 위하여, 별도의 전원부, 발진회로부, 필터회로, 증폭회로등과 같은 복잡한 회로구성을 하지 않고도 간단용이하게 습도상태를 판단할 수 있는 편리한 이점을 제공하게 되는 것이다.As described above, the present invention drives the humidity sensor that senses humidity in the air as a control output signal of the control output terminal of the microcomputer without using a separate AC power, and selectively selects the humidity only at a predetermined time set in the microcomputer. By reading the voltage of the sensor to determine the humidity, in order to drive the humidity sensor and detect the humidity, it is possible to easily determine the humidity state without complicated circuit configuration such as separate power supply, oscillation circuit, filter circuit, amplification circuit, etc. It will provide a convenient advantage.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019910021653A KR940005031B1 (en) | 1991-11-29 | 1991-11-29 | Driving control device and method of humidity sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019910021653A KR940005031B1 (en) | 1991-11-29 | 1991-11-29 | Driving control device and method of humidity sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR930010669A KR930010669A (en) | 1993-06-23 |
KR940005031B1 true KR940005031B1 (en) | 1994-06-10 |
Family
ID=19323812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019910021653A KR940005031B1 (en) | 1991-11-29 | 1991-11-29 | Driving control device and method of humidity sensor |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR940005031B1 (en) |
-
1991
- 1991-11-29 KR KR1019910021653A patent/KR940005031B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR930010669A (en) | 1993-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6528987B1 (en) | Method and apparatus for determining fan speed | |
KR940005031B1 (en) | Driving control device and method of humidity sensor | |
KR930002444Y1 (en) | Air cleaner controlling circuit | |
JPH04292732A (en) | Device and method for detecting contamination degree of air cleaner | |
JP3463723B2 (en) | Air purifier control device | |
JP3043940B2 (en) | Heat detector | |
KR950027265A (en) | Automatic operation of exhaust hood of gas range and control method | |
KR0171998B1 (en) | Operating state detecting apparatus of a fan driver | |
KR0135136B1 (en) | Method of gas sensing | |
JP2639971B2 (en) | Air purifier control device | |
KR960014583B1 (en) | Brush motor controller of a vacuum cleaner | |
KR920007587B1 (en) | Controlling method of electric cleaner | |
JPH09313854A (en) | Operation control device for air purifier | |
KR0155419B1 (en) | Displaying circuit for air cleaner | |
KR940000875Y1 (en) | Inverter | |
KR940001468B1 (en) | Microwave-heater driving method of oven | |
JP3156329B2 (en) | Equipment with gas sensor | |
JPH0138644Y2 (en) | ||
JPH0741416B2 (en) | Welding power supply | |
JPH10307187A (en) | Rainfall sensor | |
KR910005523B1 (en) | Auto tracking circuit and method for video | |
JPH06100353B2 (en) | Air purification system | |
SU1580283A1 (en) | Digital ohmmeter | |
KR0176858B1 (en) | Electronic bell with comparator | |
KR0119423Y1 (en) | Instant stop hnman sensing motor fan |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20030530 Year of fee payment: 10 |
|
LAPS | Lapse due to unpaid annual fee |