CN219090883U - Laser therapeutic instrument and terminal configuration state identification circuit thereof - Google Patents

Laser therapeutic instrument and terminal configuration state identification circuit thereof Download PDF

Info

Publication number
CN219090883U
CN219090883U CN202222491289.4U CN202222491289U CN219090883U CN 219090883 U CN219090883 U CN 219090883U CN 202222491289 U CN202222491289 U CN 202222491289U CN 219090883 U CN219090883 U CN 219090883U
Authority
CN
China
Prior art keywords
comparator
resistor
circuit
power supply
terminal
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
CN202222491289.4U
Other languages
Chinese (zh)
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.)
Henan Xiangyu Medical Equipment Co Ltd
Original Assignee
Henan Xiangyu Medical Equipment Co Ltd
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 Henan Xiangyu Medical Equipment Co Ltd filed Critical Henan Xiangyu Medical Equipment Co Ltd
Priority to CN202222491289.4U priority Critical patent/CN219090883U/en
Application granted granted Critical
Publication of CN219090883U publication Critical patent/CN219090883U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Laser Surgery Devices (AREA)
  • Radiation-Therapy Devices (AREA)

Abstract

The utility model relates to the technical field of medical instruments and discloses a laser therapeutic instrument and a terminal configuration state identification circuit thereof. The method comprises the steps that a first end of a light emitter of an optical coupler in a terminal configuration state identification circuit is connected with a power supply, a second end of the light emitter is connected with a first end of a connection interface, a second end of the connection interface is grounded, when the terminal is connected with the optical coupler through the connection interface, a loop is formed between the light emitter of the optical coupler and the terminal, a light receiver receives light signals of the light emitter to generate current, the current is sampled through a first resistor and filtered through a first capacitor and then enters a comparison circuit with a reference voltage to be compared, and an MCU confirms the configuration state of the terminal according to a comparison result. By adopting the technical scheme, due to the difference of the internal resistances of the terminals, after the terminals of different types are connected to the connection interface, the currents generated between the terminals and the optocouplers are different, so that different comparison results are formed after the terminals are compared by the comparison circuit, and the MCU can further confirm the configuration states of the terminals of different types.

Description

