Intelligent ventilation system for toilet in prison room

By designing an intelligent ventilation system in the prison bathroom, using the linkage of small fans, large fans and infrared sensors, combined with POWER BUS two-bus technology, the problem of odor in the prison room has been solved, automatic gas emission has been realized, and the sanitary environment has been improved. and regulatory convenience.

CN221611532UActive Publication Date: 2024-08-27XINGYANG MACHINE ELECTRICITY EQUIP CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202323482866.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-08-27
Estimated Expiration
2033-12-20

AI Technical Summary

Technical Problem

Due to the strong airtightness of the toilets in prison cells, there is a serious odor problem, which affects health and makes supervision difficult. The existing technology lacks targeted ventilation system design.

Method used

An intelligent ventilation system for the bathroom in the prison room is designed, including a small fan, a large fan, an extension controller, a host controller and an infrared human body sensor. By automatically detecting the entry and exit of personnel, the fan is linked to discharge gas to ensure that the gas is in Long-distance high-altitude emissions avoid the dispersion of odors. POWER BUS dual-bus technology is used to simplify the control circuit and improve system reliability and installation convenience.

Benefits of technology

It realizes automatic intelligent ventilation in the prison room, effectively improves the sanitary environment, reduces the difficulty of supervision, ensures the safety, reliability and durability of the system, and avoids the impact of odor on staff.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221611532U
    Figure CN221611532U
Patent Text Reader

Abstract

The utility model discloses an intelligent ventilation system for a toilet in a prison cell, which comprises a plurality of prison cells, a plurality of small fans, at least one large fan, a plurality of extension controllers, a host controller, an input component and a communication line, and each prison cell is internally provided with one extension controller, one input component and one small fan. The input part in each prison is connected with the input end of an extension controller, the output end of the extension controller is connected to a small fan, the output end of the small fan extends to the outside through a pipeline, a large fan is mounted at the end part of the prison, and the large fan is also connected to the output end of one extension controller; according to the utility model, one fan is independently installed in each monitoring room, the small fan in the monitoring room and the large fan on the side are automatically linked and cooperate to convey gas to a long distance for emission, full-automatic intelligent control ventilation is realized, the sanitary environment of the monitoring room is effectively improved, the difficulty of supervision work is reduced, and the working efficiency is improved. The device is safe, reliable and convenient to install.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of improving the environment of prison cells in detention centers and the like, in particular to a ventilation system for prison cell toilets. Background Art

[0002] Due to the need for confidentiality and safety supervision, prison cells are tightly sealed and require improved ventilation. On December 11, 2015, the applicant applied for a fully automatic evaporative cooling and ventilation machine for prison cells, with the authorization announcement number: CN105546689B. This solution uses fully automatic evaporative cooling and ventilation to effectively improve the prison cell environment.

[0003] However, only the sleeping area has been improved, while the bathroom still uses ordinary natural ventilation, which has problems such as strong odor. At present, there is no design for bathroom ventilation systems in prison cells worldwide. All prison cells have the above-mentioned high-concentration odor environment, which affects health and increases the difficulty of supervision. Summary of the invention

[0004] The purpose of this utility model patent is to solve the problems in the prior art and to propose an intelligent ventilation system and method for prison cell toilets, which can automatically and intelligently ventilate, improve the odor conditions in prison cell toilets, and reduce the difficulty of supervision.

[0005] To achieve the above-mentioned purpose, the utility model patent proposes an intelligent ventilation system for the toilets in prison cells, including several independent prison cells, all of which constitute a prison area, and also include several small fans, at least one large fan, several extension controllers, a host controller, input components, and communication lines. Each prison cell is equipped with an extension controller, an input component, and a small fan. The input component in each prison cell is connected to the input end of the extension controller, and the output end of the extension controller is connected to the small fan. The output end of the small fan extends to the outside through a pipeline. A large fan is installed at the end of the prison area, and the large fan is also connected to the output end of an extension controller. The host controller is connected to all extension controllers through communication lines. When a small fan is started, the host controller automatically controls the corresponding large fan, and the large and small fans work together to discharge the gas through the pipeline to a long distance at high altitude.

[0006] Preferably, the number of the large fans is 2, and the two large fans are respectively installed at the two ends of the monitoring area.

[0007] Preferably, the input component adopts an infrared human body sensor.

