Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

The programmable thermostabilizer on the microcontroller. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Microcontrollers

Comments on the article Comments on the article

The need for this device arose when solving the problem of temperature control and stabilization in technological processes at one of the enterprises. For heating and cooling, steam from the boiler house and cold water from an artesian well were used there, which were supplied through dampers to heat exchangers, boilers, cooling jackets, etc. The dampers on the pipelines were of two types: purely pneumatic membrane type with a chamber, compressed air pressure in which determined its position and electromechanical with a reversible engine.

The result of the work carried out was the proposed device, which allows you to control both types of dampers using two powerful keys on triacs. For a pneumatic damper, two normally closed electric valves are installed at the chamber inlet. One of them supplies compressed air of high pressure into the chamber, the second releases it from there with the first valve closed. The electric motor of the electromechanical damper is connected directly to the device; in this case, its direction of rotation is set with the keys. Below are the electrical diagram, principles of operation and parameters of the device. Delivery options for custom-configured device boards are possible. Waiting for your suggestions.

Programmable thermal stabilizer on a microcontroller
Fig.1. Scheme of a programmable stabilizer (click to enlarge)

Details: U1 - K561LN1, U18 - K1533ID7, U7 - PIC16F84-04I/P, U9 - DS1820, U10,U11 - AOU115V, U17,U14,U15,U16 - HD1077G.

The temperature sensor U9 measures the temperature and transmits it to the microcontroller U7, which displays it on a four-digit indicator on U14-U17, controls two powerful keys on X7,X8. The keys are galvanically isolated from the rest of the circuit using U10, U11. LEDs U12,U13 light up when the keys are open. The third task of the microcontroller is to poll the keyboard connected via the X9 connector.

The scheme allows using a standard telephone keypad 4*3 keys, but only one of its columns (STL0) is supported by software, i.e. 4 buttons. They are sufficient for the functions performed. To scan the keyboard, dynamic indication pulses are used, which, after passing through the pressed key, are amplified by the amplifier U1, and, this is a feature of this circuit, they are received on the port where the data of the indicator bits are issued (RB0 for STL0). During the time when the keyboard is not being polled, the outputs of the amplifier are transferred to the Z-state, for which the RB7 port is used. Resistors R1-R3 - protective. The mains voltage 220V is supplied to the FAZA output common for the keys, and to the valve or motor, which are connected to KLAPAN1 and KLAPAN2 by other outputs.

For the most accurate temperature stabilization, the following principles are incorporated in the software control of the keys:

1. Key X7 is for increasing the temperature, X8 is for decreasing. If the temperature does not match the required one, the desired key is selected and it opens for a programmable opening time, then, during the same programmable settling time, with the key closed, the temperature is measured and the key is selected again. Thus, in the stabilization mode, it is possible to single out periods consisting of the opening time and the settling time.

2. When deciding to open the corresponding key, the increment or decrease in temperature obtained during previous measurements is taken into account. To eliminate the overshoot effect, the time elapsed from the moment the required temperature is passed to the moment when the temperature is minimum or maximum is calculated and used to determine when to open or close the damper.

3. Stabilization mode can be disabled from the keyboard. When it is turned off, the damper is closed by turning on the reducing key for a few seconds.

4. From the keyboard, the required temperature, opening time and settling time are entered and stored in permanent memory.

The DS1820 temperature sensor transmits the already processed temperature to the microcontroller in a digital serial code via a single-wire interface. The length of the connecting wires between the sensor and the device can be up to 10 - 15 meters and does not affect the measurement accuracy. More information about this chip can be found on the Dallas Semiconductor website (dalsemi.com). And the text of the subroutine used in the temperature stabilizer to obtain the temperature (working with the sensor) can be viewed here.

Documentation (Datashit) on MK PIC16F84

I wish you creative success.

Author: Vladimir Shashin; Publication: cxem.net

See other articles Section Microcontrollers.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Machine for thinning flowers in gardens 02.05.2024