Laser therapeutic instrument and terminal configuration state identification circuit thereof
Technical Field
The utility model relates to the technical field of medical equipment, in particular to a laser therapeutic instrument and a terminal configuration state identification circuit thereof.
Background
With the development and progress of technology, more and more product designs are beginning to develop toward modularization or platformization. The design has the advantages that the function of the whole product is integrated, and the product can be selectively used according to different models of the product on the basis of modularization or platformization of the product. In particular implementation, aiming at a single host corresponding to a multi-output terminal, the host is particularly critical to the identification of the relevant information of the terminal, so that on one hand, the output safety of the terminal can be ensured, and on the other hand, the terminal function can be diversified.
In the prior art, by reserving a shorting stub on a circuit of a terminal device, a logic input signal of a host is at a high level, and after the terminal is inserted into the host, the host shorts the logic input signal to a low level, and recognizes that the terminal is inserted, thereby recognizing a configuration state of the terminal. However, in the implementation, the types of terminals are various, for example, the laser heads output two laser wavelengths of 650nm and 810nm, and then signal lines need to be added to access the two types of laser heads, so that the types of the signal lines are increased with the increase of the types of the inserted terminals.
It can be seen that how to reduce the kinds of signal lines required when one host recognizes the configuration states of a plurality of terminals is a problem to be solved by those skilled in the art.
Disclosure of Invention
The utility model aims to provide a laser therapeutic instrument and a terminal configuration state identification circuit thereof, which are used for reducing the types of signal wires required when a host identifies the configuration states of various terminals.
In order to solve the above technical problems, the present utility model provides a terminal configuration status identifying circuit, which includes:
the device comprises an optocoupler, a first resistor, a first capacitor, a connecting interface, a comparison circuit and an MCU;
the connection interface is used for being connected with the terminal;
the first end of the light emitter of the optical coupler is connected with a power supply, the second end of the light emitter of the optical coupler is connected with the first end of the connection interface, and the second end of the connection interface is grounded; the first end of the light receiver of the optical coupler is connected with a power supply and the first end of the first capacitor, the second end of the first capacitor is grounded, the second end of the light receiver of the optical coupler and the first end of the first resistor are commonly connected with the first input end of the comparison circuit, and the second end of the first resistor is grounded;
the second input end of the comparison circuit is connected with a reference voltage;
the MCU is connected with the output end of the comparison circuit and is used for confirming the configuration state of the terminal according to the comparison result of the comparison circuit.
Preferably, the method further comprises: a voltage conversion circuit;
the input end of the voltage conversion circuit is connected with a power supply, and the output end of the voltage conversion circuit is connected with the first end of the light emitter of the first optocoupler and is used for reducing the power supply voltage to a preset voltage.
Preferably, the comparison circuit includes: a first comparator, a second comparator, a third comparator, a fourth comparator;
the non-inverting input end of the first comparator, the non-inverting input end of the second comparator, the non-inverting input end of the third comparator and the non-inverting input end of the fourth comparator are used as the first input end of the comparison circuit to be connected with the second end of the light receiver of the optocoupler and the first end of the first resistor, the inverting input end of the first comparator is connected with a first reference voltage, the inverting input end of the second comparator is connected with a second reference voltage, the inverting input end of the third comparator is connected with a third reference voltage, and the inverting input end of the fourth comparator is connected with a fourth reference voltage; the positive power supply and the enabling end of the first comparator, the second comparator, the third comparator and the fourth comparator are grounded, and the negative power supply is connected with a power supply; the output end of the first comparator, the output end of the second comparator, the output end of the third comparator and the output end of the fourth comparator are all connected with the MCU.
Preferably, the method further comprises: the voltage reference chip, the second resistor, the third resistor, the fourth resistor, the fifth resistor, the sixth resistor, the seventh resistor and the eighth resistor;
the first end of the voltage reference chip, the first end of the second resistor and the first end of the third resistor are commonly connected with a power supply, the second end of the voltage reference chip is connected with the second end of the second resistor and the first end of the fourth resistor, the second end of the fourth resistor and the third end of the voltage reference chip are commonly grounded, the second end of the third resistor generates the first reference voltage and is connected with the inverting input end of the first comparator and the first end of the fifth resistor, the second end of the fifth resistor generates the second reference voltage and is connected with the inverting input end of the second comparator and the first end of the sixth resistor, the second end of the sixth resistor generates the third reference voltage and is connected with the inverting input end of the third comparator and the first end of the seventh resistor, the second end of the seventh resistor generates the fourth reference voltage and is connected with the inverting input end of the fourth comparator and the first end of the eighth resistor, and the eighth resistor is grounded.
Preferably, the method further comprises: a ninth resistor;
the first end of the voltage reference chip, the first end of the second resistor and the first end of the third resistor are connected with a power supply through the ninth resistor.
Preferably, the method further comprises: the second capacitor, the third capacitor, the fourth capacitor and the fifth capacitor;
the first end of the second capacitor is connected with the power supply and the negative power supply of the first comparator, the first end of the third capacitor is connected with the power supply and the negative power supply of the second comparator, the first end of the fourth capacitor is connected with the power supply and the negative power supply of the third comparator, and the first end of the fifth capacitor is connected with the power supply and the negative power supply of the fourth comparator; and the second ends of the second capacitor, the third capacitor, the fourth capacitor and the fifth capacitor are grounded.
Preferably, the method further comprises: a logic circuit;
the input end of the logic circuit is connected with the output end of the comparison circuit and is used for carrying out logic processing on the comparison result of the comparison circuit;
and the output end of the logic circuit is connected with the MCU and is used for transmitting the result of logic processing to the MCU so as to confirm the configuration state of the terminal.
Preferably, the logic circuit includes: the first exclusive-OR gate, the second exclusive-OR gate and the third exclusive-OR gate;
the output end of the first comparator is connected with the MCU and the first input end of the first exclusive-OR gate, the output end of the second comparator is connected with the second input end of the first exclusive-OR gate and the first input end of the second exclusive-OR gate, the output end of the third comparator is connected with the second input end of the second exclusive-OR gate and the first input end of the third exclusive-OR gate, and the output end of the fourth comparator is connected with the second input end of the third exclusive-OR gate; the output end of the first exclusive-OR gate, the output end of the second exclusive-OR gate and the output end of the third exclusive-OR gate are all connected with the MCU.
Preferably, the method further comprises:
the MCU is connected with the terminal to control whether the terminal outputs and the output mode during output according to the difference of the logic processing results when the terminal is connected with and disconnected from the terminal configuration state identification circuit and the difference of the time intervals of connection and disconnection.
In order to solve the technical problem, the utility model also provides a laser therapeutic apparatus which comprises a laser head and the terminal configuration state identification circuit.
According to the terminal configuration state identification circuit provided by the utility model, the first end of the light emitter of the optical coupler is connected with the power supply, the second end of the light emitter is connected with the first end of the connection interface, the second end of the connection interface is grounded, when the terminal is connected with the optical coupler through the connection interface, a loop is formed between the light emitter of the optical coupler and the terminal, the light receiver receives the light signal of the light emitter to generate current, the current is sampled through the first resistor and filtered through the first capacitor and then is compared with the reference voltage in the comparison circuit, the comparison result is transmitted to the MCU, and the MCU can confirm the configuration state of the terminal according to the comparison result. Compared with the prior art, the method has the advantages that the types of signal wires are required to be added for the configuration state identification of different types of terminals, the terminals are inserted into the terminal configuration state identification circuit to form a loop with the optical coupler, and due to the fact that the internal resistances of the terminals are different, currents generated between the terminals of different types and the optical coupler are different after the terminals of different types are connected to the connection interface, so that different comparison results can be formed after the terminals of different types are compared by the comparison circuit, the MCU can further confirm the configuration states of the terminals of different types, and the purpose that the types of the signal wires required when a host identifies the configuration states of multiple terminals is achieved.
In addition, the laser therapeutic apparatus provided by the utility model comprises the terminal configuration state identification circuit, and the effect is the same as that of the terminal configuration state identification circuit.
Drawings
For a clearer description of embodiments of the present utility model, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present utility model, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a circuit diagram of a terminal configuration status identifying circuit according to an embodiment of the present utility model;
fig. 2 is a block diagram of a terminal according to an embodiment of the present utility model;
fig. 3 is a circuit diagram of a voltage conversion circuit according to an embodiment of the present utility model;
fig. 4 is a circuit diagram of a reference voltage generating circuit according to an embodiment of the present utility model;
the reference numerals are as follows: 1 is a connection interface, 2 is a comparison circuit, and 3 is an MCU.
Detailed Description
The following description of the embodiments of the present utility model will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present utility model, but not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present utility model.
The core of the utility model is to provide a laser therapeutic apparatus and a terminal configuration state identification circuit thereof, which are used for reducing the types of signal wires required when a host identifies the configuration states of various terminals.
In order to better understand the aspects of the present utility model, the present utility model will be described in further detail with reference to the accompanying drawings and detailed description.
Fig. 1 is a circuit diagram of a terminal configuration status identifying circuit according to an embodiment of the present utility model, as shown in fig. 1, the circuit includes:
the optical coupler Q1, the first resistor R1, the first capacitor C1, the connection interface 1, the comparison circuit 2 and the MCU3;
wherein the connection interface 1 is used for connecting with a terminal. The first end of the light emitter of the optical coupler Q1 is connected with a power supply, the second end of the light emitter of the optical coupler Q1 is connected with the first end of the connection interface 1, and the second end of the connection interface 1 is grounded; the first end of the light receiver of the optical coupler Q1 is connected with a power supply and the first end of the first capacitor C1, the second end of the first capacitor C1 is grounded, the second end of the light receiver of the optical coupler Q1 and the first end of the first resistor R1 are commonly connected with the first input end of the comparison circuit 2, and the second end of the first resistor R1 is grounded. A second input of the comparison circuit 2 is connected to a reference voltage. The MCU3 is connected with the output end of the comparison circuit 2 and used for confirming the configuration state of the terminal according to the comparison result of the comparison circuit 2.
The optocoupler Q1 is a device for transmitting an electric signal by using light as a medium, and generally packages a light emitter (an infrared light emitting diode LED) and a light receiver (a photo-sensitive semiconductor tube, a photo-resistor) in the same package. When the input end is powered on, the light emitter emits light, and the light receiver receives the light to generate photocurrent, and the photocurrent flows out of the output end, so that the 'electro-optical-electrical' control is realized. The photoelectric coupler using light as medium to couple the signal of input end to output end has the advantages of small volume, long service life, no contact, strong anti-interference capability, insulation between output and input, unidirectional signal transmission, etc. and can be widely used in digital circuits.
The comparator circuit 2 is a circuit for comparing and discriminating an input signal, and is a basic unit circuit constituting a non-sinusoidal wave generating circuit. The comparison circuit 2 may be used as an interface for analog and digital circuits, and also as a waveform generation and conversion circuit or the like. Since the output of the comparator only has two states of low level and high level, the integrated operational amplifier usually works in a nonlinear region, and from the circuit structure, the integrated operational amplifier of the comparison circuit 2 is in either an open loop state or a positive feedback state. The functional relationship of the output voltage and the input voltage of the comparison circuit 2 is generally described by a voltage transfer characteristic curve, wherein the input voltage is an analog signal and the output voltage is a digital signal. In this embodiment, the voltage generated after the terminal is inserted is compared with the reference voltage to determine the type of the terminal.
The first resistor R1 in this embodiment is used as a sampling resistor, and samples the output voltage of the optocoupler Q1 in a parallel manner. The first capacitor C1 is used as a filter capacitor, so that the working performance of the electronic circuit is more stable.
Fig. 2 is a block diagram of a terminal according to an embodiment of the present utility model, including a plug, an identification resistor R10, and a normally closed switch. The normally closed switch is a key capable of being controlled manually, and after the terminal equipment is inserted into the host, a technician can control the change of a logic input signal of the host through the key.
When the plug of the terminal is inserted into the connection interface 1 of the host, the light emitter, the identification resistor R10 and the normally closed switch of the optocoupler Q1 form a serial loop to generate loop current, so that the light emitting diode of the optocoupler Q1 emits light, and the current passes through the light receiver of the optocoupler Q1, and according to ohm law, the loop current= (power supply voltage-optocoupler Q1 voltage drop)/the identification resistor R10 can be known, so that the loop current is different if the resistance value of the resistor R10 is different. As can be seen from the working principle of the optocoupler Q1, the current flowing through the light emitter of the optocoupler Q1 is different, and the current flowing through the light receiver of the optocoupler Q1 is also different. The current of the light receiver can be deduced according to the corresponding relation, so as to calculate the sampling voltage entering the comparison circuit 2, the sampling voltage=the current of the light receiver is the first resistor R1, and the MCU3 can confirm the configuration state of the terminal according to the comparison of the sampling voltage and the reference voltage.
According to the terminal configuration state identification circuit provided by the utility model, the first end of the light emitter of the optical coupler is connected with the power supply, the second end of the light emitter is connected with the first end of the connection interface, the second end of the connection interface is grounded, when the terminal is connected with the optical coupler through the connection interface, a loop is formed between the light emitter of the optical coupler and the terminal, the light receiver receives the light signal of the light emitter to generate current, the current is sampled through the first resistor R1 and filtered by the first capacitor and then is compared with the reference voltage in the comparison circuit, the comparison result is transmitted to the MCU, and the MCU can confirm the configuration state of the terminal according to the comparison result. Compared with the prior art, the method has the advantages that the types of signal wires are required to be added for the configuration state identification of different types of terminals, the terminals are inserted into the terminal configuration state identification circuit to form a loop with the optical coupler, and due to the fact that the internal resistances of the terminals are different, currents generated between the terminals of different types and the optical coupler are different after the terminals of different types are connected to the connection interface, so that different comparison results can be formed after the terminals of different types are compared by the comparison circuit, the MCU can further confirm the configuration states of the terminals of different types, and the purpose that the types of the signal wires required when a host identifies the configuration states of multiple terminals is achieved.
As can be seen from the description of the above embodiments, the current of the light receiver in the present application depends on the loop current, and the magnitude of the loop current depends on the magnitude of the power source connected to the first end of the light emitter of the optocoupler Q1 and the magnitude of the identification resistor R10 of the terminal. It can be understood that the larger the power supply connected to the first end of the light emitter of the optocoupler Q1 is, the larger the loop current is, and the interference received during signal transmission is also increased, which affects the measurement accuracy.
Therefore, on the basis of the above embodiment, the terminal configuration state identifying circuit provided in this embodiment further includes: a voltage conversion circuit;
the input end of the voltage conversion circuit is connected with a power supply, and the output end of the voltage conversion circuit is connected with the first end of the light emitter of the first optocoupler Q1 and is used for reducing the power supply voltage to a preset voltage.
In a specific implementation, the device for providing power to the voltage conversion circuit is typically a storage battery, which typically outputs a +5v voltage, and the voltage conversion circuit in this embodiment is used to step down the voltage, and may be used to step down the voltage by using a BUCK circuit or directly using a step-down chip Q2. Fig. 3 is a circuit diagram of a voltage conversion circuit according to an embodiment of the present utility model, as shown in fig. 3, the circuit reduces +5v voltage to +3.3v through a voltage reduction chip Q2, and connects to a light emitter of an optocoupler Q1 after filtering through two filter capacitors C.
According to the embodiment, the voltage of the power supply is reduced, so that interference in signal transmission is reduced, and the measurement accuracy is improved.
In a specific implementation, since the identification resistors R10 are different for different terminal types, the loop currents are also different, and the sampling voltages entering the comparison circuit 2 are also different, and the comparison circuit 2 is an important device for judging the terminal type, and needs to compare the sampling voltages with different magnitudes.
The embodiment of the present utility model further provides a specific comparison circuit 2, as shown in fig. 1, where the comparison circuit 2 includes: a first comparator X1, a second comparator X2, a third comparator X3, a fourth comparator X4;
the non-inverting input end of the first comparator X1, the non-inverting input end of the second comparator X2, the non-inverting input end of the third comparator X3 and the non-inverting input end of the fourth comparator X4 are used as the first input end of the comparison circuit 2 together to be connected with the second end of the light receiver of the optocoupler Q1 and the first end of the first resistor R1, the inverting input end of the first comparator X1 is connected with the first reference voltage, the inverting input end of the second comparator X2 is connected with the second reference voltage, the inverting input end of the third comparator X3 is connected with the third reference voltage, and the inverting input end of the fourth comparator X4 is connected with the fourth reference voltage; the positive power supply and the enabling end of the first comparator X1, the second comparator X2, the third comparator X3 and the fourth comparator X4 are grounded, and the negative power supply is connected with the power supply; the output end of the first comparator X1, the output end of the second comparator X2, the output end of the third comparator X3 and the output end of the fourth comparator X4 are all connected with the MCU3.
In other embodiments, when the types of the inserted terminals are more, the number of comparators can be increased correspondingly in order to achieve more accurate distinction.
The embodiment provides a terminal configuration state identification circuit, four comparators output four levels, and an MCU determines the type of a more accurate confirmation terminal through analysis of the four levels.
In order to more accurately confirm the type of terminal, the comparison circuit 2 in the above embodiment includes a plurality of comparators, and thus a plurality of reference voltages are also required.
Fig. 4 is a circuit diagram of a reference voltage generating circuit according to an embodiment of the present utility model, as shown in fig. 4, the circuit includes: the voltage reference chip Q3, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8;
the first end of the voltage reference chip Q3, the first end of the second resistor R2 and the first end of the third resistor R3 are commonly connected with a power supply, the second end of the voltage reference chip Q3 is connected with the second end of the second resistor R2 and the first end of the fourth resistor R4, the second end of the fourth resistor R4 and the third end of the voltage reference chip Q3 are commonly grounded, the second end of the third resistor R3 generates a first reference voltage and is connected with the inverting input end of the first comparator X1 and the first end of the fifth resistor R5, the second end of the fifth resistor R5 generates a second reference voltage and is connected with the inverting input end of the second comparator X2 and the first end of the sixth resistor R6, the second end of the sixth resistor R6 generates a third reference voltage and is connected with the inverting input end of the third comparator X3 and the first end of the seventh resistor R7, the second end of the seventh resistor R7 generates a fourth reference voltage and is connected with the inverting input end of the fourth comparator X4 and the first end of the eighth resistor R8, and the second end of the eighth resistor R8 is grounded.
The voltage reference chip Q3 is a high-performance analog chip and is commonly used in various data acquisition systems to realize high-precision data acquisition. The voltage reference chip Q3 in this embodiment cooperates with the second resistor R2 and the fourth resistor R4 to generate a reference regulated voltage, and the third resistor R3, the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, the seventh resistor R7, and the eighth resistor R8 divide the voltage to generate a first reference voltage, a second reference voltage, a third reference voltage, and a fourth reference voltage.
In a specific implementation, the reference voltage generating circuit may further include a ninth resistor R9, as shown in fig. 3, where the first end of the voltage reference chip, the first end of the second resistor R2, and the first end of the third resistor R3 are connected to a power supply through the ninth resistor R9, and the ninth resistor R9 serves as a current limiting resistor to limit the magnitude of the current of the branch circuit, so as to prevent the voltage reference chip connected in series from being burnt out due to excessive current, and also can play a role of voltage division.
In a specific implementation, in order to reduce the ac ripple coefficient and improve the efficient smooth dc output, a filter capacitor needs to be connected to the power supply terminal of the comparator.
In this embodiment, further comprising: a second capacitor C2, a third capacitor C3, a fourth capacitor C4, and a fifth capacitor C5;
the first end of the second capacitor C2 is connected with the power supply and the negative power supply of the first comparator X1, the first end of the third capacitor C3 is connected with the power supply and the negative power supply of the second comparator X2, the first end of the fourth capacitor C4 is connected with the power supply and the negative power supply of the third comparator X3, and the first end of the fifth capacitor C5 is connected with the power supply and the negative power supply of the fourth comparator X4; the second ends of the second capacitor C2, the third capacitor C3, the fourth capacitor C4 and the fifth capacitor C5 are all grounded.
In a specific implementation, the filter circuit requires a larger capacitance of the storage capacitor. The capacitor in this embodiment can use an electrolytic capacitor. In the embodiment, the capacitor is connected to the power end of the comparator for filtering so as to ensure the high-efficiency smooth output of direct current.
It can be understood that in the above embodiment, the comparison of the plurality of terminal types is achieved by the plurality of comparators and the plurality of reference voltages, and the determination is made by the MCU3. It can be understood that the comparators can only output two signals with high and low levels, when the sampling voltage is maximum, four comparators can simultaneously output high levels, the MCU3 can confirm the terminal type through logic analysis processing, and a circuit for realizing the logic analysis processing can be a circuit of the MCU3, or can be an additionally added circuit.
In this embodiment, the circuit for implementing logic analysis processing is an independent circuit, and the terminal configuration state identifying circuit provided in this embodiment further includes: a logic circuit;
the input end of the logic circuit is connected with the output end of the comparison circuit 2 and is used for carrying out logic processing on the comparison result of the comparison circuit 2;
the output end of the logic circuit is connected with the MCU3 and is used for transmitting the result of logic processing to the MCU3 to confirm the configuration state of the terminal.
The terminal configuration state recognition circuit provided by the embodiment optimizes the output comparison signal through the logic circuit after being processed by the comparison circuit, and inputs the comparison signal into the MCU after logic judgment.
On the basis of the above embodiments, an embodiment of the present utility model provides a specific logic circuit, as shown in fig. 1, including: a first exclusive-or gate U1, a second exclusive-or gate U2 and a third exclusive-or gate U3;
the output end of the first comparator X1 is connected with the MCU3 and the first input end of the first exclusive-OR gate U1, the output end of the second comparator X2 is connected with the second input end of the first exclusive-OR gate U1 and the first input end of the second exclusive-OR gate U2, the output end of the third comparator X3 is connected with the second input end of the second exclusive-OR gate U2 and the first input end of the third exclusive-OR gate U3, and the output end of the fourth comparator X4 is connected with the second input end of the third exclusive-OR gate U3; the output end of the first exclusive-OR gate U1, the output end of the second exclusive-OR gate U2 and the output end of the third exclusive-OR gate U3 are all connected with the MCU3.
An exclusive or gate is a logic gate that implements a logical exclusive or in digital logic. The multi-input exclusive-or gate has a plurality of input ends and an output end, and can be composed of two-input exclusive-or gates. If the levels of the two inputs are different, the output is a high level 1; if the levels of the two inputs are the same, the output is low 0. I.e. if the two inputs are different, the xor gate outputs a high 1.
For ease of understanding, the following description is provided in connection with a specific implementation scenario.
In a specific implementation, the power supply connected with the light emitter of the optocoupler Q1 is +3.3v, the voltage drop of the optocoupler Q1 is 1.27V, the first reference voltage is +2.4v, the second reference voltage is +1.8v, the third reference voltage is +1.2v, and the fourth reference voltage is +0.6v.
When the identification resistor R10 is 135 omega, the loop current is 15mA, the sampling voltage is 2.7V at the moment, the outputs of the four comparators are all high level, and the signal transmitted to the MCU3 is 1000 after being judged by the logic circuit.
When the identification resistor R10 is 174 Ω, the loop current is 11.65mA, the sampling voltage is 2.1V, the output signals of the four comparators are 0111 from the first to the fourth, and the signal transmitted to the MCU3 after being judged by the logic circuit is 0100.
When the identification resistor R10 is 260 omega, the loop current is 7.78mA, the sampling voltage is 1.5V at the moment, the output signals of the four comparators are 0011 from the first to the fourth, and the signals transmitted to the MCU3 are 0010 after being judged by the logic circuit.
When the identification resistor R10 is 407 Ω, the loop current is 5mA, the sampling voltage is 0.9V at this time, the output signals of the four comparators are 0001 from the first to the fourth, and after being determined by the logic circuit, the signal transmitted to the MCU3 is 0001.
When the identification resistor R10 is turned off, there is no loop current, the sampling voltage is 0, the output signals of the four comparators are all low level, and the signal transmitted to the MCU3 is 0000.
The MCU can identify whether the terminal is connected or not and the type of the terminal through different signals, so that confirmation of the terminal configuration state is realized. It can be understood that when the resistance of the identification resistor of the terminal is within a range, the obtained signals are the same, and the signals are summarized as a terminal. It can be seen that the number of comparators and reference voltages represents the accuracy of identifying the terminal types, and when the number of comparators and reference voltages is larger, the signal types obtained by the MCU are larger, so that more terminal types can be identified.
In the implementation, a technician can control whether the loop current exists or not through a key of the terminal, so as to influence the access signal of the MCU3.
On the basis of the above embodiment, in this embodiment, further includes:
the MCU3 is connected to the terminal to control whether the terminal outputs and an output mode at the time of output according to a difference in a result of logic processing when the terminal is connected to and disconnected from the terminal configuration state recognition circuit and a difference in a time interval of connection and disconnection.
It will be appreciated that the results of the logic processing obtained by the MCU3 are different when the terminal is switched in and out of the terminal configuration status identifying circuit, and different functions may be set depending on the duration of the signal. For example, the terminal is a laser head, when the key is pressed, the normally closed switch is turned on, the signal transmitted to the MCU3 is 0000, when the key is continuously pressed for 3s, the MCU3 can switch the output mode of the laser head according to the duration of the signal, for example, the output mode is converted into a pulse output mode from the continuous output mode, when the key is continuously pressed for 10s, the output of the laser head can be stopped after the MCU3 detects that the signal is 0000 for 10s, and the shutdown function is realized.
The embodiment realizes the output state control of the terminal through the difference of the logic processing results when the terminal is connected with and disconnected from the terminal configuration state identification circuit and the difference of the time intervals of connection and disconnection.
The embodiment of the utility model also provides a laser therapeutic apparatus which comprises the terminal configuration state identification circuit besides the laser head.
The laser therapeutic apparatus provided by the utility model comprises a terminal configuration state identification circuit, wherein the first end of a light emitter of an optical coupler is connected with a power supply, the second end of the light emitter of the optical coupler is connected with the first end of a connecting interface, the second end of the connecting interface is grounded, when the terminal is connected with the optical coupler through the connecting interface, a loop is formed between the light emitter of the optical coupler and the terminal, a light receiver receives a light signal of the light emitter to generate current, the current is sampled through a first resistor R1 and filtered by a first capacitor and then enters a comparison circuit with a reference voltage for comparison, a comparison result is transmitted to an MCU, and the MCU can confirm the configuration state of the terminal according to the comparison result. Compared with the prior art, the method has the advantages that the types of signal wires are required to be added for the configuration state identification of different types of terminals, the terminals are inserted into the terminal configuration state identification circuit to form a loop with the optical coupler, and due to the fact that the internal resistances of the terminals are different, currents generated between the terminals of different types and the optical coupler are different after the terminals of different types are connected to the connection interface, so that different comparison results can be formed after the terminals of different types are compared by the comparison circuit, the MCU can further confirm the configuration states of the terminals of different types, and the purpose that the types of the signal wires required when a host identifies the configuration states of multiple terminals is achieved.
The laser therapeutic apparatus and the terminal configuration state recognition circuit provided by the utility model are described in detail above. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the utility model can be made without departing from the principles of the utility model and these modifications and adaptations are intended to be within the scope of the utility model as defined in the following claims.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A terminal configuration status identifying circuit, comprising:
the device comprises an optocoupler, a first resistor, a first capacitor, a connecting interface, a comparison circuit and an MCU;
the connection interface is used for being connected with the terminal;
the first end of the light emitter of the optical coupler is connected with a power supply, the second end of the light emitter of the optical coupler is connected with the first end of the connection interface, and the second end of the connection interface is grounded; the first end of the light receiver of the optical coupler is connected with a power supply and the first end of the first capacitor, the second end of the first capacitor is grounded, the second end of the light receiver of the optical coupler and the first end of the first resistor are commonly connected with the first input end of the comparison circuit, and the second end of the first resistor is grounded;
the second input end of the comparison circuit is connected with a reference voltage;
the MCU is connected with the output end of the comparison circuit and is used for confirming the configuration state of the terminal according to the comparison result of the comparison circuit.
2. The terminal configuration status identifying circuit of claim 1, further comprising: a voltage conversion circuit;
the input end of the voltage conversion circuit is connected with a power supply, and the output end of the voltage conversion circuit is connected with the first end of the light emitter of the optocoupler and is used for reducing the power supply voltage to a preset voltage.
3. The terminal configuration status identifying circuit according to claim 1, wherein said comparing circuit comprises: a first comparator, a second comparator, a third comparator, a fourth comparator;
the non-inverting input end of the first comparator, the non-inverting input end of the second comparator, the non-inverting input end of the third comparator and the non-inverting input end of the fourth comparator are used as the first input end of the comparison circuit to be connected with the second end of the light receiver of the optocoupler and the first end of the first resistor, the inverting input end of the first comparator is connected with a first reference voltage, the inverting input end of the second comparator is connected with a second reference voltage, the inverting input end of the third comparator is connected with a third reference voltage, and the inverting input end of the fourth comparator is connected with a fourth reference voltage; the positive power supply and the enabling end of the first comparator, the second comparator, the third comparator and the fourth comparator are grounded, and the negative power supply is connected with a power supply; the output end of the first comparator, the output end of the second comparator, the output end of the third comparator and the output end of the fourth comparator are all connected with the MCU.
4. The terminal configuration status identifying circuit of claim 3, further comprising: the voltage reference chip, the second resistor, the third resistor, the fourth resistor, the fifth resistor, the sixth resistor, the seventh resistor and the eighth resistor;
the first end of the voltage reference chip, the first end of the second resistor and the first end of the third resistor are commonly connected with a power supply, the second end of the voltage reference chip is connected with the second end of the second resistor and the first end of the fourth resistor, the second end of the fourth resistor and the third end of the voltage reference chip are commonly grounded, the second end of the third resistor generates the first reference voltage and is connected with the inverting input end of the first comparator and the first end of the fifth resistor, the second end of the fifth resistor generates the second reference voltage and is connected with the inverting input end of the second comparator and the first end of the sixth resistor, the second end of the sixth resistor generates the third reference voltage and is connected with the inverting input end of the third comparator and the first end of the seventh resistor, the second end of the seventh resistor generates the fourth reference voltage and is connected with the inverting input end of the fourth comparator and the first end of the eighth resistor, and the eighth resistor is grounded.
5. The terminal configuration status identifying circuit of claim 4, further comprising: a ninth resistor;
the first end of the voltage reference chip, the first end of the second resistor and the first end of the third resistor are connected with a power supply through the ninth resistor.
6. The terminal configuration status identifying circuit of claim 3, further comprising: the second capacitor, the third capacitor, the fourth capacitor and the fifth capacitor;
the first end of the second capacitor is connected with the power supply and the negative power supply of the first comparator, the first end of the third capacitor is connected with the power supply and the negative power supply of the second comparator, the first end of the fourth capacitor is connected with the power supply and the negative power supply of the third comparator, and the first end of the fifth capacitor is connected with the power supply and the negative power supply of the fourth comparator; and the second ends of the second capacitor, the third capacitor, the fourth capacitor and the fifth capacitor are grounded.
7. The terminal configuration status identifying circuit of claim 3, further comprising: a logic circuit;
the input end of the logic circuit is connected with the output end of the comparison circuit and is used for carrying out logic processing on the comparison result of the comparison circuit;
and the output end of the logic circuit is connected with the MCU and is used for transmitting the result of logic processing to the MCU so as to confirm the configuration state of the terminal.
8. The terminal configuration status identifying circuit of claim 7, wherein the logic circuit comprises: the first exclusive-OR gate, the second exclusive-OR gate and the third exclusive-OR gate;
the output end of the first comparator is connected with the MCU and the first input end of the first exclusive-OR gate, the output end of the second comparator is connected with the second input end of the first exclusive-OR gate and the first input end of the second exclusive-OR gate, the output end of the third comparator is connected with the second input end of the second exclusive-OR gate and the first input end of the third exclusive-OR gate, and the output end of the fourth comparator is connected with the second input end of the third exclusive-OR gate; the output end of the first exclusive-OR gate, the output end of the second exclusive-OR gate and the output end of the third exclusive-OR gate are all connected with the MCU.
9. The terminal configuration status identifying circuit of claim 8, further comprising:
the MCU is connected with the terminal to control whether the terminal outputs and the output mode during output according to the difference of the logic processing results when the terminal is connected with and disconnected from the terminal configuration state identification circuit and the difference of the time intervals of connection and disconnection.
10. A laser therapeutic apparatus comprising a laser head, further comprising a terminal configuration status identifying circuit as claimed in any one of claims 1 to 9.
CN202222491289.4U 2022-09-19 2022-09-19 Laser therapeutic instrument and terminal configuration state identification circuit thereof Active CN219090883U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202222491289.4U CN219090883U (en) 2022-09-19 2022-09-19 Laser therapeutic instrument and terminal configuration state identification circuit thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202222491289.4U CN219090883U (en) 2022-09-19 2022-09-19 Laser therapeutic instrument and terminal configuration state identification circuit thereof