[0008] Preferably, it further includes a switch control component, wherein the extension controller is connected to the large fan via the switch control component, and the start and stop of the large fan is controlled by the switch control component; the extension controller is connected to the small fan via the switch control component, and the start and stop of the small fan is controlled by the switch control component.

[0009] Preferably, the switch control component is a relay.

[0010] Preferably, the communication line is a two-bus connection line that combines a power supply line and a signal line into one.

[0011] Preferably, the small fan is a turbine silent fan.

[0012] Preferably, a driver is provided between the extension controller and the switch control component, wherein the driver adopts a ULN2003 chip and the extension controller 4 adopts an STM32 series single chip microcomputer.

[0013] The beneficial effects of the utility model patent: each cell of the utility model is independently installed with a fan, which is centrally controlled, set and viewed in the main monitoring room. When the supervised person goes to the toilet, the system can automatically detect the entry of the person and then turn on the fan. When the person finishes the activity and leaves, the fan will be turned off after a delay. The system host can force the power on and off and speed adjustment according to multiple timing rules, and can also identify empty rooms to avoid power-on waste. In order to prevent odorous gases from spreading around the cell and affecting the staff, the small fan in the cell is automatically linked with the large fan on the side to work together to transport the gas to a long-distance discharge, realizing fully automatic intelligent control of ventilation, effectively improving the sanitary environment of the cell, reducing the difficulty of supervision work, and is safe, reliable and easy to install.

[0014] The features and advantages of this utility model will be described in detail through embodiments in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a schematic diagram of the mechanical installation structure of the intelligent ventilation system for the toilet in the prison cell of the utility model;

[0016] Figure 2 This is a schematic diagram of the electrical control principle of the intelligent ventilation system for the toilet in the prison cell of the utility model;

[0017] Figure 3 This is the schematic diagram of the extension control circuit in the intelligent ventilation system of the prison toilet in the utility model;

[0018] Figure 4 yes Figure 3 Schematic diagram of relay drive circuit in extension control circuit;

[0019] Figure 5 This is a software flow chart of extension control in the intelligent ventilation system of the toilet in the prison cell of the utility model;

[0020] Figure 6 This is the schematic diagram of the host control circuit in the intelligent ventilation system of the prison toilet in the utility model;

[0021] Figure 7 The utility model is a flow chart of the host control software in the intelligent ventilation system of the toilet in the prison cell of the central prison. DETAILED DESCRIPTION

[0022] Embodiment 1:

[0023] Due to the special environment and strict supervision mechanism of the prison room, including the restrictions on the installation personnel entering the prison room, this ventilation system must meet the following design requirements:

[0024] 1. Each cell is equipped with a ventilator, which can be centrally controlled, set up and viewed in the main monitoring room;

[0025] 2. When the supervised person goes to the toilet, the system can automatically detect the person entering and immediately turn on the fan. When the person finishes the activity and leaves, the fan will be turned off after a delay;

[0026] 3. The fan must have speed regulation and corresponding control and setting functions;

[0027] 4. The system can have a timer setting, which can force the fan to be turned on continuously during peak hours such as in the morning, or at night when people go to the toilet occasionally, the system will force it not to start, so as not to wake up the prisoners. In addition, some cells are sometimes empty and may change at any time. Therefore, the system must be able to automatically detect empty rooms. When the timer starts, the fan in the empty room will not start with other occupied rooms.

[0028] 5. The system must have a good control interface to set timed power on / off or other parameters;

[0029] 6. When discharging gas, it is necessary to prevent the odorous gas from spreading around the cell and ensure that it is dispersed in the air to prevent it from affecting the staff;

[0030] 7. Due to the special environment of the prison room, the system is required to have high reliability and durability, and to be convenient for engineering installation and maintenance and testing;

[0031] 8. In addition, regarding the safety supervision of supervisors, circuits and system components should be kept at a safe distance from personnel, and 220V voltage cannot be connected to the inside of the cell, etc.