In modern agriculture, technological progress is developing aimed at increasing the efficiency of plant care processes. The innovative Florix flower thinning machine was presented in Italy, designed to optimize the harvesting stage. This tool is equipped with mobile arms, allowing it to be easily adapted to the needs of the garden. The operator can adjust the speed of the thin wires by controlling them from the tractor cab using a joystick. This approach significantly increases the efficiency of the flower thinning process, providing the possibility of individual adjustment to the specific conditions of the garden, as well as the variety and type of fruit grown in it. After testing the Florix machine for two years on various types of fruit, the results were very encouraging. Farmers such as Filiberto Montanari, who has used a Florix machine for several years, have reported a significant reduction in the time and labor required to thin flowers. ... >>

Advanced Infrared Microscope 02.05.2024

Microscopes play an important role in scientific research, allowing scientists to delve into structures and processes invisible to the eye. However, various microscopy methods have their limitations, and among them was the limitation of resolution when using the infrared range. But the latest achievements of Japanese researchers from the University of Tokyo open up new prospects for studying the microworld. Scientists from the University of Tokyo have unveiled a new microscope that will revolutionize the capabilities of infrared microscopy. This advanced instrument allows you to see the internal structures of living bacteria with amazing clarity on the nanometer scale. Typically, mid-infrared microscopes are limited by low resolution, but the latest development from Japanese researchers overcomes these limitations. According to scientists, the developed microscope allows creating images with a resolution of up to 120 nanometers, which is 30 times higher than the resolution of traditional microscopes. ... >>

Air trap for insects 01.05.2024

Agriculture is one of the key sectors of the economy, and pest control is an integral part of this process. A team of scientists from the Indian Council of Agricultural Research-Central Potato Research Institute (ICAR-CPRI), Shimla, has come up with an innovative solution to this problem - a wind-powered insect air trap. This device addresses the shortcomings of traditional pest control methods by providing real-time insect population data. The trap is powered entirely by wind energy, making it an environmentally friendly solution that requires no power. Its unique design allows monitoring of both harmful and beneficial insects, providing a complete overview of the population in any agricultural area. “By assessing target pests at the right time, we can take necessary measures to control both pests and diseases,” says Kapil ... >>

Random news from the Archive

Advanced Infrared Microscope 02.05.2024

Microscopes play an important role in scientific research, allowing scientists to delve into structures and processes invisible to the eye. However, various microscopy methods have their limitations, and among them was the limitation of resolution when using the infrared range. But the latest achievements of Japanese researchers from the University of Tokyo open up new prospects for studying the microworld.

Scientists from the University of Tokyo have unveiled a new microscope that will revolutionize the capabilities of infrared microscopy. This advanced instrument allows you to see the internal structures of living bacteria with amazing clarity on the nanometer scale. Typically, mid-infrared microscopes are limited by low resolution, but the latest development from Japanese researchers overcomes these limitations.

According to scientists, the developed microscope can create images with a resolution of up to 120 nanometers, which is 30 times higher than the resolution of traditional microscopes in the mid-infrared range. This significant improvement opens up new possibilities for studying a variety of samples, including living cells, and could help combat infectious diseases and other pathologies.

The microworld, invisible to the eye, becomes accessible for research thanks to modern technologies. A new microscope allows scientists to peer into the microscopic details of bacteria without using light. Such sophisticated instruments could play a key role in unlocking the mysteries of the living world and help develop new treatments and diagnostics.

The development of an improved infrared microscope opens a new era in the study of the microworld. Its high resolution allows scientists to see the internal structures of bacteria with never-before-seen clarity, opening up new opportunities for research in biology, medicine and other sciences.

Other interesting news:

▪ Fujitsu Raku Raku - a smartphone for pensioners

▪ Painkillers reduce empathy

▪ Paper bottles

▪ Chocolate in the morning helps women lose weight

▪ Everyone has their own reality

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Medicine. Selection of articles

▪ article High-speed ship model class F3V. Tips for a modeler

▪ article What does chicken tobacco have to do with tobacco? Detailed answer

▪ article Functional composition of Fisher TVs. Directory

▪ article Modem Max-2400 (for PC Sinclair). Encyclopedia of radio electronics and electrical engineering

▪ article Loudspeaker with low-pass filter for a radio receiver or radio station. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024