Multi-mode input and output circuit and control method and device

By designing a multi-modal input and output circuit, using embedded control circuits and multiple conversion circuits to process multi-modal signals, the problem of complexity of multi-input and output circuits in the prior art is solved, and the miniaturization and flexible control of electronic products are realized.

CN119847021AInactive Publication Date: 2025-04-18BEIJING PINGHE CHUANGYE TECH DEV CO LTD

Patent Information

Application Number
CN202411943288.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the input and output circuits of electronic products with multiple inputs and multiple outputs are complex and difficult to process multi-modal signals, resulting in increased difficulty in miniaturization of electronic products and embedded control.

Method used

A multi-modal input and output circuit is designed, including an embedded control circuit, a selection input circuit, an input AD conversion circuit, an output DA conversion circuit and a selection output circuit. These circuits realize the acquisition and processing of multi-modal signals, and convert the digital signal into a corresponding analog output signal.

Benefits of technology

It realizes multimodal signal acquisition, processing and output control of a single circuit, saves control board space, and improves the dexterity and embedded control capabilities of electronic products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847021A_ABST
    Figure CN119847021A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-mode input and output circuit and a control method and device. The circuit comprises an embedded control circuit, and a selection input circuit, an input AD conversion circuit, an output DA conversion circuit and a selection output circuit which are respectively connected with the embedded control circuit, the selection input circuit is configured to sample and convert an acquired current analog voltage input signal or a current analog current input signal into a first analog voltage input signal according to a first control instruction of the embedded control circuit, convert the first analog voltage input signal into a first digital input signal through the input AD conversion circuit, and then input the first digital input signal into the embedded control circuit; and the selection output circuit is configured to convert the current digital output signal output by the embedded control circuit into a corresponding second analog voltage output signal or a second analog current output signal through the output DA conversion circuit according to a second control instruction of the embedded control circuit and then output the second analog voltage output signal or the second analog current output signal. The space of an electronic product is saved; and the flexibility is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit design and manufacturing, and in particular to a multi-modal input and output circuit and a control method and device. Background Art

[0002] With the development of science and technology and intelligent technology, more and more electronic products have entered thousands of households. These electronic products have many functions. For example, mobile terminals not only have communication functions, but also have functions such as physical examination and motion detection, and air conditioners not only have temperature adjustment, but also can be linked to smart homes, etc. The core of these electronic products is a control circuit with powerful logical and computing capabilities. The control circuit can be connected to one, two or more acquisition devices, obtain one or more input signals, and after corresponding processing, output one, two or more output signals to control the corresponding actuators to operate.

[0003] Among them, the input signal collected by the control circuit may be a voltage signal, a current signal, or a digital signal, etc. Similarly, the output signal output by the control circuit may also be a voltage signal, a current signal, or a digital signal, etc., that is, the input signal or the output signal is a multi-modal signal, and signals of different modes correspond to different input and output processing circuits. In this way, for electronic products with multiple inputs and multiple outputs, the corresponding input and output circuits will be more complicated. The miniaturization of electronic products and the embedded and miniaturized control circuits are the general trend. Therefore, there is an urgent need for a multi-modal input and output circuit that can process input or output signals of any mode. Summary of the invention

[0004] In order to solve the above problems existing in the prior art, the present invention provides a multi-modal input and output circuit and a control method and device. The technical problem to be solved by the present invention is achieved by the following technical solutions: A first aspect of an embodiment of the present invention provides a multi-modal input-output circuit, comprising: an embedded control circuit 100, and a selection input circuit 200, an input AD conversion circuit 300, an output DA conversion circuit 400, and a selection output circuit 500 respectively connected to the embedded control circuit 100; The input selection circuit 200 is configured to sample and convert the acquired current analog voltage input signal or current analog current input signal into a first analog voltage input signal according to the first control instruction of the embedded control circuit 100, and then convert the first analog voltage input signal into a first digital input signal through the input AD conversion circuit 300, and then input the first digital input signal into the embedded control circuit 100; The output selection circuit 500 is configured to convert the current digital output signal output by the embedded control circuit 100 into a corresponding second analog voltage output signal or a second analog current output signal through the output DA conversion circuit 400 according to the second control instruction of the embedded control circuit 100 and then output it.

