CN110798190B - Electromagnetic interference prevention electronic switch system - Google Patents

Electromagnetic interference prevention electronic switch system Download PDF

Info

Publication number
CN110798190B
CN110798190B CN201910949270.XA CN201910949270A CN110798190B CN 110798190 B CN110798190 B CN 110798190B CN 201910949270 A CN201910949270 A CN 201910949270A CN 110798190 B CN110798190 B CN 110798190B
Authority
CN
China
Prior art keywords
triode
level signals
laser
level
resistor
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910949270.XA
Other languages
Chinese (zh)
Other versions
CN110798190A (en
Inventor
刘禹
李佳欢
王新华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Aeronautics and Astronautics
Original Assignee
Nanjing University of Aeronautics and Astronautics
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 Nanjing University of Aeronautics and Astronautics filed Critical Nanjing University of Aeronautics and Astronautics
Priority to CN201910949270.XA priority Critical patent/CN110798190B/en
Publication of CN110798190A publication Critical patent/CN110798190A/en
Application granted granted Critical
Publication of CN110798190B publication Critical patent/CN110798190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/51Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
    • H03K17/56Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices
    • H03K17/60Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices the devices being bipolar transistors
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/14Modifications for compensating variations of physical values, e.g. of temperature

Abstract

The invention provides an electromagnetic interference prevention electronic switch system.A main controller reads level signals at the output end of an encoding circuit at regular time, when a laser in a closed state needs to be started, a switch controller provides the level signals for the input end of the encoding circuit, the encoding circuit encodes the level signals at the input end, and the encoded level signals are consistent with starting level signals preset in a main control chip, so that the main controller sends PWM driving signals to the laser by utilizing a PWM driving module to control the laser to be started; when the laser in the working state needs to be turned off, the switch controller provides a level signal for the input end of the coding circuit, the coding circuit codes the level signal of the input end, and the coded level signal is consistent with a turn-off level signal preset in the main control chip, so that the main controller sends a PWM driving signal to the laser by using the PWM driving module to control the laser to be turned off. The invention improves the sensitivity of the device.

Description

Electromagnetic interference prevention electronic switch system
Technical Field
The invention belongs to the technical field of switch circuits, and particularly relates to an electromagnetic interference prevention electronic switch system.
Background
With the progress of electronic technology and the popularization of computer technology and artificial intelligence, a large number of circuits are controlled by logic chips, the control voltage is lower and lower, the power consumption is smaller and smaller, the logic scale is larger and larger, the requirement on the electromagnetic environment is higher and higher, and a large amount of electromagnetic interference is generated around people by more and more electric products along with the improvement of the automation degree. At present, electronic switches are mostly adopted for controlling emission switches of carbon dioxide lasers and radio frequency lasers for medical laser surgery in China, and as long as a working power supply is switched on, a set high level or low level signal is input at a control end, a control system sends out a PWM signal to start a laser to send out strong laser to cut human skin or be used for medical cosmetology. Under the influence of electromagnetic interference, the probability of laser misoperation caused by a traditional electronic switch such as a single high-low level controlled electronic switch is continuously increased, and more cases of human body injury are caused. Such instruments, devices, and critical components controlled by a single electronic switch are similarly situated.
The method for preventing interference by combining software and hardware commonly adopted at present is as follows: when the software recognizes that the start signal is high or low, a time determination is added to the program to avoid the emi signal, for example: when the program judges that the switching signal is greater than 30ms, the signal is confirmed to be the starting signal, and the signal less than 30ms is considered to be the interference signal. Therefore, the probability of electromagnetic interference misoperation can be reduced to a certain extent, but the uncertainty of the environment of electromagnetic interference can also cause software anti-shake failure and simultaneously reduce the sensitivity of equipment. Whether a method is adopted to avoid the electronic switch misoperation caused by electromagnetic interference can be realized, the sensitivity of the equipment is kept, and the probability of electromagnetic interference misoperation is greatly reduced. In the prior art, anti-jitter time is mostly added to software for a single electronic switch port to avoid electromagnetic interference, that is, the software finds that a port is in a startup state of 0 or 1(0V or +5V) and can confirm that the port is a startup signal after keeping for a certain time. But this method of determination reduces the sensitivity of the device.
Disclosure of Invention
The purpose of the invention is as follows: in order to solve the problems of low sensitivity and the like in the prior art, the invention provides an electromagnetic interference prevention electronic switch system;
the technical scheme is as follows: the invention provides an electromagnetic interference prevention electronic switch system, which is applied to the on or off of a laser and comprises an encoding circuit, a switch controller, a PWM (pulse width modulation) driving module and a main controller, wherein the encoding circuit is connected with the switch controller;
the switch controller is used for inputting an opening/closing instruction by an operator and inputting a corresponding level signal to the coding circuit according to the input instruction; the encoding circuit is used for encoding and outputting level signals input by the switching controller, the main controller reads the level signals in the encoding form output by the encoding circuit and compares the level signals with preset on/off level signals, and if the level signals are consistent with the preset on/off level signals, the PWM driving module is used for sending corresponding on/off PWM driving signals to the laser so as to control the laser to be turned on/off.
Furthermore, the master controller reads the level signal output by the encoding circuit at regular time.
Furthermore, the coding circuit comprises a first triode, a second triode, a third triode, a fourth triode and a first resistor, a second resistor and a fourth resistor; the first triode and the fourth triode are NPN type triodes, and the second triode and the third triode are PNP type triodes;
an emitting electrode of the first triode is connected with one end of the first resistor, the other end of the first resistor is grounded, and a collector electrode of the first triode is connected with a +5V power supply; the emitter of the second triode is connected with one end of a second resistor, the other end of the second resistor is connected with a +5V power supply, and the collector of the second triode is grounded; an emitter of the third triode is connected with one end of a third resistor, the other end of the third resistor is connected with a +5V power supply, and a collector of the third triode is grounded; the emitter of the fourth triode is grounded, the collector of the fourth triode is connected with one end of a fourth resistor, and the other end of the fourth resistor is connected with a +5v power supply; the base electrodes of the first triode to the fourth triode are input ends of the coding circuit, and the emitting electrodes of the first triode to the fourth triode are output ends of the coding circuit.
Further, the system also comprises a first connecting terminal; the first connecting terminal is provided with 6 ports, one port is grounded, one port is connected with a +5V power supply, and the other four ports are respectively connected with the base electrodes of the first triode to the fourth triode; the switch controller provides level signals for the base electrodes of the first to fourth triodes through the first wiring terminal.
Furthermore, the system also comprises a second wiring terminal, wherein the second wiring terminal is provided with 4 ports, the four ports are respectively connected with the emitting electrodes of the first triode to the fourth triode, and the master controller reads level signals of the emitting electrodes of the first triode to the fourth triode through the second wiring terminal.
Furthermore, the main controller adopts STM32F407, and the output end of the coding circuit and the PWM driving module are connected with the corresponding i/o port of the chip.
Further, the system also comprises a display, the STM32F407 reads level signals of an i/o port connected with the output end of the coding circuit at regular time, if the level signals are all low level, the STM32F407 identifies the i/o port fault and sends a word of 'fault' to the display; and if the level of the i/o port connected with the output end of the coding circuit continuously jumps, the electrostatic influence is judged to be caused.
Has the advantages that: the invention has simple structure, low cost and easy realization, adopts four-way triodes to form a coding circuit, does not need software for anti-shake and saves time; and the circuit reduces the probability of false touch caused by electromagnetic interference.
Drawings
FIG. 1 is a schematic diagram of the operation of the present invention;
FIG. 2 is a circuit diagram of the encoding circuit of the present invention;
fig. 3 is a flow chart of the method of the present invention.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention.
As shown in fig. 1-2, the present embodiment provides an electronic switch system for preventing electromagnetic interference; the system comprises an encoding circuit, a switch controller, a PWM driving module, a main controller, a first connecting terminal J1 and a second terminal J2; the main controller adopts an STM32F407 chip which comprises a DSP, an FPGA, an RAM, a FLASH, an IO port and a bus.
The coding circuit comprises first to fourth triodes and first to fourth resistors; the first triode and the fourth triode are NPN type triodes, and the second triode and the third triode are PNP type triodes.
An emitter of the first triode Q1 is connected with one end of a first resistor R1, the other end of the first resistor is grounded, and a collector of the first triode is connected with a +5V power supply; an emitter of the second triode Q2 is connected with one end of a second resistor R2, the other end of the second resistor is connected with a +5V power supply, and a collector of the second triode is grounded; an emitter of the third triode Q3 is connected with one end of a third resistor R3, the other end of the third resistor is connected with a +5V power supply, a collector of the third triode is grounded, an emitter of the fourth triode Q4 is grounded, a collector is connected with one end of a fourth resistor R4, and the other end of the fourth resistor is connected with the +5V power supply; the base electrodes of the first triode to the fourth triode are input ends of the coding circuit, and the emitting electrodes of the first triode to the fourth triode are output ends of the coding circuit.
The switch controller is used for inputting an opening/closing instruction by an operator and inputting a corresponding level signal to the coding circuit according to the input instruction; the encoding circuit is used for encoding and outputting level signals input by the switching controller, the main controller reads the level signals in the encoding form output by the encoding circuit and compares the level signals with preset on/off level signals, and if the level signals are consistent with the preset on/off level signals, the PWM driving module is used for sending corresponding on/off PWM driving signals to the laser so as to control the laser to be turned on/off.
The first connecting terminal is provided with 6 ports IN-1-IN-6, wherein one port IN-1 is grounded, IN-6 is connected with a +5V power supply, and the other four ports IN-5-IN-2 are respectively connected with the base electrodes of the first triode to the fourth triode; the switch controller provides level signals for the base electrodes of the first to fourth triodes through the first wiring terminal.
The second connecting terminal is provided with 4 ports OUT-1-OUT 4, the OUT-1-OUT 4 are respectively connected with emitting electrodes of the first triode, the second triode and the third triode, and the main controller reads level signals of the emitting electrodes of the first triode, the second triode and the third triode through the second connecting terminal.
As shown in fig. 3, the specific process of the present invention when applied to a laser generator is as follows:
step 1: the whole circuit is powered on, the circuit is reset, and the whole circuit is initialized to be in a standby state;
step 2: the master detects the level values of the i/o ports connected to the second connection terminals OUT1, OUT2, OUT3 and OUT4 at regular time (every 100 μ s to 200 μ s);
and step 3: if the level of the i/o port is 0, the i/o port is determined to be in fault, and a character of 'fault' is sent to a display, and the system is manually closed for detection; if the level of the i/o port continuously jumps, the static influence is judged to be caused, and the step 3 is carried out until the static influence is eliminated; if the system is not faulty and not affected by static electricity, go to step 4,
and 4, step 4: when the laser in the working state needs to be closed, the level signal is provided for the input end of the coding circuit through the switch controller, the coding circuit codes the level signal of the input end, the coded level signal is consistent with a preset opening level signal in the main controller, when the level signal read by the main controller is consistent with the preset opening level signal, the main controller sends a PWM driving signal to the laser through the PWM driving module so as to control the laser to be opened, when the laser in the working state needs to be closed, the level signal is provided for the input end of the coding circuit through the switch controller, the coding circuit codes the level signal of the input end, the coded level signal is consistent with a preset closing level signal in the main controller, when the level signal read by the main controller is consistent with a preset closing level signal, the main controller sends a PWM driving signal to the laser by using the PWM driving module, so that the laser is controlled to be turned off. If the laser is in a working state, but the level signal read by the main controller is consistent with the preset opening level signal, and the laser is in a closing state but the level signal read by the main controller is consistent with the preset closing level signal, the laser keeps the current state unchanged.
In the embodiment, the opening level value and the closing level value are respectively 1011 and 0100; when the laser needs to be started, the switch controller provides a level signal of 1010 for the input end of the encoding circuit; when the laser needs to be closed, the switch controller provides a level signal 0101 for the input end of the encoding circuit;
it should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. The invention is not described in detail in order to avoid unnecessary repetition.

Claims (6)

1. An electronic switch system for preventing electromagnetic interference is applied to the on or off of a laser and is characterized by comprising an encoding circuit, a switch controller, a PWM (pulse width modulation) driving module and a main controller;
the switch controller is used for inputting an opening/closing instruction by an operator and inputting a corresponding level signal to the coding circuit according to the input instruction; the encoding circuit is used for encoding and outputting level signals input by the switch controller, the main controller reads the level signals in the encoding form output by the encoding circuit and compares the level signals with preset on/off level signals, and if the level signals are consistent with the preset on/off level signals, the PWM driving module is used for sending corresponding on/off PWM driving signals to the laser so as to control the laser to be turned on/off;
the coding circuit comprises first to fourth triodes and first to fourth resistors; the first triode and the fourth triode are NPN type triodes, and the second triode and the third triode are PNP type triodes;
an emitting electrode of the first triode is connected with one end of the first resistor, the other end of the first resistor is grounded, and a collector electrode of the first triode is connected with a +5V power supply; the emitter of the second triode is connected with one end of a second resistor, the other end of the second resistor is connected with a +5V power supply, and the collector of the second triode is grounded; an emitter of the third triode is connected with one end of a third resistor, the other end of the third resistor is connected with a +5V power supply, and a collector of the third triode is grounded; the emitter of the fourth triode is grounded, the collector of the fourth triode is connected with one end of a fourth resistor, and the other end of the fourth resistor is connected with a +5v power supply; the base electrodes of the first triode to the fourth triode are input ends of the coding circuit, and the emitting electrodes of the first triode to the fourth triode are output ends of the coding circuit.
2. The electronic switch system of claim 1, wherein the master controller is configured to periodically read the level signal outputted from the encoding circuit.
3. An electromagnetic interference prevention electronic switch system as recited in claim 1, further comprising a first terminal; the first connecting terminal is provided with 6 ports, one port is grounded, one port is connected with a +5V power supply, and the other four ports are respectively connected with the base electrodes of the first triode to the fourth triode; the switch controller provides level signals for the base electrodes of the first to fourth triodes through the first wiring terminal.
4. The electronic switch system of claim 1, further comprising a second terminal having 4 ports, the four ports being connected to the emitters of the first to fourth triodes, respectively, and the master controller reading the level signals of the emitters of the first to fourth triodes through the second terminal.
5. An electromagnetic interference prevention electronic switch system as claimed in claim 1, wherein the main controller adopts STM32F407, and the output end of the encoding circuit and the PWM driving module are connected to the corresponding i/o port of the chip.
6. An electromagnetic interference prevention electronic switch system as claimed in claim 5, characterized in that the system further comprises a display, the STM32F407 is used for periodically reading level signals of the i/o port connected with the output end of the coding circuit, and if the level signals are all low level, the STM32F407 identifies the i/o port as failed and sends a 'failed' word to the display; and if the level of the i/o port connected with the output end of the coding circuit continuously jumps, the electrostatic influence is judged to be caused.
CN201910949270.XA 2019-10-08 2019-10-08 Electromagnetic interference prevention electronic switch system Active CN110798190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910949270.XA CN110798190B (en) 2019-10-08 2019-10-08 Electromagnetic interference prevention electronic switch system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910949270.XA CN110798190B (en) 2019-10-08 2019-10-08 Electromagnetic interference prevention electronic switch system

Publications (2)

Publication Number Publication Date
CN110798190A CN110798190A (en) 2020-02-14
CN110798190B true CN110798190B (en) 2021-07-20

Family

ID=69438815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910949270.XA Active CN110798190B (en) 2019-10-08 2019-10-08 Electromagnetic interference prevention electronic switch system

Country Status (1)

Country Link
CN (1) CN110798190B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112994878B (en) * 2021-02-04 2021-10-29 山东越海通信科技股份有限公司 Quantum communication system and metropolitan area network with same
CN114051369B (en) * 2021-09-30 2023-11-14 苏州浪潮智能科技有限公司 Electromagnetic interference suppression device and server

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1347176A (en) * 2000-09-25 2002-05-01 日本电气株式会社 Laser processing apparatus
CN1652419A (en) * 2005-01-07 2005-08-10 清华大学 Semiconductor laser driving current control method and multi-mode working driving power supply
CN2864846Y (en) * 2005-10-18 2007-01-31 浙江中控电子技术有限公司 Signal generator
CN200969572Y (en) * 2006-08-02 2007-10-31 张李桂 Intelligent learning code non-wiring remote-controlled lamp controlswitch
CN201060390Y (en) * 2007-07-27 2008-05-14 邓伟文 Switch controller
CN101456298A (en) * 2007-12-14 2009-06-17 株式会社其恩斯 Laser processing apparatus, laser processing method, and method for making settings for laser processing apparatus
CN101567519A (en) * 2009-05-27 2009-10-28 北京国科世纪激光技术有限公司 Large-current pulse LD laser driving power supply
US7630422B1 (en) * 2005-01-14 2009-12-08 National Semiconductor Corporation Driver for vertical-cavity surface-emitting laser and method
CN106207729A (en) * 2016-09-05 2016-12-07 吉林大学 A kind of digital program control lasing light emitter
CN106340800A (en) * 2016-03-10 2017-01-18 北京国科欣翼科技有限公司 Laser device
CN106340799A (en) * 2016-03-10 2017-01-18 北京国科欣翼科技有限公司 Laser device control system
CN106711758A (en) * 2016-12-22 2017-05-24 吉林大学 Pulse laser range finder emitter driving power supply
CN106785894A (en) * 2016-12-22 2017-05-31 吉林大学 A kind of digital semiconductor laser pulse driver
CN110137793A (en) * 2018-02-09 2019-08-16 舜宇光学(浙江)研究院有限公司 Adjustable extent drive system and its driving method and application

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3400636B1 (en) * 2016-01-04 2022-03-09 Silicon Line GmbH Circuit and method for controlling and measuring a current in a charge element
US10193304B2 (en) * 2016-07-01 2019-01-29 Intel Corporation Failsafe pulsed laser driver
CN209283213U (en) * 2018-09-18 2019-08-20 中交航信(上海)科技有限公司 A kind of novel analog-digital converter
CN110018413A (en) * 2019-01-12 2019-07-16 广东省民防协会 A kind of multifunctional electric ability meter

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1347176A (en) * 2000-09-25 2002-05-01 日本电气株式会社 Laser processing apparatus
CN1652419A (en) * 2005-01-07 2005-08-10 清华大学 Semiconductor laser driving current control method and multi-mode working driving power supply
US7630422B1 (en) * 2005-01-14 2009-12-08 National Semiconductor Corporation Driver for vertical-cavity surface-emitting laser and method
CN2864846Y (en) * 2005-10-18 2007-01-31 浙江中控电子技术有限公司 Signal generator
CN200969572Y (en) * 2006-08-02 2007-10-31 张李桂 Intelligent learning code non-wiring remote-controlled lamp controlswitch
CN201060390Y (en) * 2007-07-27 2008-05-14 邓伟文 Switch controller
CN101456298A (en) * 2007-12-14 2009-06-17 株式会社其恩斯 Laser processing apparatus, laser processing method, and method for making settings for laser processing apparatus
CN101567519A (en) * 2009-05-27 2009-10-28 北京国科世纪激光技术有限公司 Large-current pulse LD laser driving power supply
CN106340800A (en) * 2016-03-10 2017-01-18 北京国科欣翼科技有限公司 Laser device
CN106340799A (en) * 2016-03-10 2017-01-18 北京国科欣翼科技有限公司 Laser device control system
CN106207729A (en) * 2016-09-05 2016-12-07 吉林大学 A kind of digital program control lasing light emitter
CN106711758A (en) * 2016-12-22 2017-05-24 吉林大学 Pulse laser range finder emitter driving power supply
CN106785894A (en) * 2016-12-22 2017-05-31 吉林大学 A kind of digital semiconductor laser pulse driver
CN110137793A (en) * 2018-02-09 2019-08-16 舜宇光学(浙江)研究院有限公司 Adjustable extent drive system and its driving method and application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电磁超声用大功率高频激励源研制;王新华 等;《北京工业大学学报》;20160713;215-220 *

Also Published As

Publication number Publication date
CN110798190A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110798190B (en) Electromagnetic interference prevention electronic switch system
CN108170054B (en) Intelligent safety relay and application circuit thereof
CN112234978B (en) Switching value output circuit
US9680449B2 (en) Encoder input device
CN101290712B (en) Output current pumping circuit and remote controller using the same
US20140265586A1 (en) Implementation of fire safety shutdown for solar panels with high reliability
CN111431026B (en) Laser equipment and control method thereof
US7882276B2 (en) Input/output module for a programmable controller
CN111224648B (en) Power-on and power-off reset control circuit without static power consumption
CN210108728U (en) Solid integrated sequential control ignition device
CN211089506U (en) Drive circuit of DC brushless motor reversing device and DC brushless motor
CN111832086A (en) Reinforced multi-solid-state hard disk and power-up automatic hard burn-up method thereof
CN217443761U (en) Protection circuit of voice control equipment and voice control equipment
CN220368626U (en) Controller output conversion circuit and generator set control circuit
CN219328880U (en) Power supply and power failure detection circuit thereof
CN220691286U (en) Multi-master-slave analog control circuit and multi-master-slave analog control debugging system
CN217563630U (en) MCU fault delay circuit and electronic product
US6529032B1 (en) Methods and apparatus for full I/O functionality and blocking of backdrive current
CA1087695A (en) Multi-mode control logic circuit for solid state relays
CN218940763U (en) Power supply switching circuit and electronic equipment
CN217332600U (en) Current sampling circuit, power control circuit and power supply system
CN214626961U (en) Novel voltage switching circuit and communication logic conversion circuit
CN213305370U (en) Startup and shutdown self-locking circuit
CN114880035B (en) Startup and shutdown system
CN216748486U (en) Two-bus equipment capable of returning various information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant