BR102012021016A2 - microcontrolled switch system - Google Patents

microcontrolled switch system Download PDF

Info

Publication number
BR102012021016A2
BR102012021016A2 BR102012021016A BR102012021016A BR102012021016A2 BR 102012021016 A2 BR102012021016 A2 BR 102012021016A2 BR 102012021016 A BR102012021016 A BR 102012021016A BR 102012021016 A BR102012021016 A BR 102012021016A BR 102012021016 A2 BR102012021016 A2 BR 102012021016A2
Authority
BR
Brazil
Prior art keywords
output
break
case
microcontrolled
switch
Prior art date
Application number
BR102012021016A
Other languages
Portuguese (pt)
Inventor
Flávio Cozi
Original Assignee
Flávio Cozi
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Flávio Cozi filed Critical Flávio Cozi
Priority to BR102012021016A priority Critical patent/BR102012021016A2/en
Publication of BR102012021016A2 publication Critical patent/BR102012021016A2/en

Links

Abstract

sistema interruptor microcontrolado. destinado ao controle e monitoramento de 100 pontos de iluminação com apenas 3 fios. o "sistema interruptor rriicrocontrolado" e composto por dois ou mais circuitos, um circuito denominado circuito eletrônico microcontrolado interruptor e o outro (ou outros dependendo da quantidade de pontos de iluminação controlados) de circuito eletrônico terminal microcontrolado. o funcionamento lógico do sistema é caracterizado pela comunicação entre o programa gravado no microcontrolador do circuito eletrônico interruptor e o programa do microcontrolador do circuito eletrônico terminal através de um fio destinado a comunicação de dados, sendo os pontos de iluminação controlados pelo usuário através do circuito eletrônico interruptor e este identificando no display cada ponto de iluminação com um número único e diferente de identificação.microcontrolled switch system. intended for the control and monitoring of 100 lighting points with only 3 wires. The "micro-controlled switch system" is composed of two or more circuits, one circuit called a microcontrolled electronic circuit breaker and the other (or others depending on the number of lighting points controlled) of a microcontrolled terminal electronic circuit. The logical operation of the system is characterized by communication between the program recorded on the electronic circuit breaker microcontroller and the terminal electronic circuit microcontroller program through a wire for data communication, with the lighting points controlled by the user through the electronic circuit. switch and the latter identifying on the display each illumination point with a unique and different identification number.

Description

“SISTEMA INTERRUPTOR MICROCONTROLADO” A presente solicitação de patente refere-se a dois circuitos eletrônicos microcontrolados para controle de 100 pontos de iluminação cada apenas utilizando 3 fios e 3 botões. Um destes circuitos está denominado como circuito eletrônico interruptor microcontrolado que será mencionado apenas como circuito eletrônico interruptor composto por duas placas dupla faces interconectadas por conectores DB9. Estas farão a função do interruptor utilizando um microcontrolador e dois circuitos integrados conversores de binário para decimal (BCD), o outro ou outros dependendo de quantos terá na instalação é denominado como circuito eletrônico terminal microcontrolado que será mencionado apenas como circuito eletrônico terminal composto por um placa dupla face que fará a função de interfaceamento do ponto de iluminação. Cada ponto de iluminação terá um circuito terminal.“MICROCONTROLLED SWITCH SYSTEM” This patent application refers to two microcontrolled electronic circuits for controlling 100 lighting points each using only 3 wires and 3 buttons. One of these circuits is referred to as a microcontrolled electronic switch circuit that will be referred to only as an electronic switch circuit consisting of two double-sided boards interconnected by DB9 connectors. These will perform the function of the switch using a microcontroller and two binary to decimal converter (BCD) integrated circuits, the other or others depending on how many you will have in the installation is termed as a microcontrolled terminal electronic circuit which will be referred to only as a terminal electronic circuit composed of one. Double-sided plate that will do the lighting point interfacing function. Each illumination point will have a terminal circuit.