[0005] A second aspect of an embodiment of the present invention provides a multi-modal input-output circuit control method, comprising: Determine first current modal information corresponding to the current analog input signal, and send a first control instruction according to the first current modal information, so that the multi-modal input and output circuit converts the current analog input signal into a first digital input signal and obtains the first digital input signal, wherein the current analog input signal includes: a current analog voltage input signal or a current analog current input signal; Determine the second current modal information corresponding to the output signal currently required, and send a second control instruction based on the second current modal information, so that the multi-modal input and output circuit converts the output current digital output signal into a corresponding second analog voltage output signal or a second analog current output signal and then outputs it.

[0006] A third aspect of an embodiment of the present invention provides a multi-modal input-output circuit control device, which includes a processor and a memory storing program instructions, and is characterized in that the processor is configured to execute the above-mentioned multi-modal input-output circuit control method when executing the program instructions.

[0007] Beneficial effects of the present invention: In the multimodal input and output circuit, no matter whether the input is a voltage signal or a current signal, it can be converted into a first analog input voltage signal, and then converted into a first digital input signal through AD, and input into the embedded control circuit. Similarly, the digital output signal generated by the embedded control circuit can also be converted into a second analog output current signal or a second analog output voltage signal and then output. In this way, only one circuit is needed to realize the acquisition and processing of multimodal signals, and can also realize the output of multimodal signals and their corresponding control, which not only saves the control board space, but also further improves the dexterity of electronic products.

[0008] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0009] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 A schematic diagram of the structure of a multi-modal input and output circuit provided by an embodiment of the present invention; Figure 2 A circuit diagram of a selection input circuit provided by an embodiment of the present invention; Figure 3 A circuit diagram of an input AD conversion circuit provided by an embodiment of the present invention; Figure 4 A circuit diagram of an output DA conversion circuit and a selection output circuit provided by an embodiment of the present invention; Figure 5 A flowchart of a method for controlling a multi-modal input-output circuit provided by an embodiment of the present invention; Figure 6 A flowchart of a method for controlling a multi-modal input-output circuit provided by an embodiment of the present invention; Figure 7 A schematic structural diagram of a multi-modal input-output circuit control device provided by an embodiment of the present invention.

[0011] In the attached drawings: 100, embedded control circuit; 200, selection input circuit; 300, input AD conversion circuit; 400, output DA conversion circuit; 500, selection output circuit. DETAILED DESCRIPTION

[0012] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.

[0013] With the development of science and technology, more and more electronic products have entered thousands of households. The embedded control circuits in electronic products need to obtain input signals collected by multiple acquisition devices, perform corresponding processing, and then convert them into corresponding output signals for the actuator to operate. Among them, there can be multiple input signals, such as: temperature input signals obtained by temperature sensors, position input signals obtained by position monitoring devices, etc., and these input signals may be current signals, voltage signals, or digital signals, etc. Similarly, There may also be multiple output signals, for example: target temperature output signal, target angle output signal, etc., that is, these output signals may be current signals, voltage signals, or digital signals, etc. For these electronic products including multi-modal input and output, a flexible multi-modal input and output circuit may be used. Regardless of whether the input is a voltage signal or a current signal, it may be converted into a first analog voltage input signal, and then converted into a first digital input signal through AD, and input into the embedded control circuit. Similarly, the digital output signal generated by the embedded control circuit may also be converted into a second analog voltage output signal or a second analog current output signal and then output. In this way, only one circuit is needed to realize the acquisition and processing of multi-modal signals, and also to realize multi-modal signal output and its corresponding control, which not only saves the control board space, but also further improves the dexterity of the electronic product.

[0014] like Figure 1 As shown, a first aspect of an embodiment of the present invention provides a multi-modal input-output circuit, comprising: an embedded control circuit 100, and a selection input circuit 200, an input AD conversion circuit 300, an output DA conversion circuit 400, and a selection output circuit 500 respectively connected to the embedded control circuit 100.

[0015] Among them, the input circuit 200 is selected and configured to sample and convert the current analog voltage input signal or the current analog current input signal obtained into a first analog voltage input signal according to the first control instruction of the embedded control circuit 100, and after being converted into a first digital input signal by the input AD conversion circuit 300, it is input into the embedded control circuit 100.

[0016] The output selection circuit 500 is configured to convert the current digital output signal output by the embedded control circuit 100 into a corresponding second analog voltage output signal or a second analog current output signal through the output DA conversion circuit 400 according to the second control instruction of the embedded control circuit 100 and then output it.

[0017] Various acquisition devices in electronic products, such as temperature sensors, pressure sensors, position sensors, etc., can be respectively connected to the selection input circuit 200 of the multimodal input-output circuit, so that various signals output by the acquisition device can be used as input signals of the multimodal input-output circuit. The signal output by the acquisition device includes: voltage signal or current signal, so that the input signal of the multimodal input-output circuit can also be a voltage input signal or a current input signal, and the signal currently input through the multimodal input-output circuit is the current analog voltage input signal or the current analog current input signal, that is, the selection input circuit 200 can obtain the current analog voltage input signal or the current analog current input signal.

[0018] Under the control of the embedded control circuit 100 , the selection input circuit 200 can sample and convert the acquired current analog voltage input signal or current analog current input signal into a first analog voltage input signal.

[0019] In some embodiments, the input selection circuit 200 may include an input protection filter circuit and a first optoelectronic isolation selection circuit, wherein the input protection filter circuit is configured to perform overvoltage protection on the current analog voltage input signal or the current analog current input signal, and filter out common mode interference and high-frequency noise to ensure the stability of the input signal.

[0020] The first photoelectric isolation selection circuit includes: a first voltage isolation device and a first current isolation device. When the first control instruction is a voltage input control instruction, the first voltage isolation device will obtain a current analog voltage input signal, divide the voltage and sample it into a first analog voltage input signal; and when the first control instruction is a current input control instruction, the first current isolation device will obtain a current analog current input signal, sample it and convert it into a first analog voltage input signal.

[0021] In some embodiments, the input protection filter circuit includes: a transient voltage suppressor TVS for overvoltage protection of the circuit, and an inductor and a capacitor for filtering and anti-interference. The first voltage isolation device includes: two photorelays, wherein the input side of the photorelays is connected in series, and two resistors for voltage division sampling are connected in series; the first current isolation device includes: two photorelays, wherein the input side of the photorelays is connected in series, and two resistors for sampling conversion are connected in parallel.

[0022] In some embodiments, Figure 2As shown, the input protection filter circuit includes: transistor TVS4, common mode inductor L7, and capacitors C10, C2, etc., wherein J12 is the input terminal of the selected input circuit 200, and the input DC signal corresponds to a voltage range of + / -30V and a current of + / -50ma. In this way, the current analog voltage input signal or the current analog current input signal input at the input terminal is protected against overvoltage by the TVS tube TVS4, while the common mode inductor L7 and capacitors C10, C2 are used to filter out common mode interference and high frequency noise to ensure the stability of the input signal.

[0023] like Figure 2 As shown, the first voltage isolation device in the first isolation selection circuit includes: two photorelays OPT3 and OPT4, and two series resistors R61 and R51; and the first current isolation device includes: two photorelays OPT5 and OPT6, and two parallel resistors R68 and R63; they can not only electrically isolate the voltage or current input signal through optical coupling to prevent high voltage or other interference from directly affecting the output circuit, but also under the control of the embedded control circuit 100, sample and convert the current analog voltage input signal or the current analog current input signal into a first analog voltage input signal.

[0024] In the first voltage isolation device, OPT4-2 is connected to the embedded control circuit 100, and in the first current isolation device, OPT6-2 is connected to the embedded control circuit 100. Figure 1 As shown, the embedded control circuit 100 may be a single chip microcomputer U3, so that the single chip microcomputer PB15 pin may be connected to OPT4-2, and the single chip microcomputer PA8 pin may be connected to OPT6-2.

[0025] Among them, if the PB15 pin of the single-chip microcomputer sends a low-level signal and the PA8 pin of the single-chip microcomputer is at a high level, that is, the input circuit is selected to receive the first control instruction sent by the embedded control circuit. At this time, the first current isolation device is in an open-circuit state, and the input sides of the photorelays OPT3 and OPT4 are connected in series, and the current is limited by the resistor R111. The current analog voltage input signal is collected through the resistor R61 and R51 voltage divider, and is input through OPT3 / 4. After electrical isolation, the first analog voltage input signal is output through OPT3-3.

[0026] If the PB15 pin of the single-chip microcomputer sends a high-level signal and the PA8 pin of the single-chip microcomputer is at a low level, that is, the input circuit is selected to receive the first control instruction sent by the embedded control circuit. At this time, the first voltage isolation device is in an open-circuit state, and the input sides of the photorelays OPT5 and OPT6 are connected in series, and the current is limited by the resistor R112. The current analog current input signal is sampled through the resistors R68 and R63, converted into a voltage signal, and input through OPT5 / 6. After electrical isolation, the first analog voltage input signal is output through OPT6-3.

[0027] Of course, in some embodiments, the selection input circuit 200 further includes: a fuse for current limiting, which is connected to the input protection filter circuit and the first photoelectric isolation selection circuit respectively. Figure 2 As shown, fuse F1 limits the current to prevent excessive current from damaging the photorelay.

[0028] In some embodiments, the first analog voltage input signal output by the selection input circuit 200 can be converted into a first digital input signal by the input AD conversion circuit 300 and then input into the embedded control circuit 100. The input AD conversion circuit 300 includes: a two-stage power amplifier circuit and an AD conversion circuit, wherein one input end of the second-stage power amplifier circuit is connected to a voltage unification circuit for voltage translation, and the voltage unification circuit makes the first analog voltage input signal obtained according to the current analog current input signal and the first analog voltage input signal obtained according to the current analog voltage input signal be in the same voltage range.

[0029] In some embodiments, the voltage unification circuit includes: two sets of resistor combinations connected in parallel, each set of resistor combinations includes: two resistors connected in series. Figure 3 As shown, the two-stage power amplifier circuit in the input AD conversion circuit 300 includes: IC7A and IC7B. The first analog voltage input signal can be sorted by the two-stage power amplifier circuit so that the first analog voltage input signal meets the acquisition voltage requirement of the AD conversion circuit, which can meet the acquisition voltage requirement of IC6 here.

[0030] Furthermore, since the first analog voltage input signal may be obtained based on the current analog current input signal or the current analog voltage input signal, the value range of the first analog voltage input signal may be inconsistent. In this case, a voltage unification circuit for shifting the voltage may be used to make the first analog voltage input signal obtained based on the current analog current input signal and the first analog voltage input signal obtained based on the current analog voltage input signal fall within the same voltage range. Figure 3As shown, the voltage unification circuit is the input side of the second-stage power amplifier circuit, and may include: R74, 75, 83, and 82, wherein the branch formed by the series connection of R74 and R75 is connected in parallel with the branch formed by the series connection of R83 and R82. In this way, the voltage can be shifted so that the first analog voltage input signal obtained according to the current analog current input signal and the first analog voltage input signal obtained according to the current analog voltage input signal are within the same voltage range.

[0031] like Figure 3 As shown, the AD conversion circuit may include: IC6, which is a single-channel, low-noise, high-precision delta-sigma ADC with differential input and up to 18-bit resolution, and adopts a small SOT-23-6 package. In this way, the voltage input signal after being sorted by the two-stage power amplifier circuit can be converted into a first digital input signal and input into the microcontroller.

[0032] In an embodiment of the present invention, the multimodal input and output circuit can not only collect voltage input signals or current input signals to the embedded control circuit for processing, but also convert the digital output signals of the embedded control circuit into corresponding current output signals or voltage output signals, and distribute them to corresponding actuators for corresponding operations.

[0033] In some embodiments, the output DA conversion circuit 400 includes: an isolation circuit, a voltage DA conversion circuit and a current DA conversion circuit; wherein the current digital output signal is converted into a corresponding analog voltage signal to be output through the isolation circuit and the voltage DA conversion circuit, and input to the selection output circuit 500; the current digital output signal is converted into a corresponding analog current signal to be output through the isolation circuit and the current DA conversion circuit, and the selection output circuit 500, and input to the selection output circuit 500.

[0034] The output selection circuit 500 includes: a second isolation selection circuit and an output protection filter circuit, wherein the second isolation selection circuit includes: a second voltage isolation device and a second current isolation device. When the second control instruction is a voltage output control instruction, the second voltage isolation device isolates the analog voltage signal to be output, and obtains the second analog voltage output signal through the output protection filter circuit and then outputs it; and when the control instruction is a current output control instruction, the second current isolation device isolates the analog current signal to be output, and obtains the second analog current output signal through the output protection filter circuit and then outputs it, and at the same time, it is input into the current DA conversion circuit to form a current loop.

