Not Applicable
Not Applicable
Not Applicable
This invention relates to apparatus for acquiring from sensors the electric signals that are determined by the physical or chemical properties of an object, displaying the signal values, processing the signals, and creating control signals for actuation of responsive devices for controlling these properties of the object to predetermined desired values.
Sensors are used to convert the physical or chemical properties of an object to electrical signals such as voltage and current. A modern digital sensing apparatus normally comprises of sensors, a signal-processing unit that applies stimulus signals to the sensors if necessary, and amplifies, filters the signals acquired from the sensors, an Analog to Digital (A/D) device that converts the analog signals to digital signals, and a communication unit that receives inquiry commands and sends out sensing data to a computer.
Basically, an A/D device is used to compare the input voltage to a reference voltage to convert voltage level signals to digital signals. To obtain an accurate result, a high precision and stable reference voltage source is needed, and the input voltage change in sampling should be minimized. As a result, for passive sensors that do not generate electrical signals, e.g. resistive sensors and capacitive sensors, a dedicated voltage or current stimulus source is required, and sometimes a complex signal stimulus and signal processing circuit should be implemented. For example, for capacitive sensors, usually a square wave or sine wave generator is used to provide the alternate current stimulus, and the output signals are rectified to generate a low frequency signal, the level of which changes with the sensor capacitance.
In this invention, a sensor interface circuit, which converts the sensing values directly to digital signals without using A/D devices, is presented. In the presented sensor interface circuit, pulse width, which is determined by the sensing values, rather than voltage level is used for digital signal conversion. Since no voltage level signals are employed for comparison and reference, the circuits are insensitive to the change or fluctuation of voltage supply. For example, if CMOS devices are used, the circuit can work in a voltage range of 3V to 18V. Based on that, a controller can be constructed either by using the digital sensing values or by directly comparing the sensing pulse with a value setting pulse.
It is an object of the present invention to provide digital sensing, control, and communication circuits that are not sensitive to changes or fluctuation of voltage supplies.
A second object is to provide a sensor interface circuit that needs not a dedicated conditioning circuit converting the signals from the sensor to appropriate signals for the A/D device; therefore, the circuit is simplified.
Another object is to provide a compact digital sensing and control circuit that is able to work without employing microcontrollers or microcomputers. Thus, products based on the circuits can re-use small-scale logic devices from old computers to reduce pollution to environment.
The apparatus of the present invention, for signal acquirement, display, communication, and control, comprises electronic means for sensing the properties of an object, means for creating electronic signals relating to the measure of the sensed properties within a sensitivity range, electronic means for processing the signals for display, electronic means for displaying the signal values, electronic means for receiving commands from a computer or an analog controller, and sending signal values to a computer, electronic means for processing the signals acquired from the sensors to create therefrom control signals for actuation of responsive devices to control the properties of the object to predetermined desired values.
To acquire signals from sensors, in the present invention, pulse width comparison, which includes a sensing pulse, the width of which changes with the sensing values, and a setting pulse, the width of which is adjustable by using either digital means (e.g. counters) or analog means (e.g. resistors or capacitors), is used. The means for sensing pulse generation uses mono-stable multi-vibrator, while either the digital pulse generation that includes an oscillator and a counter, or the mono-stable multi-vibrator can be used for setting pulse generation.
Two types of pulse comparison are presented. One is used for control. Signals generated by the pulse comparison pass through a time-delay circuit, which is employed to prevent rapid on/off cycling, and the result control signals are then used to control the responsive device. The other type of pulse comparison is for digitalization. Signals through the pulse comparison are converted to digital signals by using a counter, and a low pass digital filter is used to decrease the effects of high frequency noise. The result digital signals are then sent to a display or a digital controller.
The circuits described in the present invention can be integrated into a dedicated IC for sensor interface and control. Since no A/D is needed, and no complex computation is necessary, the IC can be low-cost. On the other hand, all the circuits in the present invention can also be realized by using small-scale logic devices such as 74HC series, 4000 series. Thus, products based on the circuits described in this invention can reuse small-scale logic devices from old computers to reduce pollution to environment.
Other features and advantages of the invention will be apparent from the following description, including accompany drawings, of illustrative embodiments thereof.
The present invention includes three functions: control, display, and communication. Referring to
In a control block 120, a control pulse is generated by a circuit 104, and compared with the sensing pulse from the circuit 102 in a pulse comparison unit 106. The result pulse from the unit 106 is then filtered through a circuit 110, and used to control an on/off controller 111, which is employed to control a responsive device 112. In addition to the control pulses from the filter 110, the response device 112 can also be controlled by the signals generated by a control circuit 116 based on the control setting input from a circuit 115 and the digital sensing signals from the filter 107.
An example of the controller 120 depicted in
The sensor for this controller can be either a resistive sensor or a capacitive sensor. If a capacitive sensor 202 is used, then a resistor 201 will be used with the sensor to generate a pulse (the width of which changes with the sensing values) through a mono-stable multi-vibrator 203. The reference pulse is generated by a mono-stable multi-vibrator 211, and the pulse width is set by using a capacitor 210 and a potentiometer 209. Pulse D and E from the mono-stable multi-vibrators are compared in a D-type flip-flop 204. If a positive coefficient sensor is used, then when the width of pulse D is shorter than pulse E, the environmental humidity is lower than the setting value. As shown in
If only a humidifier or de-humidifier is used, then by using the low-pass filter and the Schmitt trigger, quick on/off can be avoided without setting a humidity hysteresis, i.e. the humidifier or de-humidifier is turned on and off at the same humidity, thus, the humidity can be controlled accurately at a value. However, if both a humidifier and a de-humidifier are used simultaneously, then to prevent the two devices working at the same time, a humidity hysteresis is needed. The hysteresis in
An example embodying the display and communication block 130 depicted in
The AND gate 304 is connected to the counters, the clock of which is provided by an oscillator 309, and the reset logic is controlled by a control logic circuit 320. Synchronous pulses of the circuit 320 are provided by the AC/DC converter 330 through a frequency divider 313, where the frequency of the synchronous pulses is divided by a number m. As an example of the counter circuit, two counters, 305 and 310 are drawn in
ƒ=2kn/(mT),
where T is the sensing pulse width corresponding to the full scale of the sensor, and k is the number of counters (k=2 in this example). If BCD (Binary Coded Decimal) counters are used, then
ƒ=10kn/4/(mT).
For example, if the counters 305 and 310 are two 2-decade BCD counters (n=8), and a 2-decade BCD counter is used for the frequency divider 313 (m=100), the frequency of the oscillator then should be 100/T. If a capacitive relative humidity sensor is used as the sensor 302, and the capacitances corresponding to 100% and 0 are, respectively, Cmax and Cmin, then the frequency of the oscillator 309 is 100/[g(RCmax)−g(RCmin)], where R is the resistance of the resistor 301, and g(RC) is a function determined by the mono-stable multi-vibrators (e.g. for 74HC221, g(RC)=0.7 RC). In this example, if the counters 305 and 310 are reset and enabled with high level, then the control logic in the circuit 320 can be:
313Pulse99=313Q0 AND 313Q3 AND 313Q4 AND 313Q7,
313Pulse98=(NOT 313Q0) AND 313Q3 AND 313Q4 AND 313Q7,
305Reset=310Reset=313Pulse99 AND 308Q,
305Enable=310Enable=303Q AND 308
DisplayLatch=313Q98 AND 303Q,
where 313Q0, 313Q1, . . . , 313Q7 are, respectively, the ouput bit0 to bit7 (not shown in the figure) of the divider 313; 303Q is the sensing pulse output b of the mono-stable multi-vibrator 303; 308Q and 308
The timing diagram of this circuit example is illustrated in
Connecting only the counter 310 to a display 311, then the display value is the output of the counter 310,
, which is the average pulse width of 100 pulses in a resolution of two digits, thereby, a filter is implemented. The filter is able to remove high frequency disturbance, and is important to steady reading of sensor values.
Both of the adjusted sensing pulse (e) and the digital signals for the display 311 can be used for communication. For the adjusted sensing pulse (e), a simple communication circuit 340 is used. In this circuit, the command is the Output Enable, the high level (or low level) enables the pulse signals to appear at the Out port. A communication circuit 312 is connected to the digital signals for the display 311. Either a serial communication or a parallel communication can be employed.
In summary, in the present invention, the pulse signals, the width of which is determined by the sensing values, are digitalized for display and used for control without A/D conversion. The circuits based on this invention are simple and insensitive to the supply voltage. In addition to being integrated into an IC, the circuits can also be realized by using small-scale logic devices such as 74HC series, 4000 series. Thus, products based on the circuits described in this invention can reuse small-scale logic devices from old computers to reduce pollution to environment.
This present application claims priority from U.S. provisional application No. 60/697,196 having the same tile as the present invention and filed on Jul. 7, 2005.
Number | Date | Country | |
---|---|---|---|
60697196 | Jul 2005 | US |