Atualmente os interruptores são do tipo simples, paralelos e intermediários, porém nem um destes tipos tem a capacidade de controle de 100 pontos independentes com apenas 3 fios. O sistema eletrônico composto por circuitos eletrônicos microcontrolados utiliza 3 fios, sendo um fio destinado ao uso como positivo da fonte de alimentação de tensão continua, um negativo desta e o outro para comunicação de dados através do protocolo rs232 entre os microcontroladores envolvidos no sistema, 2 botões de seleção para alterar o ponto selecionado no display do circuito eletrônico interruptor e outro botão para envio de comando do circuito eletrônco interruptor para o resto do sistema. O circuito eletrônico interruptor identifica e endereça cada ponto de iluminação como um número único e diferente dos outros, interagindo com cada ponto de iluminação através destes números de identificação, uitilizando apenas um fio de comunicação de dados ao invés da utilização de fios de retorno separados para cada ponto como se utiliza no sistema de interruptores atuais. O microcontrolador PIC16F628A que compõe tanto o circuito eletrônico interruptor como o circuito eletrônico terminal será programado e gravado com o ambiente de programação MPLAB (IDE) configurado para compilar através do compilador para linguagem C CCS C compiler para microcontroladores PIC em conjunto com um dispositivo gravador especifico para o microcontrolador deste projeto encontrado no comércio para gravar-lo através do ambiente de programação MPLAB. O código fonte em linguagem C do microcontrolador do circuito eletrônico interruptor está demonstrado abaixo: #include <16F628.h> #use delay(clock=4000000) #fuses INTRCIO, NOWDT,PUT,NOBROWNOUT,NOMCLR, NOLVP, NOPROTECT #use rs232(baud=19200,parity=N,xmit=PIN_A2,rcv=PIN_A1 ,stream = verifica) int estado.voltaendereco.avancaendereco, atualiza; int endereço,dezena,unidade,grupo,pisca,escolhegrupo; main() { atualiza=0; pisca=0; endereco=0; unidade=0; dezena=0; while(TRUE) { voltaendereco=input(PIN_A5); avancaendereco=input(PIN_AO); atualiza=input(PIN_A7); if (avancaendereco) { delay_ms(250); unídade=unidade+1; } if (voltaendereco) { delay_ms(250); dezena=dezena+10; } if (avancaendereco && unidade>9) unidade=0; if (voltaendereco && dezena>90) dezena=0; endereco= dezena + unidade; if (atualiza) { fputc(endereco, verifica); delay_ms(10); fputc(100,verifica); output_high(PIN_A3); delay__ms(1000); output_low(P I N_A3); } switch (endereço) { case 0 : { output_b(0); } break; case 1: { output_b(1); } break; case 2: { output_b(2); } break; case 3: { output_b(3); } break; case 4: { output__b(4); } break; case 5: { output_b(5); } break; case 6: { output__b(6); } break; case 7: { output__b(7); } break; case 8: { output_b(8); } break; case 9: { output__b(9); } break; case 10: { output_b(16); } break; case 11: { output_b(17); } break; case 12: { output_b(18); } break; case 13: { output_b(19); } break; case 14: { output_b(20); } break; case 15: { output b(21); } break; case 16: { output_b(22); } break; case 17: { output_b(23); } break; case 18: { output_b(24); } break; case 19: { output_b(25); } break; case 20: { output_b(32); } break; case 21: { output_b(33); } break; case 22' { output_b(34); } break; case 23: { output_b(35); } break; case 24: { output_b(36); } break; case 25: { output__b(37); } break; case 26: { output_b(38); } break; case 27: { output_b(39); } break; case 28: { output_b(40); } break; case 29: { output_b(41); } break; case 30: { output_b(48); } break; case 31: { output_b(49); } break; case 32: { output_b(50); } break; case 33: { output__b(51); } break; case 34: { output_b(52); } break; case 35: { output_b(53); } break; case 36: { output_b(54); } break; case 37: { output_b(55); } break; case 38: { output_b(56); } break; case 39: { output_b(57); } break; case 40: { output_b(64); } break; case 41: { output_b(65); } break; case 42: { output_b(66); } break; case 43: { output_b(67); } break; case 44: { output__b(68); } break; case 45: { output_b(69); } break; case 46: { output_b(70); } break; case 47: { output_b(71); } break; case 48: { output_b(72); } break; case 49: { output_b(73); } break; case 50: { output_b(80); } break; case 51: { output_b(81); } break; case 52: { output_b(82); } break; case 53: { output_b(83); } break; case 54: { output_b(84); } break; case 55: { output__b(85); } break; case 56: { output_b(86); } break; case 57: { output_b(87); } break; case 58: { output_b(88); } break; case 59: { output_b(89); } break; case 60: { output_b(96); } break; case 61: { output_b(97); } break; case 62: { output_b(98); } break; case 63: { output_b(99); } break; case 64: { output_b(100); } break; case 65: { output_b(101); } break; case 66: { output_b(102); } break; case 67: { output_b(103); } break; case 68: { output_b(104); } break; case 69: { output_b(105); } break; case 70: { output__b(112); } break; case 71: { output_b(113); } break; case 72: { output_b(114); } break; case 73: { output_b(115); } break; case 74: { output_b(116); } break; case 75: { output_b(117); } break; case 76: { output_b(118); } break; case 77: { output_b(119); } break; case 78: { output_b(120); } break; case 79: { output__b(121); } break; case 80: { output_b(128); } break; case 81: { output__b(129); } break; case 82: { output_b(130); } break; case 83: { output_b(131); } break; case 84: { output_b(132); } break; case 85: { output_b(133); } break; { output_b(134); } break; case 87: { output_b(135); } break; case 88: { output_b(136); } break; case 89: { output_b(137); } break; case 90: { output_b(144); } break; case 91: { output_b(145); } break; case 92: { output_b(146); } break; case 93: { output_b(147); } break; case 94: { output_b(148); } break; case 95: { output_b(149); } break;Currently the switches are single, parallel and intermediate, but neither switch has the ability to control 100 independent 3-wire single points. The electronic system consisting of microcontrolled electronic circuits uses 3 wires, one wire intended for positive use of the direct voltage power supply, one negative for this and the other for data communication through the rs232 protocol between the microcontrollers involved in the system, 2 Select buttons to change the point selected on the electronic circuit breaker display and another button to send command of the electronic circuit breaker to the rest of the system. The electronic switch circuit identifies and addresses each illumination point as a unique and different number from the others, interacting with each illumination point through these identification numbers, using only one data communication wire rather than using separate return wires for each. each point as used in the current switch system. The PIC16F628A microcontroller that makes up both the switch electronics and the terminal electronics will be programmed and recorded with the MPLAB (IDE) programming environment configured to compile through the CCS C compiler for PIC microcontroller in conjunction with a specific recording device. for the microcontroller of this project found in commerce to record it through the MPLAB programming environment. The C language source code for the electronic circuit breaker microcontroller is shown below: #include <16F628.h> #use delay (clock = 4000000) #fuses INTRCIO, NOWDT, PUT, NOBROWNOUT, NOMCLR, NOLVP, NOPROTECT #use rs232 ( baud = 19200, parity = N, xmit = PIN_A2, rcv = PIN_A1, stream = check) int status.voltage.trend.trend, update; int address, ten, unit, group, flashes, choose group; main () {update = 0; flashes = 0; address = 0; unit = 0; tens = 0; while (TRUE) {backtrack = input (PIN_A5); advancetoecec = input (PIN_AO); update = input (PIN_A7); if (advance) {delay_ms (250); unit = unit + 1; } if (backtrack) {delay_ms (250); ten = ten + 10; } if (forward & & unit> 9) unit = 0; if (voltaendereco && tens> 90) tens = 0; address = ten + unit; if (update) {fputc (address, verify); delay_ms (10); fputc (100, check); output_high (PIN_A3); delay__ms (1000); output_low (P I N_A3); } switch (address) {case 0: {output_b (0); } break; case 1: {output_b (1); } break; case 2: {output_b (2); } break; case 3: {output_b (3); } break; case 4: {output__b (4); } break; case 5: {output_b (5); } break; case 6: {output__b (6); } break; case 7: {output__b (7); } break; case 8: {output_b (8); } break; case 9: {output__b (9); } break; case 10: {output_b (16); } break; case 11: {output_b (17); } break; case 12: {output_b (18); } break; case 13: {output_b (19); } break; case 14: {output_b (20); } break; case 15: {output b (21); } break; case 16: {output_b (22); } break; case 17: {output_b (23); } break; case 18: {output_b (24); } break; case 19: {output_b (25); } break; case 20: {output_b (32); } break; case 21: {output_b (33); } break; case 22 '{output_b (34); } break; case 23: {output_b (35); } break; case 24: {output_b (36); } break; case 25: {output__b (37); } break; case 26: {output_b (38); } break; case 27: {output_b (39); } break; case 28: {output_b (40); } break; case 29: {output_b (41); } break; case 30: {output_b (48); } break; case 31: {output_b (49); } break; case 32: {output_b (50); } break; case 33: {output__b (51); } break; case 34: {output_b (52); } break; case 35: {output_b (53); } break; case 36: {output_b (54); } break; case 37: {output_b (55); } break; case 38: {output_b (56); } break; case 39: {output_b (57); } break; case 40: {output_b (64); } break; case 41: {output_b (65); } break; case 42: {output_b (66); } break; case 43: {output_b (67); } break; case 44: {output__b (68); } break; case 45: {output_b (69); } break; case 46: {output_b (70); } break; case 47: {output_b (71); } break; case 48: {output_b (72); } break; case 49: {output_b (73); } break; case 50: {output_b (80); } break; case 51: {output_b (81); } break; case 52: {output_b (82); } break; case 53: {output_b (83); } break; case 54: {output_b (84); } break; case 55: {output__b (85); } break; case 56: {output_b (86); } break; case 57: {output_b (87); } break; case 58: {output_b (88); } break; case 59: {output_b (89); } break; case 60: {output_b (96); } break; case 61: {output_b (97); } break; case 62: {output_b (98); } break; case 63: {output_b (99); } break; case 64: {output_b (100); } break; case 65: {output_b (101); } break; case 66: {output_b (102); } break; case 67: {output_b (103); } break; case 68: {output_b (104); } break; case 69: {output_b (105); } break; case 70: {output__b (112); } break; case 71: {output_b (113); } break; case 72: {output_b (114); } break; case 73: {output_b (115); } break; case 74: {output_b (116); } break; case 75: {output_b (117); } break; case 76: {output_b (118); } break; case 77: {output_b (119); } break; case 78: {output_b (120); } break; case 79: {output__b (121); } break; case 80: {output_b (128); } break; case 81: {output__b (129); } break; case 82: {output_b (130); } break; case 83: {output_b (131); } break; case 84: {output_b (132); } break; case 85: {output_b (133); } break; {output_b (134); } break; case 87: {output_b (135); } break; case 88: {output_b (136); } break; case 89: {output_b (137); } break; case 90: {output_b (144); } break; case 91: {output_b (145); } break; case 92: {output_b (146); } break; case 93: {output_b (147); } break; case 94: {output_b (148); } break; case 95: {output_b (149); } break;