[0035] Among them, the second voltage isolation device includes: two photorelays, wherein the input side of the photorelays is connected in series and the current is limited by a resistor, one end of a photorelay on the output side inputs the analog voltage signal to be output, and the other end is connected to the output protection filter circuit; the second current isolation device includes: two photorelays, wherein one end of the input side of the photorelays is connected in series and the current is limited by a resistor, one end of a photorelay on the output side inputs the analog current signal to be output, and the other end is connected to the output protection filter circuit, and one end of another photorelay on the output side is connected to the current DA conversion circuit, and the other end is connected to the output protection filter circuit.

[0036] In some embodiments, Figure 4 As shown, the isolation circuit includes: IC9. The corresponding circuits of the digital-to-analog DA conversion parts in the voltage DA conversion circuit and the current DA conversion circuit are the same, except that the voltage DA conversion circuit also includes: power amplifier IC5, while the current DA conversion circuit also includes: power amplifier IC8, and two MOS tubes MQ8 and MQ9.

[0037] The optocoupler devices OPT7 to OPT10 in the selection output circuit 500 are core isolation components. Among them, the second voltage isolation device includes: OPT9 and OPT10, and the second current isolation device includes: OPT7 and OPT8. In addition, OPT10-2 is connected to the single chip microcomputer PA6 pin, and OPT8-2 is connected to the single chip microcomputer PA5 pin.

[0038] In this way, the single chip microcomputer PA6 pin sends a low level signal, and the single chip microcomputer PA5 pin is a high level. At this time, the isolation circuit and the voltage DA conversion circuit in the output DA conversion circuit 400 can be connected to the second voltage isolation device in the selection output circuit 500. Figure 4 As shown, the second current isolation device is in an open circuit state, while the input sides of the photorelays OPT9 and OPT10 are connected in series and current is limited by the resistor R94. The PWM signal sent by the single-chip microcomputer, that is, the current digital output signal, is amplified after isolation conversion and enters the operational amplifier IC5 to output the analog voltage signal to be output, and then the analog voltage signal to be output is directly sent to the output port through the output side OPT9-3 and OPT10-3 of the photorelay.

[0039] The single chip microcomputer PA5 pin sends a low level signal, and the single chip microcomputer PB6 pin is at a high level. At this time, the isolation circuit and the current DA conversion circuit in the output DA conversion circuit 400 can be connected to the second current isolation device in the selection output circuit 500. Figure 4As shown, the second voltage isolation device is in an open circuit state, while the input sides of the photorelays OPT7 and OPT8 are connected in series, and the current is limited by the resistor R93. The PWM signal sent by the single-chip microcomputer, that is, the current digital output signal, is isolated and converted and enters the operational amplifier IC8 for amplification. The output current is switched on and off by two MOS tubes, which work in conjunction with the output voltage of the operational amplifier to stably output the analog current signal to be output by changing the conduction state, and the analog current signal to be output forms a loop with the external load through the output terminals OP7-3 and OP8-3 of the photorelays, so that the output protection filter circuit outputs a stable current signal within the set range.

[0040] Of course, in the embodiment of the present invention, the output protection filter circuit includes: a transient voltage suppressor TVS for overvoltage protection of the circuit, and an inductor and a capacitor for filtering and anti-interference. Figure 4 As shown, the analog voltage output signal or the analog current output signal output by OPT9-3 and OPT10-3, or OPT7-3 and OPT8-3 is protected against overvoltage by TVS tube TVS3, and the common mode interference and high frequency noise are filtered out by common mode inductor L8 and capacitors C82 and C46, ​​and the corresponding second analog voltage output signal or second analog current output signal is obtained and then output to ensure the stability of the output signal.

[0041] It can be seen that in the embodiment of the present invention, in the multimodal input and output circuit, no matter whether the input is a voltage signal or a current signal, it can be converted into a first analog input voltage signal, and then converted into a first digital input signal through AD, and input into the embedded control circuit. Similarly, the digital output signal generated by the embedded control circuit can also be converted into a second analog output current signal or a second analog output voltage signal and then output. In this way, only one circuit is needed to realize the acquisition and processing of multimodal signals, and also to realize the control of multimodal devices or equipment, which not only saves the control board space, but also further improves the dexterity of electronic products.

[0042] In the embodiment of the present invention, in the multi-modal input and output circuit, the embedded control circuit can control each other circuit to realize signal collection and output, such as Figure 5 As shown, the process of multi-modal input-output circuit control may include: Step 501: determine the first current modal information corresponding to the current analog input signal, and send a first control instruction according to the first current modal information, so that the multi-modal input and output circuit converts the current analog input signal into a first digital input signal and obtains the first digital input signal.

[0043] The current analog input signal includes: a current analog voltage input signal or a current analog current input signal.

[0044] The current modal information corresponding to the current input signal can be identified by identifying the type of the acquisition device or other set conditions. Then, when it is determined that the first current modal information is a voltage mode, that is, when it is determined that the current input signal is a current analog voltage input signal, a first control instruction is sent to the selection input circuit, so that the input protection filter circuit and the first voltage isolation device in the selection input circuit are connected to the input AD conversion circuit to convert the current analog voltage input signal into a first digital input signal. And when it is determined that the first current modal information is a current mode, that is, when it is determined that the current input signal is a current analog current input signal, a first control instruction is sent to the selection input circuit, so that the input protection filter circuit and the first current isolation device in the selection input circuit are connected to the input AD conversion circuit to convert the current analog current input signal into a first digital input signal. Finally, the first digital input signal input by the input AD conversion circuit can be obtained.

[0045] It can be seen that under the control of the embedded control circuit, no matter whether the input is a voltage signal or a current signal, it can be converted into a first digital input signal and input into the embedded control circuit. In this way, only one circuit is needed to realize the acquisition and processing of multimodal signals, which not only saves the control board space, but also further improves the dexterity of electronic products.

[0046] Step 502: Determine the second current modal information corresponding to the output signal currently required, and send a second control instruction based on the second current modal information, so that the multi-modal input and output circuit converts the output current digital output signal into a corresponding second analog voltage output signal or a second analog current output signal and then outputs it.

[0047] Wherein, when it is determined that the second current modal information is a voltage modal, a second control signal is sent to the selection output circuit, so that the isolation circuit in the output DA conversion circuit, the voltage DA conversion circuit, and the second voltage isolation device in the selection output circuit are connected. In this way, after the current digital output signal is output, the isolation circuit, the voltage DA conversion circuit, and the second voltage isolation device convert the current digital output signal into a second analog voltage output signal and then output it.

[0048] When it is determined that the second current modal information is the current modal, a second control signal is sent to the selection output circuit, so that the isolation circuit in the output DA conversion circuit, the current DA conversion circuit, and the second current isolation device in the selection output circuit are connected. Thus, after the current digital output signal is output, the isolation circuit, the current DA conversion circuit, and the second current isolation device convert the current digital output signal into a second analog current output signal and then output it.

[0049] It can be seen that, also under the control of the embedded control circuit, the digital output signal generated by the embedded control circuit can also be converted into a second analog output current signal or a second analog output voltage signal and then output. In this way, only one circuit is needed to control multiple actuators or devices, which not only saves control board space, but also further improves the dexterity of electronic products.

[0050] According to the above multi-modal input-output circuit control process, a multi-modal input-output circuit control device can be constructed. Figure 6 A device for controlling a multi-modal input-output circuit is provided in an embodiment of the present invention. The device can be applied to an embedded control circuit of a multi-modal input-output circuit, such as Figure 6 As shown, the device 600 includes: a first control module 610 and a second control module 620 .

[0051] The first control module 610 is configured to determine the first current modal information corresponding to the current analog input signal, and send a first control instruction according to the first current modal information, so that the multi-modal input and output circuit converts the current analog input signal into a first digital input signal and obtains the first digital input signal.

[0052] The second control module 620 is configured to determine the second current modal information corresponding to the output signal currently required, and send a second control instruction based on the second current modal information, so that the multi-modal input and output circuit converts the output current digital output signal into a corresponding second analog voltage output signal or a second analog current output signal and then outputs it.

[0053] In some embodiments, the first control module 610 is specifically configured to, when it is determined that the first current modal information is a voltage mode, that is, when it is determined that the current input signal is a current analog voltage input signal, issue a first control instruction to the selection input circuit, so that the input protection filter circuit and the first voltage isolation device in the selection input circuit are connected to the input AD conversion circuit to convert the current analog voltage input signal into a first digital input signal.