[0032] See also Figure 1 , 2In view of the above requirements, an intelligent ventilation system for prison cell toilets is designed, including several independent prison cells 1, all of which constitute a prison area, and also include several small fans 2, at least one large fan 3, several extension controllers 4, a host controller 5, an input component 6, and a communication line 8. Each prison cell 1 is equipped with an extension controller 4, an input component 6, and a small fan 2. The input component 6 in each prison cell 1 is connected to the input end of the extension controller 4, and the output end of the extension controller 4 is connected to the small fan 2. The output end of the small fan 2 extends to the outside through a pipeline. A large fan 3 is installed at the end of the prison area, and the large fan 3 is also connected to the output end of an extension controller 4. The host controller 5 is connected to all extension controllers through the communication line 8. Device 4, when a small fan 2 is started, the host controller 5 automatically controls the corresponding large fan 3, and the large fan 3 and the small fan 2 work together to discharge the gas to a long distance high altitude through the pipeline; the number of large fans 3 is 2, and the two large fans 3 are respectively installed at the two ends of the monitoring area; the input component 6 is an infrared human body sensor, and the infrared human body sensor 6 is installed above the toilet of the monitoring room 1 to detect human activities. The infrared human body sensor 6 is connected to the extension controller 4, and at the same time, a turbine silent fan, that is, a small fan 2, is connected through the extension controller. The turbine silent fan extends to the outside through a pipeline and is further connected to the outside through a pipeline; two large fans 3 are installed on both sides of each monitoring area, and the fans 3 are also connected to an extension controller 4 respectively.

[0033] A host controller 5 is installed in the main monitoring room, connected to a touch screen 9. The host controller 5 is connected to the extension controllers 4 of all monitoring rooms 1 through a second bus, that is, a communication line 8, to achieve centralized control. When a small fan 2 is started, the host controller 5 automatically controls the corresponding large fan 3 on one side, and the two fans work together to discharge the gas to a long distance through the pipeline.

[0034] In this embodiment, the small fan 2 and the large fan 3 refer to that the power of the large fan 3 is greater than that of the small fan 2 , and the two have a relative power relationship. The specific parameters such as time power and volume can be determined according to the actual space requirements of the monitoring room 1 .

[0035] See also Figure 3 , 4 , and also includes a switch control component 7. The extension controller 4 is connected to the large fan 3 through the switch control component 7, and the switch control component 7 controls the start and stop of the large fan 3; the extension controller 4 is connected to the small fan 2 through the switch control component 7, and the switch control component 7 controls the start and stop of the small fan 2. The switch control component 7 uses a relay. The communication line 8 is a two-bus connection line that combines a power line and a signal line into one. A driver is also provided between the extension controller 4 and the switch control component 5. The driver uses a ULN2003 chip. The extension controller 4 uses an STM32 series single-chip microcomputer.

[0036] Regarding system control: There is no dedicated ventilation system for toilets in existing detention centers, while some ventilation systems in other fields are usually installed independently and controlled by manual switches, which require relatively simple operation. In some fields, the connection between the system host and extension is usually connected by 485 bus or CAN bus. These two control technologies, when applied in the special environment of prison cells, show the following disadvantages:

[0037] 1. The two signal lines in the CAN bus and 485 bus have positive and negative wires, which are easy to connect incorrectly during actual installation. In addition, in actual applications, if the extension node does not have an independent power supply, the host needs to power the extension uniformly, and two positive and negative power lines are required. When the four lines are connected together, it is more likely to cause wiring errors, causing troubleshooting inconvenience or even damage to the circuit board;

[0038] 2. The distribution of prison cells in the supervision sites is complex and diverse. They are generally divided into multiple supervision areas. Each supervision area contains an indefinite number of prison cells. There is no fixed rule for the distribution of multiple supervision areas. The location of the general monitoring room is also diverse, resulting in a complex and diverse structure of wired connections. It is a typical irregular multi-branch tree-shaped decentralized structure. The 485 technology emphasizes that when engineering wiring, the wiring must conform to a single simple structure of hand in hand. Although the CAN bus supports star and tree structures, it still faces some troubles when applied to the complex and diverse decentralized structure of the supervision site. It is necessary to add additional repeaters, or optimize the parameter matching according to the number of nodes on site, distribution rules, etc. This causes inconvenience to the standardized design, installation and promotion of the product, and the subsequent troubleshooting when problems arise, and also places high demands on the installation and maintenance personnel.

[0039] Therefore, a simpler, more reliable and convenient wired control technology is needed to facilitate the implementation and promotion of the solution. The communication line 8 described in this embodiment adopts the POWER BUS two-bus technology that combines the power line and the signal line into one, which has the following distinct characteristics:

[0040] 1. There are only two signal lines, and unlike 485 and CAN bus, its two signal lines can be used as power lines at the same time, and the signal carrier is realized through the power lines. Therefore, even if a large number of extension circuit boards in the system are powered uniformly, only two lines are needed to connect the system;

[0041] 2. The two wires are not divided into positive and negative, thus avoiding the possibility of wrong connection. It is very convenient during installation and connection, and troubleshooting, and has low requirements for installers;

[0042] 3. Supports arbitrary node distribution structure, suitable for different regulatory sites with various distribution structures, avoiding the shortcomings of 485 and CAN bus in regulatory field applications.

[0043] Regarding the durability and maintainability of the system: the fan motor used in the system is an ordinary capacitor-starting motor. Relays are usually used instead of thyristors, which have better impact resistance and life performance, high reliability, extremely low accidental damage rate, and are relatively simple to drive. However, considering that a cell usually holds many people, people frequently go to the toilet within 24 hours, and also include other activities such as washing their faces, so the fan in each cell has to start and stop many times a day, and this is the case year after year. If calculated at 60 times a day, the switching volume is as high as 20,000 times a year, and as high as 100,000 times in 5 years, which is close to the general relay action life. In order to extend the service life as much as possible, this design deliberately adds two simple and feasible means to greatly extend the service life of the relay.

[0044] In addition, after years of use, the dust filter of the fan may be clogged, resulting in a decrease in exhaust efficiency. It is not feasible to judge whether the filter is clogged and the severity of the clog simply by relying on the prisoner's hearing in the toilet. An automatic detection method is needed. In this design, the motor operating status is determined by real-time detection of the motor current, which facilitates centralized management and maintenance of the fan equipment.

[0045] Equipment installation structure: Figure 1 As shown, a small fan 2 and an infrared human body sensor 6 for detecting personnel activities are installed on the top of each cell 1. After the odor is extracted from the cell 1 through the small fan 2, if it is discharged directly, it will inevitably cause the odor to diffuse and circulate in the corridor above the cell 1, affecting the health of public security supervision and other staff. This design adopts a high-altitude discharge solution on the left and right sides of the prison area. Since a prison area usually has more than 10 cells and the corridors in the prison area are relatively long, the independent small fan 2 in the prison room alone is not enough to send the odor to the left and right sides. Therefore, two more powerful large fans 3 are installed on the left and right sides of the prison area, and the prison area is divided into left and right parts, each connected by a pipeline. The host software in the system dynamically calculates whether the corresponding two side large fans 3 need to be turned on and off according to the detected switch status of the small fans 2 in each cell 1.

[0046] Infrared human body sensor 6: This sensor is installed above the toilet. When a person enters the toilet, he / she can be immediately detected by the sensor module. After the control circuit board detects the signal change, the small fan 2 can be started and kept on. When the person is using the toilet, there are still some slight movements of the body, which are enough to be detected by the infrared human body sensor 6, so that the small fan 2 continues to be turned on. When the person finishes the activity and leaves, the infrared human body sensor 6 can no longer detect the activity of the person, and the fan is turned off after a delay of 1 minute.

[0047] Small fan 2: It uses a turbine silent fan with two wind speeds, high and low. The control method is simple, with only three control wires. Speed ​​switching and control can be completed using a relay switch.

[0048] See also Figure 3 , 4 , Circuit control part: In order to improve the service life of the extension controller 4 circuit board relay, two relays are used to connect the same motor line in turn, and the arc generated by the relay when it is disconnected is absorbed through the RC resistor-capacitor combination; as shown in the figure, there are three motor lines, one of which is the common end, connected to the power supply neutral line, and the other two are high-speed and low-speed control lines. Originally, each of them passed a relay to achieve speed regulation and switch control. As shown in the figure, this design takes high-speed line control as an example, connects the two relay contacts in parallel, and connects them to two independent control terminals of the MCU. Each time the machine is turned on, the MCU program will switch to another relay according to the selection of the last run; the MCU is an STM32 series microcontroller, and the driver is a ULN2003 chip; in addition, an important reason affecting the life of the relay is that the motor is an inductive load, and the relay contacts will generate an arc at the moment of disconnection due to the sudden change of the current to 0, which will burn the contacts. As shown in the figure, by adding RC resistance and capacitance between the contact and the neutral line, at the moment the contact is disconnected, the energy stored in C continues to relay power to the fan high-speed line like a reservoir, which is equivalent to slowing down the process of the current suddenly changing to 0. Although the energy is small, it can greatly reduce the peak value of the arc, which is very beneficial to improve the service life of the relay; the low-speed control line is also consistent with the high-speed control, so it will not be repeated.

