Circuit for automatically detecting ceramic valve circuit board
By automatically detecting the circuit of the ceramic valve circuit board, and using the microcontroller control circuit and current measurement circuit, the automated detection of the CRF circuit board is realized, solving the problems of low detection efficiency and difficulty in fault positioning in the existing technology, and improving the detection efficiency and accuracy.
Patent Information
- Application Number
- CN202421760695.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2034-07-23
AI Technical Summary
The existing CRF-type delay ceramic fuel valve circuit board detection relies on manual operation, and the detection efficiency is low, error-prone, and the failure position cannot be alarmed in time.
A circuit that automatically detects the circuit board of the ceramic piece valve is designed, and uses a microcontroller control circuit, current measurement circuit and cylinder driving circuit to achieve automatic detection through the contact and disengagement between the brush and the contacts, combined with current and level detection.
Improve detection efficiency, reduce error rate, save manpower, and prompt alarms and quickly locate fault locations.
Smart Images

Figure CN223051457U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of vehicle oil tank valve switching, in particular to a circuit for automatically detecting a ceramic valve circuit board. Background Art
[0002] At present, the circuit board detection of CRF (ceramic valve core fuel conversion valve) type delayed ceramic fuel valve, the existing main and auxiliary fuel tank switching is manually judged by the driver through the fuel gauge. When the fuel level is too low, the main and auxiliary fuel tanks are switched by turning the fuel tank conversion switch to control the main and auxiliary fuel tank conversion valve. It mainly relies on manual detection of whether the circuit board functions normally. The whole process detection process is not very friendly to the inspector, requires two-handed operation, and has strict requirements on the detection sequence; and when the circuit board function is abnormal, the main and auxiliary fuel tank conversion valve fails, and it is impossible to prompt an alarm and quickly locate the fault position.
[0003] In view of the above shortcomings, in order to improve the efficiency of circuit board detection, a device for automatic detection of ceramic valve circuit boards is designed. You only need to install the circuit board to be inspected into the outer casing, and then place it in a fixed place of the equipment, press the start button of the detection, and all the detection items can be completed. Utility Model Content
[0004] The main purpose of the utility model is to provide a circuit for automatically detecting a ceramic valve circuit board, so as to solve the problems that the ceramic valve circuit board detection process is prone to errors, consumes manpower, and cannot prompt an alarm and quickly locate the fault position.
[0005] In order to solve the above technical problems, the technical solution adopted by the utility model is: a circuit for automatically detecting a ceramic valve circuit board, comprising a single-chip control circuit, the input end of which is electrically connected to a start button branch, a power supply circuit, a current measurement circuit, a cylinder drive circuit and a circuit board to be tested, and the circuit board to be tested is connected to the other end of the current measurement circuit;
[0006] The other end of the cylinder driving circuit is connected to the cylinder, and the output end of the cylinder is connected to the first motor and the second motor. The front end of the first motor and the second motor are each provided with a brush, and the circuit board to be tested is provided with contacts corresponding to the brush;
[0007] When the starting button branch is connected, the detection starts. The first terminal of the single-chip microcomputer control circuit connected to the power supply circuit is at a high level, the second terminal is at a low level, or the first terminal is at a low level and the second terminal is at a high level, and the current measurement circuit obtains the corresponding current value. After a preset time interval, the single-chip microcomputer control circuit sends a control signal to the cylinder drive circuit, and the cylinder drive circuit controls the cylinder to move to the right or left, and the corresponding first motor and second motor rotate counterclockwise or clockwise. When the corresponding brush contacts the corresponding contact on the circuit board to be measured, the corresponding first level and second level are obtained.
[0008] In a preferred solution, after obtaining the corresponding first level and second level and after a preset time interval, the single-chip microcomputer control circuit sends a control signal to the cylinder drive circuit again. The cylinder drive circuit makes the cylinder move to the left or right, and the corresponding first motor and second motor rotate clockwise or counterclockwise. When the corresponding brush disengages from the corresponding contact on the circuit board to be measured, they return to their respective initial positions, and the circuit board to be measured stops working.
[0009] In a preferred solution, the single-chip microcomputer control circuit is also connected to the signal circuit. The single-chip microcomputer control circuit compares the obtained corresponding current value, first level and second level with the preset working current value, first working level and second working level:
[0010] If they are all within the preset corresponding threshold ranges, the detection is qualified, and the signal circuit lights up a green indicator light;
[0011] Otherwise, the detection is unqualified, and the signal circuit lights up a red indicator light.
[0012] In a preferred solution, the starting button branch includes a push-button switch S1. One end of the push-button switch S1 is connected to the single-chip microcomputer control circuit, and the other end of the push-button switch S1 is grounded. When the push-button switch S1 is pressed, the first terminal of the single-chip microcomputer control circuit connected to the power supply circuit is at a high level, and the second terminal is at a low level. After a plurality of preset time intervals, the first terminal of the single-chip microcomputer control circuit connected to the power supply circuit is at a low level, and the second terminal is at a high level.
[0013] In a preferred solution, it further includes that the first motor and the second motor are connected to the single-chip microcomputer control circuit through a motor drive chip.
[0014] The utility model provides a circuit for automatically detecting a circuit board of a ceramic chip valve, which includes a single-chip microcomputer control circuit. The input end of the single-chip microcomputer control circuit is connected to a cylinder driving circuit and a circuit board to be tested. The other end of the circuit board to be tested is connected to the other end of a current measurement circuit. The other end of the cylinder driving circuit is connected to a cylinder. The output end of the cylinder is connected to a first motor and a second motor. Electric brushes are installed at the front ends of the first motor and the second motor. Contacts corresponding to the electric brushes are arranged on the circuit board to be tested. When the start key branch is connected, the detection starts. The first wiring terminal of the single-chip microcomputer control circuit accessing the power supply circuit is at a high level, the second wiring terminal is at a low level, or the first wiring terminal is at a low level and the second wiring terminal is at a high level. The current measurement circuit acquires the corresponding current value, and when the corresponding electric brush contacts the corresponding contact on the circuit board to be tested, the corresponding first level and second level are obtained. Through the peripheral detection circuit, the CRF detection is realized automatically, the efficiency of detecting the circuit board is improved, the error rate is reduced, a large amount of manpower is saved, and the alarm can be prompted in time and the fault position can be quickly located. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The following further describes the present utility model in conjunction with the drawings and embodiments:
[0016] Figure 1 is the working principle circuit diagram of the present utility model;
[0017] Figure 2 is the schematic diagram of the state of the level to be measured of the present utility model;
[0018] Figure 3 is the circuit diagram of current acquisition and signal switching of the present utility model;
[0019] Figure 4 is the circuit diagram of cylinder control of the present utility model;
[0020] Figure 5 is the circuit diagram of motor control of the present utility model;
[0021] Figure 6 is the circuit connection diagram of the main control chip of the present utility model;
[0022] Figure 7 is the diagram of electric brushes of the present utility model;
[0023] Figure 8 is the schematic diagram of the electric brush and the contact of the present utility model. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0024] Embodiment 1
[0025] As Figure 1-7As shown in the figure, a circuit for automatically detecting a ceramic chip valve circuit board includes a single-chip microcomputer control circuit. The input end of the single-chip microcomputer control circuit is electrically connected to a start button branch, a power supply circuit, a current measurement circuit, a cylinder drive circuit, and a circuit board to be tested. The circuit board to be tested is connected to the other end of the current measurement circuit.
[0026] The other end of the cylinder drive circuit is connected to cylinder M. The output end of cylinder M is connected to a first motor and a second motor. A brush is provided at the front end of each of the first motor and the second motor. Contacts corresponding to the brushes are provided on the CRF circuit board.
[0027] When the start button branch is connected, the detection starts. The first connection terminal of the single-chip microcomputer control circuit connected to the power supply circuit is at a high level, the second connection terminal is at a low level, or the first connection terminal is at a low level and the second connection terminal is at a high level. The current measurement circuit obtains the corresponding current value. After a preset time interval, the single-chip microcomputer control circuit sends a control signal to the cylinder drive circuit. The cylinder drive circuit controls cylinder M to move to the right or left, and the corresponding first motor and second motor rotate counterclockwise or clockwise. When the corresponding brush contacts the corresponding contact on the circuit board to be tested, the corresponding first level and second level are obtained.
[0028] In this embodiment, the CRF circuit board is the circuit board to be batch-tested.
[0029] As Figure 1 shown, the single-chip microcomputer control circuit is connected to the CRF circuit board. When the start button branch starts the connection between the power supply circuit and the single-chip microcomputer control circuit, the current measurement circuit performs current detection to obtain a current value. At the same time, the cylinder drive circuit controls cylinder M to move to the right or left, and the corresponding first motor and second motor rotate counterclockwise or clockwise. When the corresponding brush contacts the corresponding contact on the circuit board to be tested, the corresponding first level and second level are obtained, thus completing the detection. Through the peripheral detection circuit, the automation of CRF detection is realized, the efficiency of detecting the circuit board is improved, the error rate is reduced, a large amount of manpower is saved, and the alarm can be prompted in time and the fault location can be quickly located.
[0030] In this embodiment, Figure 1 U5 is the main control chip STM32F103C8T6, IC2 / IC1 is the motor drive chip TB67H450FNG, U3 is the 24VDC / 5DCV DC power conversion chip, U6 is the 5 / 3.3V DC power conversion chip, and the first motor and the second motor are DG1 and DG2; U11 is the current sampling chip INA138NA / 3K, U4 is the MOS tube, I1 and I2 are the working currents after CRF starts, and U15 is the optocoupler module.
[0031] In this embodiment, the preset time interval is 2 seconds, which is set in the single-chip microcomputer, and the specific value can be adaptively adjusted according to the size of the specific circuit.
[0032] In the preferred solution, after obtaining the corresponding first level and second level, after a preset time interval, the single-chip microcomputer control circuit sends a control signal to the cylinder drive circuit again. The cylinder drive circuit makes the cylinder M move left or right, and the corresponding first motor and second motor rotate clockwise or counterclockwise. When the corresponding brush disengages from the contact point of the circuit board under test, it returns to its respective initial position, and the circuit board under test stops working.
[0033] As Figure 2 shown, it is the schematic diagram of the first level and second level states. The first level is V1, the second level is V2, or the first level is V3 and the second level is V4. There are two levels of states. The high level is 3.3V and the low level is 0V. The contacts are specially made according to the circuit characteristics of the CRF circuit board.
[0034] As Figure 7-8 shown, it is the schematic diagram of the brush and contact points in this embodiment. Figure 8 It is the schematic diagram of the contact between the contact points of the CRF circuit board and the brush. In the figure, DS1 and DS2 are the brush diagrams on the first motor and the second motor, and N is the connection point where the circuit of the CRF is connected or disconnected. Figure 7 It is the brush diagram, and the specific description is as follows.
[0035] 1) When the first terminal D+ and the second terminal E-, when the brush is connected to the corresponding contact point, as Figure 8 marked at the position of DS1, then DS1 is connected to N, and the circuit of the CRF stops working.
[0036] 2) When the first terminal D- and the second terminal E+, when the brush is connected to the corresponding contact point, as Figure 8 marked at the position of DS2, then DS2 is connected to N, and the circuit of the CRF stops working.
[0037] The single-chip microcomputer control circuit in this embodiment is as Figure 6 shown. One end of the key switch S1 is connected to the single-chip microcomputer control circuit.
[0038] Both ends of the key switch S1 are grounded in parallel with the capacitor C50, and the other end of the key switch S1 is connected to the resistor R27 and connected to the 3.3V power supply.
[0039] The specific analysis is as follows:
[0040] After power-on, press the start detection key S1. During the whole control process, when the whole detection circuit is powered on:
[0041] 1) First stage: At both ends of the power supply circuit, i.e., the D / E terminals, a voltage signal of D+ / E- is output, and the CRF circuit board starts to work. The working current is denoted as I1. After 2 seconds, at this time, the circuit of this embodiment controls the cylinder M to push DG1 / DG2 to move leftward. Corresponding brushes DS1 and DS2 are installed at the front ends of DG1 and DG2.
[0042] When the brushes at the front ends of DG1 / DG2 contact the corresponding contacts on the CRF circuit board: DS1 stops the CRF circuit board from working. As Figure 2 shown, DS2 makes the 2 and 3 contacts connected, so that the PC14 terminal obtains the level V1 = 3.3V, and the PC15 terminal obtains the level V2 = 0V. The levels V1 and V2 are the first level and the second level respectively.
[0043] After another 2 seconds, the circuit of this embodiment controls the cylinder M to move rightward, so that the brushes on DG1 and DG2 are disengaged from the CRF circuit board, and the detection in the first stage is completed.
[0044] In this embodiment, the normal value of I1 is between 60 - 90 mA. In this embodiment, the distance between the brush and the corresponding contact is set within the distance range that can be reached when DG1 / DG2 rotates counterclockwise by 180°, and it can also be adjusted according to the actual situation; the contact can be used to detect the level change or other signals when the brush contacts, such as current, power, etc.
[0045] 2) Second stage: At the D / E terminals, a voltage signal of D- / E+ is output, and the CRF circuit board starts to work. The working current is denoted as I2. After 2 seconds, the circuit of this embodiment controls DG1 / DG2 to rotate counterclockwise by 180°. After a period of time, the circuit of this embodiment controls the cylinder M to push DG1 / DG2 to move leftward. Corresponding brushes DS1 and DS2 are at the front ends of DG1 / DG2.
[0046] When the corresponding brushes DS1 and DS2 contact the corresponding contacts on the CRF circuit board, DS1 makes the CRF circuit board stop working. As Figure 2 shown, DS2 makes the 2 and 1 contacts connected. PC14 obtains the level V3 = 0, and PC15 obtains the level V4 = 3.3VDC. At this time, the first level and the second level are the levels V3 and V4 respectively.
[0047] After another 2 seconds, the circuit of this embodiment controls the cylinder M to move rightward, so that DS1 and DS2 are disengaged from the CRF circuit board, and the circuit of this embodiment controls DG1 / DG2 to rotate clockwise by 180°, and the detection in the second stage is completed.
[0048] The time settings in this embodiment are all estimated values of the time required for the actual previous action to be completed. They are set according to experience and can be adaptively modified.
[0049] 3) Third stage: Judge the currents I1, I2 and the levels V1, V2, V3, V4.
[0050] In the preferred solution, the single-chip microcomputer control circuit is also connected to the signal circuit. The single-chip microcomputer control circuit compares the obtained corresponding current values, the first level and the second level with the preset working current value, the first working level and the second level. If they are all within the preset corresponding threshold ranges, it is detected as qualified, and the signal circuit lights up the green indicator light; otherwise, it is detected as unqualified, and the signal circuit lights up the red indicator light.
[0051] It should be noted that if all the judgment items of the above parameters are qualified, the green indicator light will be on. If any one of them is unqualified, it is determined as unqualified and the red light is on.
[0052] Figure 4 Provide a schematic diagram of a cylinder control circuit. In this embodiment, the cylinder control principle is as follows: Combining Figure 1 and Figure 4 as shown, PB9 of U5 outputs a high level, U15 does not work, triode Q4 is turned off, relay J4 is released, cylinder M does not work, DG1 / DG2 moves to the original position to the right, so that the brushes on the motor DG1 / DG2 are disengaged from the corresponding contacts on the CRF circuit board. The switching function of the triode in the circuit is used in this schematic diagram.
[0053] When PB9 of U5 outputs a low level, U15 works, triode Q4 is turned on, relay J4 is attracted, cylinder M works, and it pushes DG1 / DG2 to move a certain distance to the left, so that the brushes on DG1 / DG2 are in contact with the corresponding contacts on the CRF circuit board.
[0054] Figure 5 This is the control circuit for DG1 / DG2. In this embodiment, the motor drive chip TB67H450FNG is used. The two ends of DG1 are respectively connected to pins 6 and 8, and pin 1 is grounded.
[0055] Pin 2 is in series with inductor L4 and resistor R4. After connecting capacitor C7 between the two, it is grounded, and the other end of R4 is connected to PA9.
[0056] Pin 3 is in series with inductor L7 and resistor R7. After connecting capacitor C16 between the two, it is grounded, and the other end of R7 is connected to PA8.
[0057] Pin 4 is connected to one ends of capacitor C15, resistor R11, and resistor R9. The other ends of capacitor C15 and resistor R11 are connected to one end of capacitor C17 and then grounded. The other end of capacitor C17 is connected to the other end of resistor R9 and connected to the 5V power supply. Pin 4 provides an internal stable reference voltage for the chip.
[0058] Pin 5 is connected to an external power supply and is connected to capacitors C13 and C14 in parallel. The other ends of capacitors C13 and C14 are grounded.
[0059] Pin 7 is grounded after being connected in series with resistor R5.
[0060] The setting of the DG2 control circuit is the same as that of the DG1 control circuit, which will not be elaborated here.
[0061] The working principle is as follows: When the power supply terminals D+ and E- are connected, PA8 / PA9 and PA10 / PA11 of U5 both output low levels, and DG1 / DG2 do not rotate.
[0062] PA8 of U5 outputs a high level, PA9 outputs a low level, DG1 rotates counterclockwise by 180°. PA8 of U5 outputs a low level, PA9 outputs a high level, and DG1 rotates clockwise by 180°.
[0063] PA11 of U5 outputs a high level, PA10 outputs a low level, DG2 rotates counterclockwise by 180°. PA11 of U5 outputs a low level, PA10 outputs a high level, and DG2 rotates clockwise by 180°.
[0064] In the preferred solution, the start button branch includes a button switch S1. One end of the button switch S1 is connected to the single-chip microcomputer control circuit, and the other end of the button switch S1 is grounded. When the button switch S1 is pressed, the single-chip microcomputer control circuit is connected to the first terminal D+ and the second terminal E- of the power supply circuit. After several preset time intervals, the single-chip microcomputer control circuit is connected to the first terminal D- and the second terminal E+ of the power supply circuit.
[0065] The current acquisition of this embodiment is described as follows:
[0066] As Figure 3 shown, this is the current acquisition circuit in this embodiment. The power supply access terminals D / E supply power to the CRF circuit board. U11 is a current measurement chip. R43 is a 0.06Ω / 1W high-power precision alloy sampling resistor. R41 / R42 are the output voltage amplification ratio adjustment resistors of the current chip. AD0 is the AD acquisition channel 0 of chip U5. R44 / C59 is a low-pass filter circuit.
[0067] PA8 / PB7 of U5 outputs a high level, U12 does not work, Q3 is turned off, J1 is released, the voltage output between D / E is E+ / D-, the D / E terminal supplies power to the CRF circuit board, the circuit board starts, the working current will increase, through the sampling resistor R43, U11 will output a voltage proportional to the current on R43. Through AD0, U5 will acquire this value, and the control program inside U5 will automatically judge whether the converted current is within the normal range.
[0068] The PA8 of U5 outputs a low level, and PB7 outputs a high level. U12 works, Q3 conducts, J1 closes, and the voltage output between D / E is E- / D+. The D / E terminal powers the CRF circuit board. The CRF circuit board starts, and the working current will increase. Through the sampling resistor R43, U11 will output a voltage proportional to the current on R43. Through AD0, U5 will collect this value. The control program inside U5 automatically judges whether the magnitude of the converted current is within the normal range, thus realizing the detection of the current.
[0069] In use, this embodiment is a comprehensive control system, involving components such as motors, cylinders, and current measurement, controlled by a single-chip microcomputer and interacting with the circuit board to be tested. The D / E terminal outputs a voltage signal of D+ / E-. The CRF circuit board starts to work, and the working current is denoted as I1. After 2 seconds, at this time, the patented circuit controls the cylinder M to push DG1 / DG2 to move to the left. A special brush is installed at the front end of DG1 / DG2. When the brush at the front end of DG1 / DG2 touches the corresponding contact of the CRF circuit board, the CRF circuit board stops working. The levels V1 and V2 are obtained. After 2 seconds, the cylinder M moves to the right, so that the brush on DG1 / DG2 is separated from the CRF circuit board and returns to its original position, completing a stage of the test. When the D / E terminal outputs a voltage signal of D- / E+, the test process is similar, thus completing the test. Then, the corresponding voltage value and current value are compared with the set normal voltage value and current value to obtain the detection result. The whole process realizes automatic testing without manual participation, saving manpower and improving work efficiency and accuracy.
[0070] The above embodiments are only the preferred technical solutions of the present invention and should not be regarded as limitations on the present invention. The protection scope of the present invention should be the technical solutions recorded in the claims, including equivalent replacement solutions of the technical features in the technical solutions recorded in the claims. That is, equivalent replacement improvements within this scope are also within the protection scope of the present invention.
Claims
1. A circuit for automatically detecting a ceramic valve circuit board, characterized by: It includes a single-chip control circuit, the input end of which is connected to a start button branch, a power supply circuit, a current measurement circuit, a cylinder drive circuit and a circuit board to be tested, and the circuit board to be tested is connected to the other end of the current measurement circuit; The other end of the cylinder driving circuit is connected to the cylinder, and the output end of the cylinder is connected to the first motor and the second motor. The front end of the first motor and the second motor are each provided with a brush, and the circuit board to be tested is provided with contacts corresponding to the brush; When the start button branch is connected, the detection starts, the first terminal of the single-chip control circuit connected to the power supply circuit is high level, the second terminal is low level, or the first terminal is low level, the second terminal is high level, and the current measurement circuit obtains the corresponding current value; after a preset time interval, the single-chip control circuit sends a control signal to the cylinder drive circuit, the cylinder drive circuit controls the cylinder to move right or left, and the corresponding first motor and second motor rotate counterclockwise or clockwise, and when the corresponding brush contacts the corresponding contact on the circuit board to be tested, the corresponding first level and second level are obtained.
2. The circuit for automatically detecting a ceramic valve circuit board according to claim 1 is characterized in that: After obtaining the corresponding first level and second level and maintaining them for a preset time interval, the single-chip control circuit again sends a control signal to the cylinder drive circuit, and the cylinder drive circuit causes the cylinder to move left or right, and the corresponding first motor and second motor rotate clockwise or counterclockwise, and when the corresponding brushes are separated from the corresponding contacts on the circuit board to be tested, they return to their respective corresponding initial positions, and the circuit board to be tested stops working.
3. The circuit for automatically detecting a ceramic valve circuit board according to claim 2 is characterized in that: The single-chip control circuit is also connected to the signal circuit, and the single-chip control circuit compares the acquired corresponding current value, the first level and the second level with the preset working current value, the first working level and the second working level: If they are all within the preset corresponding threshold range, the test is qualified and the signal circuit lights up green; Otherwise, the test is unqualified and the signal circuit lights up red.
4. The circuit for automatically detecting a ceramic valve circuit board according to claim 1 is characterized in that: The start button branch includes a button switch S1, one end of which is connected to the microcontroller control circuit, and the other end of the button switch S1 is grounded; when the button switch S1 is pressed, the microcontroller control circuit is connected to the power supply circuit at a high level and the second terminal is at a low level. After multiple preset time intervals, the first terminal of the microcontroller control circuit connected to the power supply circuit is at a low level and the second terminal is at a high level.
5. The circuit for automatically detecting a ceramic valve circuit board according to claim 1 is characterized in that: It also includes a first motor and a second motor connected to a single-chip microcomputer control circuit via a motor drive chip.