A digital signal conditioning device
By using real-time system docking circuits, control circuits, microcontrollers and interface circuits in the digital signal conditioning device, flexible docking and mode conversion of different circuit forms are achieved, which solves the problem of low system flexibility in the existing technology and improves system efficiency. applicability and flexibility.
Patent Information
- Application Number
- CN202010775610.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-05
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-08-05
AI Technical Summary
Existing controllers need to adapt to multiple interface forms of different external digital sensors or devices, which results in the system design needing to fix a specific circuit form, which reduces the flexibility of the system and the applicability of the test system, resulting in a large system and increased cost.
Design a digital signal conditioning device, including a real-time system docking circuit, a control circuit, a microcontroller, an interface circuit, a sampling circuit and a drive circuit on the test motherboard. The microcontroller receives instructions from the host computer to control the real-time system docking circuit and drive circuit. and interface circuit to realize flexible docking and mode conversion of different circuit forms, providing pull-up, pull-down and push-pull output modes.
It improves the flexibility and test applicability of the system, enables the test motherboard to change the test mode according to the test instructions, enhances the applicability and flexibility of the system, supports multiple circuit form interfaces, and reduces the complexity and cost of the system.
Smart Images

Figure CN111752264B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of digital signal measurement and control, and in particular to a digital signal conditioning device. Background Art
[0002] A typical controller includes a computing core CPU and digital interfaces, analog interfaces, drive interfaces and bus interfaces for transmitting information to the outside world. The digital interfaces can be further divided into input channels and output channels, and the output channels are further divided into pull-up, pull-down, push-pull output, etc. For different circuit forms, the general controller will fix each channel to a specific circuit form based on the design requirements to connect with the external environment.
[0003] Since the external digital sensors or devices that the controller needs to connect to have different interface forms, the digital interface of the controller must correspond to them, and different voltage ranges and circuit forms need to be designed, which will reduce the flexibility of the system. At the same time, the test system of this type of controller must also have corresponding interface circuit forms. In order to be compatible with the tests of different controllers, the test system must also have more digital channels with different interface forms, which seriously reduces the flexibility of the system, resulting in a large system and increased costs. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings of the prior art that different circuit forms need to design specific circuits to interface with the external environment, thereby reducing the flexibility of the system, and to propose a digital signal conditioning device.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A digital signal conditioning device comprises a test mainboard connected to a real-time system and a controller under test, wherein a real-time system docking circuit, a control circuit, a microcontroller, an interface circuit, a plurality of sampling circuits and a plurality of driving circuits are respectively installed on the test mainboard, each of the sampling circuits is respectively connected to the real-time system docking circuit and the interface circuit, each of the driving circuits is respectively electrically connected to the control circuit and the interface circuit, the control circuit is respectively connected to the real-time system docking circuit, the microcontroller and the interface circuit, the real-time system docking circuit is connected to the real-time system, and the interface circuit is connected to the controller under test.
[0007] Preferably, the driving circuit includes a pre-driver chip U1, a capacitor C1 is connected in parallel to a VDD port and a VSS port of the pre-driver chip U1, a capacitor C2 is connected in parallel to an HB port and a HS port of the pre-driver chip U1, a resistor R1 and a MOS tube Q1 are sequentially connected in series to an HO port of the pre-driver chip U1, a diode D1 is connected in parallel to the resistor R1, a diode D3 is connected in parallel to the S pole and the D pole of the MOS tube Q1, a resistor R2 and a MOS tube Q2 are sequentially connected in series to an LO port of the pre-driver chip U1, a diode D2 is connected in parallel to the resistor R2, a diode D4 is connected in parallel to the S pole and the D pole of the MOS tube Q2, and a diode D5 is connected to the D poles of the MOS tube Q1 and the MOS tube Q2.
[0008] Preferably, the sampling circuit includes a comparator U2, the IN+ port of the comparator U2 is respectively connected to a resistor R3, a resistor R4 and a capacitor C3, the ends of the resistor R4 and the capacitor C3 away from the resistor R3 are commonly connected to the GND port of the comparator U2, and the OUT port of the comparator U2 is connected to a resistor R5.
[0009] Preferably, the interface circuit includes a bidirectional controllable switch S, a resistor R6 and a capacitor C4 are connected in series at the c-end of the bidirectional controllable switch S in sequence, an a-end of the bidirectional controllable switch S is connected to a current-limiting fuse F, a Vout end is led out of the current-limiting fuse F, a Vin end is led out of the b-end of the bidirectional controllable switch S, a S_ecu end is led out of the resistor R6 close to the c-end of the bidirectional controllable switch S, and the capacitor C4 is grounded.
[0010] Preferably, the VDD port of the pre-driver chip U1 is led to a Vcc terminal, the HI port of the pre-driver chip U1 is led to an H_Ctrl terminal, the LI port of the pre-driver chip U1 is led to an L_Ctrl terminal, the HS port of the capacitor C2 away from the pre-driver chip U1 is led to a Vhb terminal, the S pole of the MOS tube Q1 is led to a Vbus terminal, the S pole of the MOS tube Q2 is grounded, and the D pole of the MOS tube Q2 is led to a V_out terminal.
[0011] Preferably, a V_in terminal is led out from one end of the resistor R3 away from the IN+ port of the comparator U2, a Vref terminal is led out from the IN- port of the comparator U2, a S_DI terminal is led out from one end of the resistor R5 away from the OUT port of the comparator U2, a GND port of the comparator U2 is grounded, and a Vdc is led out from the power supply end of the comparator U2.
[0012] The present invention has the following beneficial effects:
[0013] 1. The control circuit and microcontroller control the real-time system docking circuit, drive circuit and interface circuit, so that the test mainboard can change the test mode of the test mainboard according to the test instructions of the host computer, thereby improving the flexibility of the system.
[0014] 2. The real-time system docking circuit provides two modes: receiving the digital signal sent by the real-time system, isolating and processing it and transmitting it to the control circuit; and transmitting the digital signal obtained by the sampling circuit to the real-time system after processing, thereby increasing the applicability of system testing.
[0015] 3. The driving circuit provides pull-up output, pull-down output and push-pull output mode switching through MOS tube Q1 and MOS tube Q2, further increasing the applicability of system testing.
[0016] In summary, the present invention receives control instructions sent by a microcontroller through a control circuit and controls the real-time system docking circuit, drive circuit and interface circuit to respectively realize working mode conversion, drive circuit output mode conversion and input and output mode of the interface circuit to cope with different circuit forms and improve the flexibility of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A system block diagram of a digital signal conditioning device proposed by the present invention;
[0018] Figure 2 A schematic diagram of a driving circuit of a digital signal conditioning device proposed by the present invention;
[0019] Figure 3 A schematic diagram of a sampling circuit of a digital signal conditioning device proposed by the present invention;
[0020] Figure 4 The present invention provides a schematic diagram of an interface circuit of a digital signal conditioning device. DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0022] Reference Figure 1-4A digital signal conditioning device includes a test mainboard connected to a real-time system and a controller under test, on which a real-time system docking circuit, a control circuit, a microcontroller, an interface circuit, a plurality of sampling circuits and a plurality of driving circuits are respectively installed, each sampling circuit is respectively connected to the real-time system docking circuit and the interface circuit, each driving circuit is respectively electrically connected to the control circuit and the interface circuit, the control circuit is respectively connected to the real-time system docking circuit, the microcontroller and the interface circuit, the real-time system docking circuit is connected to the real-time system, and the interface circuit is connected to the controller under test.
[0023] The driving circuit includes a pre-driving chip U1, a capacitor C1 is connected in parallel to a VDD port and a VSS port of the pre-driving chip U1, a capacitor C2 is connected in parallel to an HB port and a HS port of the pre-driving chip U1, a resistor R1 and a MOS tube Q1 are connected in series to an HO port of the pre-driving chip U1, a diode D1 is connected in parallel to the resistor R1, a diode D3 is connected in parallel to the S pole and the D pole of the MOS tube Q1, a resistor R2 and a MOS tube Q2 are connected in series to an LO port of the pre-driving chip U1, a diode D2 is connected in parallel to the resistor R2, a diode D4 is connected in parallel to the S pole and the D pole of the MOS tube Q2, and a diode D5 is connected to the D poles of the MOS tube Q1 and the MOS tube Q2.
[0024] The sampling circuit includes a comparator U2, the IN+ port of the comparator U2 is connected to a resistor R3, a resistor R4 and a capacitor C3 respectively, the ends of the resistor R4 and the capacitor C3 away from the resistor R3 are commonly connected to the GND port of the comparator U2, and the OUT port of the comparator U2 is connected to a resistor R5.
[0025] The interface circuit includes a bidirectional controllable switch S, a resistor R6 and a capacitor C4 are connected in series at the c-end of the bidirectional controllable switch S in sequence, a-end of the bidirectional controllable switch S is connected to a current-limiting fuse F, a Vout end is led from the current-limiting fuse F, a Vin end is led from the b-end of the bidirectional controllable switch S, a S_ecu end is led from the c-end of the resistor R6 close to the bidirectional controllable switch S, and the capacitor C4 is grounded;
[0026] The interface circuit realizes the connection between the controller under test and the sampling circuit and the driving circuit. Its working mode is controlled by the control circuit and mainly has two working modes: input mode, connecting the controller under test and the sampling circuit input terminal V_in; output mode, connecting the controller under test and the driving circuit output V_out.
[0027] The VDD port of the pre-driver chip U1 leads to a Vcc terminal, the HI port of the pre-driver chip U1 leads to an H_Ctrl terminal, the LI port of the pre-driver chip U1 leads to an L_Ctrl terminal, the HS port of the capacitor C2 away from the pre-driver chip U1 leads to a Vhb terminal, the S pole of the MOS tube Q1 leads to a Vbus terminal, the S pole of the MOS tube Q2 is grounded, and the D pole of the MOS tube Q2 leads to a V_out terminal;
[0028] By controlling the upper bridge arm MOS tube Q1 to be constantly turned off and only the lower bridge arm MOS tube Q2 to be activated, a pull-down output is achieved; by controlling the lower bridge arm MOS tube Q2 to be turned off and only the upper bridge arm MOS tube Q1 to be activated, a pull-up output is achieved; by activating both the upper and lower bridge arm MOS tubes Q1 and Q2, a push-pull output is achieved.
[0029] The end of the resistor R3 away from the IN+ port of the comparator U2 leads to the V_in terminal, the IN- port of the comparator U2 leads to the Vref terminal, the end of the resistor R5 away from the OUT port of the comparator U2 leads to the S_DI terminal, the GND port of the comparator U2 is grounded, and the power supply terminal of the comparator U2 leads to Vdc.
[0030] When the present invention is in use, the microcontroller receives instructions sent by the upstream control system through the CAN bus, translates the instructions into instructions for the back-end control circuit, and transmits them to the control circuit. The control circuit further parses the instructions into control instructions for the real-time system docking circuit, the drive circuit and the interface circuit based on the instructions. The control circuit receives the real-time system digital signal forwarded by the real-time system docking circuit and translates it into control instructions for the drive circuit.
[0031] After receiving the control instruction issued by the control circuit from the H_Ctrl terminal and the L_Ctrl terminal, the HI port and the LI port of the driving circuit are inputted, and then amplified by the pre-driving chip into the control signal of the subsequent MOS tube Q1 and the MOS tube Q2, driving the MOS tube Q1 and the MOS tube Q2 to operate, and then the output is converted into a digital signal and output from the V_out terminal. By controlling the upper bridge arm MOS tube Q1 to be constantly turned off, only the lower bridge arm MOS tube Q2 operates, and it is a pull-down output; by controlling the lower bridge arm MOS tube Q2 to be turned off, only the upper bridge arm MOS tube Q1 operates, it is a pull-up output; by both the upper and lower bridge arm MOS tubes Q1 and the MOS tube Q2 operate, it is a push-pull output.
[0032] The digital signal output by the controller under test is input through the S_ecu terminal, and reaches the sampling circuit from the Vin terminal after being processed by the interface circuit. The sampling circuit inputs the digital signal to the V_in terminal and compares it with the reference voltage at the Vref terminal. If it is higher than the reference voltage at the Vref terminal, the output of the S_DI terminal is 1, and the voltage is TTL specification; if it is lower than the reference voltage at the Vref terminal, the output of the S_DI terminal is 0. The digital signal is transmitted from the S_DI terminal to the real-time system after passing through the real-time system docking circuit.
[0033] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A digital signal conditioning device, comprising a test mainboard connecting a real-time system and a controller under test, characterized in that: The test mainboard is respectively installed with a real-time system docking circuit, a control circuit, a microcontroller, an interface circuit, a plurality of sampling circuits and a plurality of driving circuits, each of the sampling circuits is respectively connected to the real-time system docking circuit and the interface circuit, each of the driving circuits is respectively electrically connected to the control circuit and the interface circuit, the control circuit is respectively connected to the real-time system docking circuit, the microcontroller and the interface circuit, the real-time system docking circuit is connected to the real-time system, and the interface circuit is connected to the controller under test; The driving circuit includes a pre-driver chip U1, a capacitor C1 is connected in parallel to a VDD port and a VSS port of the pre-driver chip U1, a capacitor C2 is connected in parallel to an HB port and a HS port of the pre-driver chip U1, a resistor R1 and a MOS transistor Q1 are sequentially connected in series to an H0 port of the pre-driver chip U1, a diode D1 is connected in parallel to the resistor R1, a diode D3 is connected in parallel to the S pole and the D pole of the MOS transistor Q1, a resistor R2 and a MOS transistor Q2 are sequentially connected in series to an L0 port of the pre-driver chip U1, a diode D2 is connected in parallel to the resistor R2, a diode D4 is connected in parallel to the S pole and the D pole of the MOS transistor Q2, and a diode D5 is connected to the D poles of the MOS transistor Q1 and the MOS transistor Q2; The sampling circuit includes a comparator U2, wherein the IN+ port of the comparator U2 is respectively connected to a resistor R3, a resistor R4 and a capacitor C3, the ends of the resistor R4 and the capacitor C3 away from the resistor R3 are commonly connected to the GND port of the comparator U2, and the OUT port of the comparator U2 is connected to a resistor R5.
2. A digital signal conditioning device according to claim 1, characterized in that: The interface circuit includes a bidirectional controllable switch S, a resistor R6 and a capacitor C4 are connected in series at the c-end of the bidirectional controllable switch S in sequence, an a-end of the bidirectional controllable switch S is connected to a current-limiting fuse F, a Vout end is led out of the current-limiting fuse F, a Vin end is led out of the b-end of the bidirectional controllable switch S, a S_ecu end is led out of the resistor R6 close to the c-end of the bidirectional controllable switch S, and the capacitor C4 is grounded.
3. A digital signal conditioning device according to claim 1, characterized in that: The VDD port of the pre-driver chip U1 leads to a Vcc terminal, the HI port of the pre-driver chip U1 leads to an H_Ctrl terminal, the LI port of the pre-driver chip U1 leads to an L_Ctrl terminal, the HS port of the capacitor C2 away from the pre-driver chip U1 leads to a Vhb terminal, the S pole of the MOS tube Q1 leads to a Vbus terminal, the S pole of the MOS tube Q2 is grounded, and the D pole of the MOS tube Q2 leads to a V_out terminal.
4. A digital signal conditioning device according to claim 1, characterized in that: The end of the resistor R3 away from the IN+ port of the comparator U2 leads to the V_in terminal, the IN- port of the comparator U2 leads to the Vref terminal, the end of the resistor R5 away from the OUT port of the comparator U2 leads to the S_DI terminal, the GND port of the comparator U2 is grounded, and the power supply terminal of the comparator U2 leads to Vdc.
Citation Information
Patent Citations
Portable engineering vehicle-mounted ECU detection device
CN106774239A
Portable rapid detection device for vehicle integrated electronic information system
CN106872828A
Vehicle control unit test equipment and test system
CN207488813U
Digital signal conditioning device
CN212322111U
Mechanism for integrating real time self-test failure detection method into a / d converter
JP2001111423A