[0049] See also Figure 3 , System extension controller circuit board 4: Each monitoring room 1 is equipped with one, which is also an extension node of the entire centralized control system. As a system node, each circuit board must have a unique number. The digital tube display and buttons are to display and set the number; at the same time, it is convenient for installation and maintenance, and can be manually forced to start and shut down temporarily. There are setting keys, power on and off keys, plus keys, minus keys, etc. on the control panel; the motor current detection unit transmits the common end wire of the motor to the current transformer, detects the current signal, and converts the current signal into a voltage signal, and then rectifies and filters it, and then transmits it to the MCU pin; about the POWER BUS bus, in the figure, the bus is both a DC power line and a signal line. The working voltage of the circuit board itself is taken from the bus, which can be as high as 48V, to facilitate long-distance transmission. The bus input voltage first passes through the PB bus module, undergoes polarity conversion, and then is stepped down to 12V 5V 3.3V by the voltage conversion unit for use by the on-board relay, MCU, and infrared sensor; the MCU is connected to the PB module via two serial communication lines. The module includes a dedicated chip PB331 and peripheral conditioning circuits to automatically complete the modulation, decoding, sending and receiving of the signal.

[0050] See also Figure 5, Extension software control: The system's control over the fan operation is divided into two parts: single-machine self-sensing control and group timed forced control. The figure shows the main program flow description, among which the key content is the extension controller's control over the fan's switch, which has three control sources. The first is the onboard manual switch button for temporary debugging, which has the highest priority. The second is to read the control data from the system host polling. The host may force the extension to switch on and off and control the wind speed at any time; the third is whether the sensor connected to the extension controller detects human activity. If the detection status changes from someone to no one, a 1-minute delay is started; the system finally refreshes and changes the fan's switch status and wind speed according to the three priority control bits and whether the delay time is over.

[0051] The specific process of extension software control is as follows:

[0052] a1) Initialization: Initialization is performed after the extension is powered on;

[0053] a2) Read ID number parameters: read the ID number and other parameters of the machine;

[0054] a3) Key scan: The extension scans the key operation. If yes, it goes to step a4; if no, it goes to step a5;

[0055] a4) Button processing: The button processing program handles whether to manually turn on or off the machine or set the ID number;

[0056] a5) Dynamic display: dynamic display by digital tube or LED;

[0057] a6) Read status: read sensor port status and motor current;

[0058] a7) Detect whether a host data packet is received: Detect whether a host data packet is received, if yes, go to step a12, if no, go to step a8;

[0059] a8) Check whether there is a manual power on / off request to turn on or off the small fan. If yes, set a delay of 1 minute and then go to step a14. If no, go to step a9.

[0060] a9) Detect whether the host is forced to turn on or off: Detect whether a host instruction is received to force the small fan to turn on or off. If yes, go to step a14; if not, go to step a10;

[0061] a10) Detect whether a person is sensed: Detect whether a person is sensed. If yes, set a delay of 0.5 to 3 minutes and then go to step a14. If no, go to step a11.

[0062] a11) Detect whether the power on / off delay is over: Detect whether a host instruction is received to forcibly power on / off the small fan. If yes, go to step a14; if no, go to step a3;

[0063] a12) Read the control command from the host: Read the control command from the host, refresh the forced power on / off flag and wind speed;

[0064] a13) Packing data: Packing data including sensor port status, fan switch status, fan current, etc., and sending data to the host through the second bus module;

[0065] a14) Control the on / off of the small fan: refresh the on / off and wind speed, and control the relay to switch the small fan on and off. Figure 6 , System host control board: In order to facilitate the system to centrally display the operating status and set parameter values, the host board is connected to the serial port touch screen. This serial port screen contains rich operating functions, and the MCU only needs two serial port lines to complete the display operation; the EEPROM chip is used to store the setting parameter values ​​and machine operation information. In order to realize the timing control function, the board is equipped with a real-time high-precision clock chip and a backup battery.

[0066] In order to realize the wiring based on PB two buses, as shown in the figure, a switching power supply is first used to convert 220V to 24V. This 24V passes through the on-board voltage conversion unit and is converted to 12V / 5V / 3.3V for MCU and other module units. At the same time, it also enters the PB host communication module unit, which contains the PB620 dedicated host chip and some peripheral circuit components. Then, the PB module outputs two buses that can be adjusted and controlled. The extension circuit board of each cell in the system is also connected to the two buses through the corresponding PB slave module; therefore, the working voltage of all circuit boards is provided by the same switching power supply, and the transmission signal is carried on the DC power line; since the load of the DC part of the extension circuit board of the cell is only a few low-power relays, the power consumption of the circuit board is very small. If it is transmitted at 24V, it only consumes less than 50MA current, so if a 24V, 10A switching power supply is used, it is enough to meet the use requirements of a large detention center with 100 cells.

[0067] Host program functions and control:

[0068] 1. Using two-bus group control, the host sends control information to each extension in a polling manner, including forced power on / off signal and wind speed signal. When the system host's scheduled task is not effective, the forced power on / off signal is 0, and the monitoring room extensions independently control the fan's power on / off based on whether the sensors in their respective monitoring rooms detect people. The extensions receive the control information from the host and return status information, including power on / off status, whether the sensor senses someone, and other auxiliary information such as motor current;

[0069] 2. Linkage between cell fans and side fans: Due to the different number of prison areas in different detention centers and the different number of cells in each area, the system has a special setting interface for easy setting. As shown in the figure, the type of each ID is divided into cell fans and side fans, and the range number is specified. The system will use a specific search query algorithm to determine which continuous range of cell fans should be linked to a side fan.

[0070] like Figure 1 As shown in Table 1, if there are 12 cells in prison area 1, there are 12 cell fans with ID type, plus 2 side fans, of which side fan No. 13 is linked to cell fans No. 1-6, and side fan No. 14 is linked to cell fans No. 7 to 12. The numbers are shown in Table 1. The logic of linkage control is that as long as one cell fan is turned on, the corresponding side fan will automatically turn on. In the polling task, the host receives the data returned by the extension. If the on / off status of the extension changes, and the extension is a cell extension, the system software will recalculate whether the side fan corresponding to the cell needs to change the on / off status.

[0071]

[0072] 3. Group timing control: There are two types of timing actions: one is the timing forced shutdown. Even if someone is detected to be active in the room, the fan is prohibited from running. It is suitable for example in the second half of the night to prevent someone from waking up the toilet occasionally. The other is the timing forced startup. Even if no activity is detected in the room, the fan is forced to run. It is suitable for example, when eating or when people get up in the morning. The system has a special timing setting menu interface. Up to 10 timing rules can be set. You can set whether to enable or not by clicking the enable / disable button on the far right. Click the action type, time and other values ​​to set. As shown in Table 2, two rules are used for forced shutdown in the middle of the night and forced startup in the morning during the peak of people's activities. The system scans the timing rules at a certain time interval and determines whether the timing task is effective in combination with the current time. If effective, the flags of forced power on / off and wind speed are set in the control information sent to the extension. Otherwise, the corresponding control bits are cleared to 0 and the extension is controlled by itself.

[0073] 4. Determination of empty cells: Since each guardhouse has a large number of rooms, some cells are often unmanned and their status changes dynamically. In order to avoid the fans in empty rooms starting up together with the scheduled startup tasks mentioned above, which would cause waste, the system must be able to automatically identify empty cells. The host receives information returned by the extension during polling, which includes information on whether the human body sensor in the extension's cell detects someone. If no one is detected for more than 12 hours, it is determined to be an empty cell. After that, the host can clear the forced power on and off information to 0 in the control information sent to the empty cell during the polling task.

[0074] See also Figure 7 , which is controlled by the host software. The specific process is as follows:

[0075] b1) Initialization: Initialization is performed after the host is powered on;

[0076] b2) Read parameters: read the timing task settings, ID attribute table and other parameters from EEPROM;

[0077] b3) Detecting the touch screen: Detecting whether the touch screen is operated, if yes, proceeding to step b10; if no, proceeding to step b4;

[0078] b4) Refresh: refresh the touch screen display;

[0079] b5) Read clock: read real-time clock;

[0080] b6) Determine the task status: Determine whether the real-time task status has changed, if yes, proceed to step b11, if no, proceed to step b7;

[0081] b7) System tasks: perform other system tasks;

[0082] b8) Detect whether extension data is received: Detect whether the extension data packet is received, if yes, proceed to step b12, if no, proceed to step b9;

[0083] b9) Determine whether the reception timeout occurs: Check whether the reception timeout occurs, if yes, proceed to b15, if no, return to step b3;

[0084] b10) Touch processing: process the touch and then return to step b4;

[0085] b11) Refresh the extension: refresh the extension forced power on / off and wind speed status table, and shield the empty room control bit, then return to step b7;

[0086] b12) Read extension status: read the extension power on / off status and sensor status, refresh the judgment of whether it is an empty room, if it is an empty room, shut down, if not, keep the current control status information, and then go to step b13;

[0087] b13) Determine ID: the ID is a cell and the switch status has changed, if yes, go to step b14, if no, go to step b15;

[0088] b14) Search: Search for the ID of the side fan corresponding to the ID, refresh the control status of the side fan ID, and if it changes, it can be used as the next ID of the polling task;

[0089] b15) Selection: Select the next extension ID, send the ID control status information to the second bus, and wait for the receipt of the complete data packet.

[0090] In this embodiment, the number of small fans 2 is 12, the number of large fans 3 is 2, 6 small fans 2 are connected to one large fan 3, and the other 6 small fans 2 are connected to another large fan 3, and the two large fans 3 are respectively located at the two ends of all adjacent prison rooms 1. Because when there are a large number of prison rooms 1, if only one large fan 3 is used to extract the wind from the small fans 2, the distance is too far and the emission effect is poor. The number of prison rooms in the same prison area is usually more than 10, and the distance between the two ends of the prison area is far. If a single large fan 3 is installed in the middle of the prison area, although the distance between the small fans on both sides is taken into account, in order to minimize the impact of exhaust gas on the environment of the prison room itself, it is better to use two large fans 3 installed on both sides of the prison area.

[0091] Embodiment 2:

[0092] In this embodiment, the number of monitoring rooms is changed to 15, the number of small fans 2 is 15, and the number of large fans 3 remains 2. The system will automatically divide the 15 small fans into two groups of 7 and 8, which are linked and controlled with the two large fans 3 respectively.

[0093] The above embodiments are intended to illustrate the present invention, not to limit the present invention. Any solution that is a simple transformation of the present invention falls within the protection scope of the present invention.

Claims

1. An intelligent ventilation system for a prison cell toilet, comprising a plurality of independent prison cells (1), all of which constitute a prison area, and characterized by: The invention also comprises a plurality of small fans (2), at least one large fan (3), a plurality of branch controllers (4), a main controller (5), an input component (6), and a communication line (8). Each monitoring room (1) is equipped with a branch controller (4), an input component (6), and a small fan (2). The input component (6) in each monitoring room (1) is connected to the input end of the branch controller (4). The output end of the branch controller (4) is connected to the small fan (2). The output end of the small fan (2) extends to the outside through a pipeline. A large fan (3) is installed at the end of the monitoring area. The large fan (3) is also connected to the output end of a branch controller (4). The main controller (5) is connected to all branch controllers (4) through a communication line (8). When a small fan (2) is started, the main controller (5) automatically controls the corresponding large fan (3) in linkage. The large fan (3) and the small fan (2) work together to discharge gas through the pipeline to a long distance high altitude.

2. The intelligent ventilation system for prison cell toilets as claimed in claim 1, characterized in that: The number of the large fans (3) is 2, and the two large fans (3) are respectively installed at two ends of the prison area.

3. The intelligent ventilation system for prison cell toilets as claimed in claim 1, characterized in that: The input component (6) adopts an infrared human body sensor.

4. The intelligent ventilation system for prison cell toilets as claimed in claim 1, characterized in that: The device also comprises a switch control component (7), wherein the extension controller (4) is connected to the large fan (3) via the switch control component (7), and the switch control component (7) controls the start and stop of the large fan (3); and the extension controller (4) is connected to the small fan (2) via the switch control component (7), and the switch control component (7) controls the start and stop of the small fan (2).

5. The intelligent ventilation system for prison cell toilets as claimed in claim 4, characterized in that: The switch control component (7) is a relay.

6. The intelligent ventilation system for prison cell toilets as claimed in claim 1, characterized in that: The communication line (8) is a two-bus connection line that combines a power supply line and a signal line into one.

7. The intelligent ventilation system for prison cell toilets as claimed in claim 1, characterized in that: The small fan (2) is a turbine silent fan.

8. The intelligent ventilation system for prison cell toilets according to any one of claims 1 to 7, characterized in that: A driver is also provided between the extension controller (4) and the switch control component (7), wherein the driver uses a ULN2003 chip and the extension controller (4) uses an STM32 series single-chip microcomputer.

Citation Information

Cited By

  • Intelligent ventilation system and method for toilet in prison room

    CN117968177A