Ajacp Qfí* Uaou ι/u. { output_b(150); } break; case 97: { output_b(151); } break; case 98: { output_b(152); } break; case 99: { output_b(153); } break; } } } O código fonte do microcontrolador do circuito eletrônico terminal conterá na variável endereço o valor de identificação que diferenciará o ponto correspondente no sistema e será programado em linguagem C. O código fonte do microcontrolador do circuito terminal a seguir é um exemplo para o ponto 20 indicado no código abaixo, o endereço ou ponto de iluminação “vinte” em negrito configura a identificação de um circuito eletrônico terminal responsável para interface de controle com o ponto de iluminação 20, bastando mudar este número para programar o outro ponto de iluminação com outro circuito eletrônico terminal. Observe no código abaixo : #include <16F628.h> #use delay(clock=4000000) #fuses INTRC_IO,NOWDT,PUT,NOBROWNOUT, NOMCLR, NOLVP, NOPROTECT #use rs232(ba ud=19200, parity = N, xmit=P I N_A2, rcv=P I N_A1, stream = verifica) main () { int endereço, rele,grupo,funcao.status,contador; contador=0; endereco=0; rele=0; grupo=0; output_Jow(PIN_BO); while(true) { endereco=fgetc(verifica); fu n cao=fgetc( verifica); if (endereco==20&&funcao==100) { if (!rele) { output__high(PIN_BO); rele=1; } else { output_low(PIN_BO); rele=0; } } } } Em relação as figuras, A Figura 01 representa um exemplo de diagrama de ligação do sistema para controle de apenas 3 pontos de iluminação. Nesta figura, os circuitos eletrônicos terminais representados estão representados pelos números (48), (49) e (59); os pontos de iluminação ou lâmpadas são representadas pelos números (54), (55) e (56). O circuito eletrônico interruptor está representado através do número (57) e está instalado em uma caixinha 4x2 embutida na parede representada pelo retângulo pontilhado (64) e o retângulo externo não pontilhado representa o espelho do circuito eletrônico interruptor, podendo este também ser instalado em uma caixinha externa ao invés de embutida. Os botões (61) e (63) são os botões para alterar o endereço ou ponto de iluminação indicado no display (53) do interruptor microcontrolado(57) e o botão (62) serve para enviar o comando para os circuitos eletrônicos terminais através do fio de dados (52) com indicação de envio pelo ascendimento do led (60). Os botões indicados anteriormente são botões de pulso do tipo NA. A fonte de tensão de 5 Volts (58) supre o “sistema interruptor microcontrolado” com alimentação em tensão contínua. O positivo e o negativo desta fonte para o “sistema interruptor microcontrolado” são ligados através dos fios (50) e (51) respectivamente . A Figura 02 A representa a primeira face da primeira placa dupla face do circuito eletrônico interruptor com aproximadamente 5,2 centímetros de largura e 9,2 centímetros de comprimento. Nesta figura o número (11) é um conector DB-9 macho para pci com indicação do lado para a conexão externa ou lado componente para estes conectores neste lado da placa; o número (17) representa o conector DB-9 fêmea para pci, também com a indicação do lado de conexão externa deste; os números (12) e (13) indicam os circuitos integrados BCD cd4511 ou equivalente; o microcontrolador pic16F628A é representado pelo número (14); os 02 displays de sete seguimentos, um ao lado do outro são representados pelo número (15); os números (65) e (66) representam a furação para fixação do circuito eletrônico interruptor na caixinha 4x2 através de parafusos e o número (16) é um resistor de 1,5 Mega ohm de 1/i W. A Figura 02 B é a face oposta da mesma placa representada pela Figura 02 A, porém com algumas informações a mais a respeito da disposição e lado de instalação ou lado componente dos circuitos integrados cd4511 e do pic 16F628A. A Figura 03 A é uma das faces da segunda placa do circuito eletrônico interruptor com aproximadamente 4,3 centímetros de largura e 7,5 centímetros de comprimento. Nesta figura o número (18) representa um conector DB-9 fêmea para pci; o número (24) representa um conector DB-9 macho para pci; os números (19), (20) e (21) são resistores de 1,5 Mega ohm de V* W; o (22) representa um diodo zener de 3,3 V e 1 W sendo o catodo deste diodo indicado por um traço; o (23) representa um fusível de vidro de 0,5 Amperes; o número (25) é o ponto onde será conectado eletricamente ao positivo da fonte de alimentação continua do sistema para o circuito eletrônico interruptor; os números (26) e (36) não são utilizados; o (27) e (28) são os pontos onde serão conectados eletricamente ao botão de envio de comando(62); os números (29) e (30) são para a conexão elétrica das extremidades do botão de mudança de endereço(61) nos displays (53); os pontos (31) e (32) são para conexão elétrica das extremidades do outro botão de mudança de endereço(63); o número (33) representa o ponto para conexão do negativo da fonte de alimentação de tensão continua do sistema para o circuito eletrônico interruptor;o número (34) representa o ponto de conexão elétrica de transmissão de dados para o resto do sistema e o (35) é para conexão elétrica do anodo ou positivo do Led (60). A Figura 03 B é a face oposta da meema r»lar*a rii irila faro ronroconfaHa nela F-ini ira Δ rnm I I ! Ç55ÜS1 * 1 I d Va^Cl i d I C-Ι Virv·» I I I I %d V.J CX ψββ I d I ly vJ I d KJ x*/ f V I I a indicação do lado para conexão externa ou lado componente dos conectores DB-9 (18) e (24) neste lado da placa. A Figura 04 A representa uma das faces da placa dupla face do circuito eletrônico terminal com aproximadamente 4 centímetros de largura e 6 centímetros de comprimento, e nesta figura o número (37) não é utilizado; o (38) é o ponto para conexão elétrica do positivo da fonte de alimentação de tensão continua (58) para o circuito eletrônico terminal; o ponto (39) é o ponto para a conexão elétrica com o ponto (34) para recebimento de dados de comando vindo do circuito eletrônico interruptor; o número (40) é o negativo da fonte de alimentação de tensão continua (58) para o circuito eletrônico terminal; o número (41) representa o microcontrolador pic16f628A do circuito eletrônico terminal e com indicação da disposição e lado componente deste; o (42) representa o fusível de vidro de 0,5 amperes desta placa; o número (43) é o resistor de polarização de base no valor de 860 ohms e potência de dissipação de Va Watts do transistor (45) 2N2222 ou equivalente indicado com a disposição e lado componente onde será instalado nesta placa; o número (44) é o resistor de coletor de polarização do transistor (45) no valor de 15 ohms e % Watts; o número (46) representa o relé de 5 terminais e 6 V de o acionamento com indicação do lado da placa ou lado componente onde este será instalado; o (70) representa o ponto de conexão elétrica para o comum do relé (46); o número (72) representa o ponto de conexão elétrica do contato NF do relé (46) e o ponto (71) é o ponto para conexão elétrica do contato NA deste relé. A Figura 04 B representa a face oposta da Figura 04 A da mesma placa. A Figura 05 representa as duas placas dupla faces do circuito eletrônico interrupor de perfil prestes a serem interconecadas. Na Figura 06 mostra as placas do circuito eletrônico interrupor já interconectadas através dos conectores DB-9 de numeração (11),(17) e (18),(24). A Figura 07 representa um diagrama de ligação paralela do relé (46) do circuito eletrônico terminal com um interruptor paralelo encontrado no mercado (74), nesta figura o ponto (73) é para a conexão elétrica com uma das fases de tensão de alimentação da lâmpada (75) e o ponto (74) é para a conexão elétrica da outra fase ou do neutro para esta lâmpada. Os números (76), (77) e (78) estão representando os pontos para conexão elétrica do interruptor paralelo (74) na figura 07.Ajacp Qfí * Uaou ι / u. {output_b (150); } break; case 97: {output_b (151); } break; case 98: {output_b (152); } break; case 99: {output_b (153); } break; }}} The source code of the terminal electronic microcontroller will contain in the address variable the identification value that will differentiate the corresponding point in the system and will be programmed in C language. The following source circuit microcontroller source code is an example for the point 20 indicated in the code below, the address or illumination point “twenty” in bold configures the identification of a terminal electronic circuit responsible for control interface with the illumination point 20, simply changing this number to program the other illumination point with another one. terminal electronic circuit. Note in the code below: #include <16F628.h> #use delay (clock = 4000000) #fuses INTRC_IO, NOWDT, PUT, NOBROWNOUT, NOMCLR, NOLVP, NOPROTECT #use rs232 (ba ud = 19200, parity = N, xmit = PI N_A2, rcv = PI N_A1, stream = check) main () {int address, relay, group, function.status, counter; counter = 0; address = 0; rele = 0; group = 0; output_Jow (PIN_BO); while (true) {address = fgetc (verify); fu no cao = fgetc (check); if (address == 20 && function == 100) {if (! rele) {output__high (PIN_BO); rele = 1; } else {output_low (PIN_BO); rele = 0; }}}} Referring to the figures, Figure 01 represents an example system wiring diagram for controlling only 3 lighting points. In this figure, the terminal electronic circuits shown are represented by the numbers (48), (49) and (59); The illumination points or lamps are represented by the numbers (54), (55) and (56). The electronic circuit breaker is represented by the number (57) and is installed in a 4x2 box embedded in the wall represented by the dotted rectangle (64) and the non-dotted outer rectangle represents the mirror of the electronic circuit breaker, which can also be installed in a outer box rather than embedded. Buttons (61) and (63) are the buttons for changing the address or illumination point indicated on the display (53) of the microcontrolled switch (57) and the button (62) is for sending the command to the terminal electronic circuits via the data wire (52) with indication of sending by led (60). The buttons shown above are NA-type wrist buttons. The 5 Volt voltage source (58) supplies the “microcontrolled switch system” with direct voltage supply. The positive and negative of this source for the “microcontrolled switch system” are connected via wires 50 and 51 respectively. Figure 02A represents the first face of the first double-sided circuit board circuit board approximately 5.2 inches wide and 9.2 inches long. In this figure the number (11) is a male DB-9 connector for pci indicating side for external connection or component side for these connectors on this side of the board; (17) represents the female DB-9 connector for pci, also indicating the external connection side thereof; numbers 12 and 13 indicate cd4511 or equivalent BCD integrated circuits; pic16F628A microcontroller is represented by the number (14); The 02 seven-segment displays next to each other are represented by the number (15); numbers (65) and (66) represent the mounting hole for the electronic circuit breaker in the 4x2 canister via screws, and number (16) is a 1.5 Mega ohm resistor of 1 / i W. Figure 02 B is the opposite face of the same board represented by Figure 02A, but with some additional information regarding the arrangement and installation side or component side of the integrated circuits cd4511 and pic 16F628A. Figure 03A is one side of the second circuit breaker board approximately 4.3 centimeters wide and 7.5 centimeters long. In this figure number 18 represents a female DB-9 connector for pci; number (24) represents a male to pci DB-9 connector; numbers (19), (20) and (21) are 1.5 Mega ohm resistors of V * W; (22) represents a 3.3 V and 1 W zener diode with the cathode of this diode indicated by a dash; (23) represents a 0.5 Amp glass fuse; number (25) is the point where it will be electrically connected to the positive of the system continuous power supply for the electronic circuit breaker; numbers 26 and 36 are not used; (27) and (28) are the points where they will be electrically connected to the command send button (62); numbers (29) and (30) are for the electrical connection of the ends of the address change button (61) on the displays (53); points (31) and (32) are for electrical connection of the ends of the other address change button (63); number (33) represents the point for connecting the negative of the system direct voltage power supply to the electronic circuit breaker, number (34) represents the electrical connection point for data transmission to the rest of the system and the ( 35) is for anode or positive led electrical connection (60). Figure 03B is the opposite face of the myrma rii irila faro ronroconfaHa in her F-ini rnm I I! Ç55ÜS1 * 1 I d Va ^ Cl id I C-Ι Virv · »IIII% d VJ CX dββ I d I ly vJ I d KJ x * / f VII indication side for external connection or component side of DB-9 connectors (18) and (24) on this side of the board. Figure 04A depicts one side of the double-sided terminal board circuit board approximately 4 centimeters wide and 6 centimeters long, and in this figure the number (37) is not used; (38) is the point for electrical connection of the positive from the direct voltage power supply (58) to the terminal electronic circuit; point (39) is the point for the electrical connection with point (34) for receiving command data from the electronic circuit breaker; number (40) is the negative of direct voltage power supply (58) for the terminal electronic circuit; number 41 represents the pic16f628A microcontroller of the terminal electronic circuit and indicating the arrangement and component side thereof; (42) represents the 0.5 amp glass fuse of this plate; number (43) is the base bias resistor of 860 ohms and Va Watts dissipating power of transistor (45) 2N2222 or equivalent indicated with the arrangement and component side where it will be installed on this board; number (44) is transistor bias collector resistor (45) at 15 ohms and% Watts; number (46) represents the 5-terminal, 6 V relay of the drive indicating the side of the board or component side where it will be installed; (70) represents the electrical connection point for the relay common (46); number (72) represents the electrical connection point of relay NC contact (46) and point (71) is the point for electrical connection of relay NO contact. Figure 04 B represents the opposite face of Figure 04 A of the same plate. Figure 05 represents the two double-sided boards of the profile switch electronic circuit about to be interconnected. Figure 06 shows the circuit breaker circuit boards already interconnected via the numbered DB-9 connectors (11), (17) and (18), (24). Figure 07 is a parallel connection diagram of the terminal electronic circuit relay (46) with a commercially available parallel switch (74), in this figure point (73) is for the electrical connection to one of the supply voltage phases of the lamp (75) and point (74) is for the electrical connection of the other phase or neutral to this lamp. The numbers 76, 77 and 78 are representing the points for electrical connection of the parallel switch 74 in figure 07.

REIVINDICAÇÃOCLAIM

Claims (1)

“SISTEMA INTERRUPTOR MICROCONTROLADO” da presente patente refere-se a um circuito microprocontrolado com a função de interruptor e outros circuitos microcontrolados com a função de terminal com comunicação entre os mesmos para controle independente de até 100 pontos de iluminação, com apenas 3 fios ao invés de fios de retorno para cada ponto de iluminação como é feito para ligação com interruptores atuais. O funcionamento lógico destes circuitos é caracterizado pela comunicação de microcontroladores obedecendo as instruções de dois programas respectivos já descrito no relatório descritivo. A Figura 01 representa um exemplo deste sistema para controle de três pontos de iluminação. Nesta figura, o circuito interruptor (57) permite a seleção dos pontos de iluminação através dos botões de seleção (61) e (63) demonstrando no display (53) o número ou ponto de iluminação selecionado. Quando se efetua a acionamento do botão (62) o circuito eletrônico interruptor envia o comando de mudança de estado da lâmpada ligada eletricamente no ponto de iluminação selecionado no display ou seja, se a lâmpada estiver acesa, irá apagar e se estiver apagada irá acender. O Led (60) acenderá quando o botão (62) for pressionado e apagando logo depois que o comando for enviado para o circuito eletrônico terminal respectivo através do fio de dados (52). Na Figura 07, podemos ver um exemplo de aplicação do “Sistema Interruptor Microcontrolado” em paralelo com um interruptor paralelo conhecido e encontrado no mercado. Nesta figura, a lâmpada (75) está acesa, pois o circuito elétrico está fechado, se o número que identifica este ponto de iluminação estiver selecionado no display (53) na Figura 01 e for efetuado o acionamento do botão (62) o relé (46) na Figura 07 abrirá o circuito entre os pontos (70) e (72) mantendo este aberto até que seja efetuado outro acionamento no botão (62) e com isso a lâmpada (75) apaga e permanece apagada. Mesmo não efetuando outro acionamento do botão (62), a lâmpada (75) acenderá também se for acionada pelo interruptor paralelo (74), fechando novamente o circuito, pois nesta situação o circuito se fechará através dos pontos (70), (71) do Relé (46) e (76), (77) do interruptor paralelo."MICROCONTROLLED SWITCH SYSTEM" of the present invention refers to a microprocessor circuit with switch function and other microcontrolled circuits with terminal function communicating between them for independent control of up to 100 lighting points with only 3 wires instead. return wires to each illumination point as is done for connection with current switches. The logical operation of these circuits is characterized by the communication of microcontrollers following the instructions of two respective programs already described in the descriptive report. Figure 01 represents an example of this system for controlling three illumination points. In this figure, the circuit breaker (57) allows the selection of the illumination points by means of the selection buttons (61) and (63) showing the selected number or illumination point on the display (53). When the button (62) is pressed, the electronic circuit breaker sends the status change command of the electrically on lamp to the selected illumination point in the display, ie if the lamp is on, it will go out and if it is off it will light up. The LED (60) will light up when the button (62) is pressed and extinguished shortly after the command is sent to the respective terminal circuit through the data wire (52). In Figure 07, we can see an example of applying the “Microcontrolled Switch System” in parallel with a known parallel switch found in the market. In this figure, the lamp (75) is lit, because the electrical circuit is closed, if the number identifying this illumination point is selected in the display (53) in Figure 01 and the button (62) is pressed, the relay ( 46) in Figure 07 will open the circuit between points (70) and (72) keeping it open until another actuation of the button (62) is performed and thus the lamp (75) goes out and remains off. Even if no further actuation of the button (62), the lamp (75) will also light if it is operated by the parallel switch (74), closing the circuit again, in which case the circuit will close through points (70), (71) Relay (46) and (76), (77) of the parallel switch.
BR102012021016A 2012-08-22 2012-08-22 microcontrolled switch system BR102012021016A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
BR102012021016A BR102012021016A2 (en) 2012-08-22 2012-08-22 microcontrolled switch system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
BR102012021016A BR102012021016A2 (en) 2012-08-22 2012-08-22 microcontrolled switch system