[0054] In some embodiments, the first control module 610 is specifically configured to, when it is determined that the first current modal information is a current mode and when it is determined that the current input signal is a current analog current input signal, issue a first control instruction to the selection input circuit, so that the input protection filter circuit and the first current isolation device in the selection input circuit are connected to the input AD conversion circuit to convert the current analog current input signal into a first digital input signal.

[0055] In some embodiments, the second control module 620 is specifically configured to send a second control signal to the selection output circuit when it is determined that the second current modal information is a voltage mode, so that the isolation circuit in the output DA conversion circuit, the voltage DA conversion circuit and the second voltage isolation device in the selection output circuit are connected to convert the output current digital output signal into a second analog voltage output signal.

[0056] In some embodiments, the second control module 620 is specifically configured to send a second control signal to the selection output circuit when it is determined that the second current modal information is the current mode, so that the isolation circuit in the output DA conversion circuit, the current DA conversion circuit and the second current isolation device in the selection output circuit are connected, and the output current digital output signal is converted into a second analog current output signal and then output.

[0057] It can be seen that in the embodiment of the present invention, in the multimodal input-output circuit, no matter whether the input is a voltage signal or a current signal, the device controlled by the multimodal input-output circuit can control the multimodal input-output circuit, convert it into a first digital input signal and obtain it. Similarly, the multimodal input-output circuit can also be controlled to convert the generated digital output signal into a second analog output current signal or a second analog output voltage signal and then output it. In this way, only one circuit is needed to realize the acquisition and processing of multimodal signals, and also to realize the control of multimodal devices or equipment, which not only saves the control board space, but also further improves the dexterity of electronic products.

[0058] Combination Figure 7 The embodiment of the present invention provides a device 700 for controlling a multi-modal input-output circuit, comprising: The processor 1000 and the memory 1001 may also include a communication interface 1002 and a bus 1003. The processor 1000, the communication interface 1002, and the memory 1001 may communicate with each other through the bus 1003. The communication interface 1002 may be used for information transmission. The processor 1000 may call the logic instructions in the memory 1001 to execute the method for controlling the multi-modal input and output circuit of the above embodiment.

[0059] In addition, the logic instructions in the above-mentioned memory 1001 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0060] The memory 1001 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present invention. The processor 1000 executes the functional application and data processing by running the program instructions / modules stored in the memory 1001, that is, the method for controlling the multi-modal input and output circuit in the above method embodiment is implemented.

[0061] The memory 1001 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 1001 may include a high-speed random access memory and may also include a non-volatile memory.

[0062] An embodiment of the present invention provides a device for controlling a multi-modal input-output circuit, comprising: a processor and a memory storing program instructions, wherein the processor is configured to execute a multi-modal input-output circuit control method when executing the program instructions.

[0063] An embodiment of the present invention provides a storage medium storing program instructions, which, when run, execute the above-mentioned method for controlling a multi-modal input-output circuit.

[0064] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0065] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0066] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0067] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A multi-mode input-output circuit, characterized in that: include: An embedded control circuit (100), and a selection input circuit (200), an input AD conversion circuit (300), an output DA conversion circuit (400), and a selection output circuit (500) respectively connected to the embedded control circuit (100); The input selection circuit (200) is configured to sample and convert the acquired current analog voltage input signal or current analog current input signal into a first analog voltage input signal according to a first control instruction of the embedded control circuit (100), and then convert the first analog voltage input signal into a first digital input signal through the input AD conversion circuit (300) and input the first digital input signal into the embedded control circuit (100); The output selection circuit (500) is configured to convert the current digital output signal output by the embedded control circuit (100) into a corresponding second analog voltage output signal or a second analog current output signal through the output DA conversion circuit (400) according to the second control instruction of the embedded control circuit (100), and then output the converted signal.

2. The circuit according to claim 1, characterized in that The selection input circuit (200) comprises: an input protection filter circuit and a first photoelectric isolation selection circuit, wherein: The input protection filter circuit includes: a transient voltage suppressor TVS for overvoltage protection of the circuit, and an inductor and capacitor for filtering and anti-interference; The first isolation selection circuit includes: a first voltage isolation device and a first current isolation device. When the first control instruction is a voltage input control instruction, the first voltage isolation device will obtain the current analog voltage input signal, divide the voltage and sample it into a first analog voltage input signal. When the first control instruction is a current input control instruction, the first current isolation device will obtain the current analog current input signal, sample it and convert it into a first analog voltage input signal.