Publications (1)

Publication Number Publication Date
CN219090883U true CN219090883U (en) 2023-05-30

Family

ID=86430407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202222491289.4U Active CN219090883U (en) 2022-09-19 2022-09-19 Laser therapeutic instrument and terminal configuration state identification circuit thereof

Country Status (1)

Country Link
CN (1) CN219090883U (en)

Similar Documents

Publication Publication Date Title
US7996166B2 (en) Isolated capacitive signature detection for powered devices
CN105357017B (en) Stablize the system and method for POE supply voltages
CN104297657B (en) Digitizing HIGH-POWERED MICROWAVES diode reverse dynamic waveform and loss power test macro
CN109804527A (en) Charger
CN207490555U (en) A kind of charging control circuit
CN110299819A (en) A kind of digitlization power control circuit and method
US20210320515A1 (en) Charging device and charging method
CN106714367B (en) Constant-current circuit and its constant-current controller
CN219090883U (en) Laser therapeutic instrument and terminal configuration state identification circuit thereof
CN111929523B (en) Low-voltage transformer area topology rapid identification system
CN110208596A (en) Load current monitoring circuit and method
CN112152318B (en) Low-voltage distribution area topology rapid identification method
CN115531734A (en) Laser therapeutic instrument and terminal configuration state recognition circuit thereof
CN107612052A (en) The charging method and mobile terminal of mobile terminal
CN215268079U (en) Switching power supply parallel power supply system
CN107861427A (en) Signal processing apparatus and signal processing method
CN213521403U (en) Host device of low-voltage transformer area topology rapid identification instrument
CN108241129A (en) Switching power supply output filter capacitor monitoring device and method
CN209805433U (en) Charging circuit and device
CN211183539U (en) Electricity safety public management system for university dormitory
CN209072339U (en) A kind of intelligent power supply circuit of digital equipment
CN107124800B (en) A kind of PLC technology Switching Power Supply
CN220525896U (en) Open-short circuit test circuit based on hardware short-term test
CN217692754U (en) Determination circuit, circuit system, electronic component, and electronic apparatus
CN108387773A (en) Voltage monitoring circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant