With the rapid development of urban construction and economic construction, more and more high-rise buildings and public activity places are presented to people. As a result, fire hazards increase. There are tens of thousands of fire alarms every year, and very serious fires occur from time to time. This not only brings heavy losses to property and citizens' lives and property, but also affects the economic construction and social stability to a certain extent. Therefore, higher and newer requirements are put forward for the fire automatic alarm control system focusing on prevention.
At present, most of the automatic fire alarm controllers on the market, their central processing units are controlled by single-chip microcomputer, the single-chip microcomputer is widely used due to its price advantage, simple hardware and easy maintenance, which can be described as high quality and low price. However, with the increase of the system capacity, the processing speed and capacity of the single-chip microcomputer are obviously not enough. The software programming of the complex system is cumbersome and the operation is inconvenient, especially when the alarm plan is to be displayed, this kind of controller cannot be realized. computer. Therefore, the controller with the industrial computer as the central processing unit came into being. It uses the Chinese Windows2000 as the operating platform and adopts language programming, so that the controller has a good interface and better compatibility, overcomes the above shortcomings, and its capacity is more Large, more functional, can well adapt to market demand.
2. System structure
Its system structure block diagram is shown in Figure 1.


3. Hardware Design
1. Centralenhed
The basic configuration requirements of the central processing unit of the system: CPUPⅢ, memory 128M, hard disk 40G, video memory 8M, can use YONGS industrial computer, install Windows2000 operating system, use 12-inch TFT high-definition true color flat panel display, and leave two USB ports at the same time , one network port, one parallel port.
Ved at bruge en termisk mikro-printer er den maksimale gennemsnitlige strøm ikke mere end 115A.
I henhold til brugerkrav kan berøringsskærm og betjeningstastatur omkonfigureres.
2. Seriel port udvidelsesstik
The C104HöPCI multi-serial port card from Taiwan Moxa Company can be used to expand the system to 4 standard RS232 serial ports, of which No. 1, 2 and 3 are used to connect the loop communication card, and No. 4 is used to connect the peripheral communication card.
3. Løkke kommunikationskort
Funktionen af kredsløbskommunikationskortet er at styre 32 kredsløbskort nedad, fuldføre statusscanningen af hvert kredsløbskort (normal, brandalarm, fejl, forbindelse),
To-dataudvekslingen med den industrielle computer er realiseret. RS232 bruges til at kommunikere med den industrielle computer, og RS485 bruges til at kommunikere med printkortet.
4. Perifer kommunikationskort
Funktionen af det perifere kommunikationskort er at styre det lydkort, relækort, manuel kontrolpanel og gulvrepeater, der bruges af systemet. Bortset fra lydkortet, som er et must, er resten valgfrit, hvoraf der maksimalt medfølger 16 relækort. Der er 16 manuelle kontrolpaneler, 64 gulvrepeatere, og RS485-kommunikationstilstanden bruges mellem de to; to-datatransmissionen mellem den opadgående og industrielle computer er fuldført, og de to bruger RS232-kommunikationstilstanden.
5. Printplade
Printkortets funktion er at fuldføre dataindsamlingen af alle detektorer og moduler, der er forbundet til dette kredsløb, og at foretage indledende databehandling. Hvert printkort kan tilsluttes 128 almindelige adresseringsenheder eller 198 intelligente adresseringsenheder.
6. Lydplade
Lydkortets funktion er først at realisere lyd- og lysalarmen i tilfælde af brandalarm, fejl og tidlig advarsel og samtidig overvåge strømkortets hoved- og backupstrømdriftsstatus ud over den generelle brandalarmrelæ og programmerbart relæsæt i ledelsessystemet.
4. Softwaredesign
1. Industriel computersoftware
Softwaren til den industrielle computer er kompileret ved hjælp af det visuelle programmeringssprog VisualBasic fra Microsoft Corporation. Det fuldender hovedsageligt behandlingen og bedømmelsen af forskellige prøveudtagningsdata fra den nederste computer, overvåger systemets driftsstatus og reagerer på forskellige betjeningsinstruktioner fra brugeren. Uddannelsen kan strukturelt opdeles i følgende moduler:
(1) Redigeringsprogrammodul: komplet systemkonfiguration, kredsløbskonfiguration, kontrolmatrixetablering, plantegning og andre funktioner.
(2) Kommunikationsprogrammodul: fuldfør kommunikationsfunktionerne med sløjfekommunikationskort, perifere kommunikationskort, printere osv.
(3) Alarmdisplayprogrammodul: fuldfør visning, registrering, plantegningsopkald og andre funktioner for systemalarmhændelser.
(4) Hjælpemodul: Giv online hjælp til alle operationer, så brugerne kan mestre systemfunktioner, indstillinger og andre krav.
2. Kommunikationskort, printkort, lydkortsoftware
Disse tre kort er programmeret i MCS251 assemblersprog, og RS485-baudraten for inter-kortkommunikation er sat til 4800bps. Samlesprog kan bedre løse problemet med real-tid og nøjagtighed for at opfylde kravene i den nationale standard GB16806-1997 om alarmtid. For at forbedre pålideligheden af alarmen, vedtager softwaren foranstaltninger såsom CRC-tjek, intelligent algoritme og flere vurderinger.
5. Systemfunktioner
(1) Systemet har en stor alarmkapacitet, som kan nå mere end 19,000 point.
(2) På grund af brugen af Windows2000 operationsplan er grænsefladen smuk og nem at betjene.
(3) Fordelene ved bevarelse af historiske optegnelser og styring af plantegninger er særligt indlysende.