Publications (1)

Publication Number Publication Date
BR102012021016A2 true BR102012021016A2 (en) 2016-04-19

Family

ID=55850964

Family Applications (1)

Application Number Title Priority Date Filing Date
BR102012021016A BR102012021016A2 (en) 2012-08-22 2012-08-22 microcontrolled switch system

Country Status (1)

Country Link
BR (1) BR102012021016A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940039A (en) * 2017-05-22 2017-07-11 河北工大科雅能源科技股份有限公司 A kind of wide switching mode room thermostat of the load without temperature rise

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940039A (en) * 2017-05-22 2017-07-11 河北工大科雅能源科技股份有限公司 A kind of wide switching mode room thermostat of the load without temperature rise

Similar Documents

Publication Publication Date Title
US10432195B2 (en) Power outlet socket sensor switch
US8847475B2 (en) Lamp for replacing a fluorescent tube
ES2806939T3 (en) Tube Lamp Upgraded Plug Safety Implementation Using Existing Ballast and Fixture
JP2016537781A (en) Retrofit light-emitting diode tube protection
ES2664806T3 (en) An electrical switching device
AU2023214278A1 (en) Power Outlet Socket Sensor Switch
US2134696A (en) Illuminated switch
JP3210768U (en) Safety light for emergency detection outlet panel
BR102012021016A2 (en) microcontrolled switch system
WO2018180635A1 (en) Operation device and apparatus control system
BRPI1104892A2 (en) MICROCONTROLLED SWITCH SYSTEM
CN218038354U (en) Magnetic control integrated experimental device
CN202158526U (en) LED test signal lamp and online test circuit thereof
CN205828201U (en) switch with light-emitting device
WO2024026543A1 (en) Smart brightness control device and management method
CN215734951U (en) Simple microswitch direct-drive LED lamp circuit for ATS
CN218888740U (en) Multi-switch control circuit and lamp control system
CN203551713U (en) Testing device
US9843224B2 (en) Cloud control power socket device with dual indicators
KR200414519Y1 (en) An illuminator
KR200320199Y1 (en) Switch having display device for identifying power supply
BR202013005868U2 (en) MULTI-FUNCTION MANAGEMENT MICROCONTROL SWITCH AND DIMMER
JP2566323Y2 (en) Simple power supply tester for pachinko machines
BR102019007203A2 (en) LED LAMP FOR LIGHTING, WITH EMERGENCY LIGHTING SYSTEM AND REMOTE ACTIVATION
BR102015009842A2 (en) ELECTRONIC SWITCH WITH AUTO TIMER OFF

Legal Events

Date Code Title Description
B03A Publication of an application: publication of a patent application or of a certificate of addition of invention
B08F Application fees: dismissal - article 86 of industrial property law

Free format text: REFERENTE AS 3A E 4A ANUIDADES.

B08K Lapse as no evidence of payment of the annual fee has been furnished to inpi (acc. art. 87)

Free format text: EM VIRTUDE DO ARQUIVAMENTO PUBLICADO NA RPI 2384 DE 13-09-2016 E CONSIDERANDO AUSENCIA DE MANIFESTACAO DENTRO DOS PRAZOS LEGAIS, INFORMO QUE CABE SER MANTIDO O ARQUIVAMENTO DO PEDIDO DE PATENTE, CONFORME O DISPOSTO NO ARTIGO 12, DA RESOLUCAO 113/2013.