ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING Microcontroller control device for the incubator. Encyclopedia of radio electronics and electrical engineering Encyclopedia of radio electronics and electrical engineering / Microcontrollers The device offered to the attention of readers is one of the options developed by the author of devices for controlling a small-sized incubator. It provides temperature stabilization and periodic activation of the actuator motor to turn the trays. It can also be used as a precise temperature controller with the possibility of periodically connecting an additional load, such as a fan. The device differs from the previously described ones in that it performs fully digital temperature control and stabilization with an accuracy of 0,1 °C and a variable hysteresis, and also allows you to adjust the operating time of the actuator within 1 ... 999 s and the pause between turning on the engine within 1 ...999 min. The device consists of control and switching units connected by a five-wire cable. The schematic diagram of the control unit is shown in fig. 1. It contains a DDI microcontroller that performs all the necessary operations for comparing temperature and counting time intervals, a DD2 decoder, HG1-HG3 indicators and two supply voltage regulators: DA1 - the digital part of the device and DA2 - analog. The switching unit (Fig. 2) consists of two electronic keys, one of which (R22, U1, VD5, R24, VS1) is designed to turn the heater on and off (illuminating lamp EL1), and the other (R23, U2, VD6, R25, VS2) - electric motor of the actuator. To measure the temperature, an integral temperature sensor DA3 with a linear dependence of the output voltage on temperature was used [1]. On transistors VT3, VT4, a 1 mA current generator is assembled to power DA3. The voltage taken from its output 1 is supplied to the voltage-frequency converter, made on the DA5 chip (iA02PP1 [2]). Since the voltage at pin 1 of the DA3 sensor relative to its pin 2 depends on the temperature with a coefficient of 10 mV / K (K - Kelvin), to shift the readings to the Celsius scale, a reference voltage of +8 V is applied to pin 5 of DA2,732, taken from pin 3 of the stabilizer DA4 The pulses from pin 9 of the DA5 converter are fed to the shaper, assembled on transistors VT1, VT2 (see Fig. 1), amplified oscillations from its output are fed to the counting input RA4 DD1. The microcontroller measures the frequency of the incoming signal and controls the indicators HG1-HG3. The first of them displays tens, the second and third - units and tenths of a degree Celsius, respectively. Control the device with buttons SB1-SB3. When you first press SB1 ("Installation"), the indicators display the value of the temperature of the lower limit (if it falls below this value, the heater will turn on). After releasing the button, the device enters the setting mode, as evidenced by the blinking of the indicator, which represents the modifiable digit of the parameter. Initially, the least significant digit (HG3) is available for change. The desired bit is selected by pressing the SB2 ("Select") button, and the desired value is set using SB3 ("+"). The next press of the SB1 button puts the device into the upper temperature limit setting mode (if it is exceeded, the heater turns off). The desired value is set by manipulating the same buttons SB2 and SB3. After the third pressing of the SB1 button, the indicators display the time (in seconds) for which the tray rotation mechanism is activated after the next pause. The next press on SB1 displays for modification the interval (in minutes) between switching on the electric motor. If at least one of these parameters (work or pause time) is equal to zero, the actuator does not turn on. Finally, the fifth press of the SB1 button puts the device into operation mode, and the current temperature value appears on the indicators. All set parameters are stored in the non-volatile memory of the DDI microcontroller. It should be noted that in the setting mode, temperature measurement and comparison are not performed. The program codes for the DD1 microcontroller are shown in the table. The control and switching units, as well as the measuring part of the device (circled in Fig. 2 by a dash-dotted line) are mounted on separate prototyping boards of suitable sizes (printed boards were not developed). It is permissible to use any small-sized unit that provides an output voltage of at least 12 V at a current of 150 mA as a power source for the device. Instead of PIC16F84, microcontrollers PIC16F84A, PIC16CR84 or PIC16C84 can be used in the control unit. Fixed resistors R16 - R18 - with a tolerance of ± 1 ... 2% from the nominal value, the rest - with a tolerance of ± 10%, tuning resistors R19 and R20 - SPZ-19a, SPZ-39a or wire SP5-2. AOU115G optocouplers are replaceable with AOU115D, AOU1 V devices, ALS324B indicators - with similar imported ones with a common anode (at the same time, the resistance of resistors R5-R12 can be increased two to three times). In addition to KU208G, triacs TS112-10, TS112-16 can be used in the switching unit. If the load power of the triac does not exceed 200 W, you can do without a heat sink, otherwise a ribbed heat sink is needed (with a switched power of up to 1 kW, its dimensions are approximately 60x50x25 mm). The temperature sensor K1019ChT1 differs from that described in [1] K19Ml (foreign analogue of LM335) by the absence of a calibration output. When using K1019EM1, its output 3 is connected instead of output 2 K1019ChT1, output 2 - instead of output 1, and the calibration output is left free. The VFC chip UA02PP1 is a modified analogue of the foreign LM331, the switching circuit of which is shown in fig. 3. In extreme cases, instead of UA0PP1, you can use KR1108PP1 by turning it on in accordance with the diagram in fig. 1, given in [3], and reducing the value of any of the frequency-setting elements by half (preferably capacitor C1). However, such a replacement will require the use of a bipolar power supply with a voltage of +15 and -15 V. Setting up the device comes down to calibrating the measuring part. To do this, the DA3 sensor is placed in melting snow or ice and the trimming resistor R19 sets zero readings of the indicators. Then the sensor, together with an accurate thermometer, is lowered into a thermos with water heated to a temperature of +30...40 °C. After some time, the trimming resistor R20 achieves the corresponding readings of the indicators. In some cases, it may be necessary to select the resistor R16 within 90 ... 110 kOhm. Various device designs are possible. For example, the control unit is located outside the incubator and is connected by a five-wire cable to a switching device located inside the incubator chamber. In any case, it is recommended to make the measuring part in the form of a remote sensor installed above the trays and connected to the device with a three-wire cable. In the author's version, this unit is mounted on a small board and placed in a sealed plastic case. Recommendations for the design of the actuator are given in [4]. It should be noted that due to the possibility of accurately setting the operating time of the engine, there is no need for a cam mechanism and contact switches on the shaft of the engine gearbox. During the adjustment of the device, it is only necessary to accurately select such an engine operation time so that the gearbox shaft rotates to the desired angle. Literature
Author: A.Borisevich, Sevastopol, Ukraine See other articles Section Microcontrollers. Read and write useful comments on this article. Latest news of science and technology, new electronics: Air trap for insects
01.05.2024 The threat of space debris to the Earth's magnetic field
01.05.2024 Solidification of bulk substances
30.04.2024
Other interesting news: ▪ Flying racing electric car Alauda Airspeeder Mk3 ▪ Plankton of the Black Sea rids the Earth of carbon ▪ Microsoft Multitouch Touch Mouse News feed of science and technology, new electronics
Interesting materials of the Free Technical Library: ▪ section of the site Factory technology at home. Article selection ▪ article by Gene Lollobrigida. Famous aphorisms ▪ article What is Impressionism? Detailed answer ▪ article Assembler of wood products. Standard instruction on labor protection ▪ article Antenna current indicator. Encyclopedia of radio electronics and electrical engineering ▪ article Simple converter, 12/220 volts. Encyclopedia of radio electronics and electrical engineering
Leave your comment on this article: Comments on the article: Anatoly The circuit is not working, the thermostat mode does not work, the output is constantly heating, regardless of the measured temperature, the rotation of the trays and how the thermometer works Радио Collected, problems, is it just me or others too? All languages of this page Home page | Library | Articles | Website map | Site Reviews www.diagram.com.ua |