3. The circuit according to claim 2, characterized in that The first voltage isolation device includes: two photorelays, wherein the input sides of the photorelays are connected in series and two resistors for voltage division sampling are connected in series; The first current isolation device includes: two photorelays, wherein the input sides of the photorelays are connected in series and are connected in parallel to two resistors for sampling and conversion.

4. The circuit according to claim 2, characterized in that The selection input circuit (200) also includes: a fuse for current limitation, which is respectively connected to the input protection filter circuit and the first photoelectric isolation selection circuit.

5. The circuit according to claim 1, characterized in that The input AD conversion circuit (300) comprises: a two-stage power amplifier circuit and an AD conversion circuit, wherein an input end of the second-stage power amplifier circuit is connected to a voltage unification circuit for voltage translation, and the voltage unification circuit comprises: two groups of resistor combinations connected in parallel, each group of resistor combinations comprising two resistors connected in series.

6. The circuit according to claim 1, characterized in that The output DA conversion circuit (400) comprises: an isolation circuit, a voltage DA conversion circuit and a current DA conversion circuit; wherein: The current digital output signal is converted into a corresponding analog voltage signal to be output through an isolation circuit and a voltage DA conversion circuit, and input into a selection output circuit (500); The current digital output signal is converted into a corresponding analog current signal to be output through the isolation circuit, the current DA conversion circuit, and the selection output circuit (500), and is input to the selection output circuit (500).

7. The circuit according to claim 6, characterized in that The output selection circuit (500) comprises: a second isolation selection circuit and an output protection filter circuit, wherein: The second isolation selection circuit includes: a second voltage isolation device and a second current isolation device. When the second control instruction is a voltage output control instruction, the second voltage isolation device isolates the analog voltage signal to be output, and obtains the second analog voltage output signal through the output protection filter circuit and then outputs it; and when the control instruction is a current output control instruction, the second current isolation device isolates the analog current signal to be output, and obtains the second analog current output signal through the output protection filter circuit and then outputs it, and at the same time, inputs it into the current DA conversion circuit to form a current loop; The output protection filter circuit includes: a transient voltage suppressor TVS for overvoltage protection of the circuit, and an inductor and a capacitor for filtering and anti-interference.

8. The circuit according to claim 7, characterized in that The second voltage isolation device includes: two photorelays, wherein the input side of the photorelays are connected in series and current is limited by a resistor, and one end of a photorelay on the output side inputs an analog voltage signal to be output, and the other end is connected to an output protection filter circuit; The second current isolation device includes: two photorelays, wherein one end of the input side of the photorelay is connected in series and current is limited by a resistor, one end of a photorelay on the output side inputs the analog current signal to be output, and the other end is connected to the output protection filter circuit, and one end of the other photorelay on the output side is connected to the current DA conversion circuit, and the other end is connected to the output protection filter circuit.

9. A method for controlling a multi-modal input-output circuit, characterized in that: The multi-modal input-output circuit is a circuit as claimed in any one of claims 1 to 8, wherein the method comprises: Determine first current modal information corresponding to the current analog input signal, and send a first control instruction according to the first current modal information, so that the multi-modal input and output circuit converts the current analog input signal into a first digital input signal and obtains the first digital input signal, wherein the current analog input signal includes: a current analog voltage input signal or a current analog current input signal; Determine the second current modal information corresponding to the output signal currently required, and send a second control instruction based on the second current modal information, so that the multi-modal input and output circuit converts the output current digital output signal into a corresponding second analog voltage output signal or a second analog current output signal and then outputs it.

10. A device for controlling a multi-modal input and output circuit, the device comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to perform the multi-modal input-output circuit control method as claimed in claim 9 when executing the program instructions.

Citation Information

Patent Citations

  • Circuit system of multi-mode sensor for acquiring intracranial physiological and biochemical information

    CN113180602A

  • Multifunctional intelligent acquisition instrument and acquisition method thereof

    CN113468085A

  • High-energy-efficiency full-dynamic multi-mode sensor chip

    CN118464107A

  • Bus type intelligent sensor set for state monitoring

    CN1557664A

  • Signal-isolated multi-channel analog signal acquisition circuit

    CN221225360U

Cited By

  • Low-loss transmission method and system for current transformer signals

    CN120539656A

  • A low-loss transmission method and system for current transformer signals

    CN120539656B