A device for automatically collecting high and low level states under low current

By designing a small current automatic acquisition device including a relay and a acquisition circuit, the problem that traditional acquisition circuits cannot automatically acquire high and low-level levels is solved, and the automatic identification and acquisition of the external switching status of the computer is realized, reducing the design complexity and overhead.

CN115390494BActive Publication Date: 2025-05-02TIANJIN JINHANG COMP TECH RES INST
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211097207.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2025-05-02
Estimated Expiration
2042-09-08

AI Technical Summary

Technical Problem

The external switching quantity acquisition circuit of traditional computers cannot automatically acquire high and low-level levels, and increases the overhead of the needle jump device, which is not conducive to the miniaturization design of computer modules.

Method used

Design a high and low-level automatic acquisition device under small current, including two parts: relay and acquisition circuit. The relay is used to realize the state switching control of the computer's external switching quantity, and the acquisition circuit is used to convert the state of the computer's external switching quantity into the state bit of the CPU processor's identification.

Benefits of technology

It realizes automatic acquisition of high and low-bit switches in small current states, and can identify the external switches of the computer without manual settings, reducing the design complexity and overhead of the computer module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115390494B_ABST
    Figure CN115390494B_ABST
Patent Text Reader

Abstract

The present invention relates to an automatic acquisition device for high and low level states under low current, belonging to the technical field of data acquisition. The present invention can realize the CPU processor acquisition of high and low level switch quantities under low current state, and when the external switch quantity of the computer is in a changing state, the device can automatically identify it without manual setting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of data acquisition, and in particular relates to a device for automatically acquiring high and low level states under low current. Background Art

[0002] In the field of computer control, the CPU processor usually needs to use the state acquisition circuit when collecting the state of the computer's external switch quantity. When the high and low levels of the external switch quantity are different, the state acquisition circuit settings will also be different, such as Figure 1a , Figure 1b Although the problem can be solved by manual jumper, when the CPU processor needs to collect and calculate the status of multiple switch quantities, the manual jumper work is bound to be complicated, and it also increases the cost of jumper devices, which is not conducive to the miniaturization design of computer modules; at the same time, when the external switch quantity of the computer is in a changing state, the manual jumper method cannot solve the problem, such as Figure 2 shown.

[0003] like Figure 1a and Figure 1b As shown in the figure, when the state of the external switch quantity of the computer is high or low, the chip pins corresponding to the switch quantity in the acquisition circuit are different. Figure 2 As shown in the figure, the switch quantity acquisition circuit is designed by jumper. When the switch quantity is in the high level state, the jumper is connected to the positive pin of the diode of the acquisition circuit, and when the switch quantity is in the low level state, the jumper is connected to the negative pin of the diode of the acquisition circuit.

[0004] In summary, the traditional computer external switch quantity acquisition circuit cannot automatically acquire high and low level signals, and increases the cost of jumper devices, which is not conducive to the miniaturization design of computer modules. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] The technical problem to be solved by the present invention is: how to design an automatic acquisition device for high and low level states under a small current, which can identify and acquire the state of the external switch quantity of the computer without manual setting.

[0007] (II) Technical solution

[0008] In order to solve the above technical problems, the present invention provides a device for automatically collecting high and low level states under low current, comprising two parts: a relay and an acquisition circuit; the relay is used to realize the switching control of the high and low level states of the external switch quantity of the computer; the acquisition circuit is used to convert the external switch quantity state of the computer into a CPU processor recognition state bit.

[0009] Preferably, the relay has six groups of conversion contacts, which are responsible for the high and low level state switching control of the 2-bit switch quantity. The acquisition circuit is responsible for the 4-bit switch quantity state conversion identification, including four photocouplers and four current limiting resistors. The input current of the acquisition circuit is 5-20mA.

[0010] Preferably, the negative pole of the coil of the relay is connected to the power ground of the computer, and the positive pole of the coil is connected to the positive pole of the switching instruction issued by the computer; the normally open contacts A1 and E1, B1 and F1 of the relay are short-circuited; the normally closed contacts A3 and D3, B3 and C3 are short-circuited; the moving contact E2 of the relay is connected to the positive pole of the diode of the first photocoupler in the acquisition circuit through the first current limiting resistor, and the moving contact D2 is connected to the negative pole of the diode of the first photocoupler in the acquisition circuit; the moving contact F2 of the relay is connected to the positive pole of the diode of the second photocoupler in the acquisition circuit through the second current limiting resistor, and the moving contact C2 is connected to the negative pole of the diode of the second photocoupler; the moving contacts A2 and B2 of the relay are respectively used as input interfaces of the external switch status bits of the computer; the normally closed contacts E3 and F3 of the relay are connected to the positive power supply of the computer; the normally open contacts D1 and C1 of the relay are connected to the power ground of the computer.

[0011] Preferably, the relay adopts the domestically produced JRC-600M, the contact form of the relay is 6Z, the rated voltage of the coil is 6 to 27Vd.c., and the contact load is not greater than 1A.

[0012] Preferably, the acquisition circuit uses a domestically produced HT281-4 photoelectric coupler.

[0013] Preferably, the collector-emitter voltage of the acquisition circuit does not exceed 40V dc.

[0014] Preferably, the current limiting resistor is used to ensure that the input current meets the requirement of 5-20 mA under a certain voltage.

[0015] The invention also provides a method for identifying and collecting the state of external switch quantities of a computer using the device.

[0016] Preferably, the steps include:

[0017] When the external switch state of the computer is at a low level, the computer does not issue a switching instruction, and the contacts of the relay do not move; the switch state 1 and switch state 2 input from the moving contacts A2 and B2 of the relay are connected to the cathode of the diodes of the third and fourth photoelectric couplers of the acquisition circuit through the relay contact connection line; the power supply of the computer is connected to the anode of the diodes of the third and fourth photoelectric couplers of the acquisition circuit through the normally closed contacts E3 and F3 of the relay through the third and fourth current limiting resistors; thus, the acquisition circuit can normally identify the low level of the switch state and output it to the CPU processor;

[0018] When the external switch status bit of the computer is at a high level, the computer issues a switching instruction and the relay contacts operate; the switch status 1 and switch status 2 input from the moving contacts A2 and B2 of the relay are connected to the positive electrodes of the diodes of the third and fourth photocouplers of the acquisition circuit through the relay contact connection line via the third and fourth current limiting resistors; the power ground of the computer is connected to the negative electrodes of the diodes of the third and fourth photocouplers of the acquisition circuit through the normally open contacts D1 and C1 of the relay; thereby the acquisition circuit can normally identify the high level of the switch status and output it to the CPU processor.

[0019] The invention also provides an application of the device in the field of computer control technology.

[0020] (III) Beneficial effects

[0021] The present invention provides an automatic acquisition device for high and low level levels under low current state, which can realize CPU processor acquisition of high and low switch quantities under low current state. When the external switch quantity bit of the computer is in a changing state, there is no need for manual setting (switching), and the device can automatically identify it. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1a It is a circuit diagram of a low level bit state acquisition circuit;

[0023] Figure 1b It is a circuit diagram of a high level bit state acquisition circuit;

[0024] Figure 2 It is a circuit diagram of a high and low level different state bit acquisition circuit set by jumper mode;

[0025] Figure 3 It is a circuit diagram of the high and low level state automatic acquisition device of the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, content, and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the accompanying drawings and examples.

[0027] like Figure 3 As shown, the present invention provides an automatic acquisition device for high and low level states under low current, which includes two parts: a low current relay and an acquisition circuit; the low current relay is used for switching control of high and low level states of external switch quantity of a computer; the acquisition circuit is used for converting the state of the external switch quantity of the computer into a CPU processor identification state bit.

[0028] In this embodiment, the small current relay adopts the domestic JRC-600M, which has six groups of conversion contacts and a contact load of 1A. One small current relay is responsible for the high and low level state switching control of 2-bit switch quantity. The contact form of the small current relay is 6Z, the rated voltage of the coil is 6~27Vd.c., and the contact load is not more than 1A; the domestic HT281-4 photoelectric coupler is adopted in the acquisition circuit, and each chip is responsible for the 4-bit switch quantity state conversion identification, and the number of chips can be increased according to actual use requirements; in this embodiment, the number of small current relays and acquisition circuits is 1 each, and the acquisition circuit includes four photoelectric couplers and four current limiting resistors. The input current of the acquisition circuit is 5~20mA, and the collector-emitter voltage does not exceed 40V dc; the function of the current limiting resistor is to ensure that the input current meets the requirement of 5~20mA under a certain voltage.

[0029] The negative pole of the coil of the small current relay is connected to the power ground of the computer, and the positive pole of the coil is connected to the positive pole of the switching instruction issued by the computer; the normally open contacts A1 and E1, B1 and F1 of the small current relay are short-circuited; the normally closed contacts A3 and D3, B3 and C3 are short-circuited; the moving contact E2 of the small current relay is connected to the positive pole of the diode of the first photocoupler in the acquisition circuit through the first current limiting resistor, and the moving contact D2 is connected to the negative pole of the diode of the first photocoupler in the acquisition circuit; the moving contact F2 of the small current relay is connected to the positive pole of the diode of the second photocoupler in the acquisition circuit through the second current limiting resistor, and the moving contact C2 is connected to the negative pole of the diode of the second photocoupler; the moving contacts A2 and B2 of the small current relay are respectively used as input interfaces of the external switch quantity status bits of the computer; the normally closed contacts E3 and F3 of the small current relay are connected to the positive power supply of the computer; the normally open contacts D1 and C1 of the small current relay are connected to the power ground of the computer.

[0030] When the external switch status bit of the computer is at a low level, the computer does not issue a switching instruction, and the contacts of the small current relay do not move; the switch status 1 and switch status 2 input from the moving contacts A2 and B2 of the small current relay are connected to the cathode of the diodes of the third and fourth photocouplers of the acquisition circuit through the relay contact connection; the power supply of the computer is connected to the anode of the diodes of the third and fourth photocouplers of the acquisition circuit through the normally closed contacts E3 and F3 of the small current relay through the third and fourth current limiting resistors; thus, the acquisition circuit can normally identify the low level of the switch status and output it to the CPU processor.

[0031] When the external switch status bit of the computer is at a high level, the computer issues a switching instruction and the small current relay contacts operate; the switch status 1 and switch status 2 input from the moving contacts A2 and B2 of the small current relay are connected to the positive electrodes of the diodes of the third and fourth photocouplers of the acquisition circuit through the relay contact connection line via the third and fourth current limiting resistors; the power ground of the computer is connected to the negative electrodes of the diodes of the third and fourth photocouplers of the acquisition circuit through the normally open contacts D1 and C1 of the small current relay; thereby the acquisition circuit can normally identify the high level of the switch status and output it to the CPU processor.

[0032] Therefore, the automatic acquisition device for high and low level states under low current of the present invention can identify and acquire the state of the external switch quantity of the computer without manual setting.

[0033] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A device for automatically collecting high and low level states under low current, characterized in that: It includes two parts: a relay and a collection circuit; the relay is used to realize the high and low level state switching control of the external switch quantity of the computer; the collection circuit is used to convert the external switch quantity state of the computer into the CPU processor identification state bit; The relay has six sets of conversion contacts, which are responsible for the high and low level state switching control of the 2-bit switch quantity. The acquisition circuit is responsible for the 4-bit switch quantity state conversion identification, including four photoelectric couplers and four current limiting resistors. The input current of the acquisition circuit is 5-20mA; The negative pole of the coil of the relay is connected to the power ground of the computer, and the positive pole of the coil is connected to the positive pole of the switching instruction issued by the computer; the normally open contacts A1 and E1, B1 and F1 of the relay are short-circuited; the normally closed contacts A3 and D3, B3 and C3 are short-circuited; the moving contact E2 of the relay is connected to the positive pole of the diode of the first photoelectric coupler in the acquisition circuit through the first current limiting resistor, and the moving contact D2 is connected to the negative pole of the diode of the first photoelectric coupler in the acquisition circuit; the moving contact F2 of the relay is connected to the positive pole of the diode of the second photoelectric coupler in the acquisition circuit through the second current limiting resistor, and the moving contact C2 is connected to the negative pole of the diode of the second photoelectric coupler; the moving contacts A2 and B2 of the relay are respectively used as input interfaces of the external switch status bits of the computer; the normally closed contacts E3 and F3 of the relay are connected to the positive power supply of the computer; the normally open contacts D1 and C1 of the relay are connected to the power ground of the computer; When the external switch state of the computer is at a low level, the computer does not issue a switching instruction, and the contacts of the relay do not move; the switch state 1 and switch state 2 input from the moving contacts A2 and B2 of the relay are connected to the cathode of the diodes of the third and fourth photoelectric couplers of the acquisition circuit through the relay contact connection line; the power supply of the computer is connected to the anode of the diodes of the third and fourth photoelectric couplers of the acquisition circuit through the normally closed contacts E3 and F3 of the relay through the third and fourth current limiting resistors; thus, the acquisition circuit can normally identify the low level of the switch state and output it to the CPU processor; When the external switch status bit of the computer is at a high level, the computer issues a switching instruction and the relay contacts operate; the switch status 1 and switch status 2 input from the moving contacts A2 and B2 of the relay are connected to the positive electrodes of the diodes of the third and fourth photocouplers of the acquisition circuit through the relay contact connection line via the third and fourth current limiting resistors; the power ground of the computer is connected to the negative electrodes of the diodes of the third and fourth photocouplers of the acquisition circuit through the normally open contacts D1 and C1 of the relay; thereby the acquisition circuit can normally identify the high level of the switch status and output it to the CPU processor.

2. The device according to claim 1, characterized in that The relay adopts the domestically produced JRC-600M, the contact form of the relay is 6Z, the rated voltage of the coil is 6-27Vd.c., and the contact load is not greater than 1A.

3. The device according to claim 1, characterized in that The acquisition circuit adopts the domestic HT281-4 photoelectric coupler.

4. The device according to claim 1, characterized in that The collector-emitter voltage of the acquisition circuit does not exceed 40Vd.c.

5. The device according to claim 1, characterized in that The current limiting resistor is used to ensure that the input current meets the requirement of 5-20mA under a certain voltage.

Citation Information

Patent Citations

  • General switching value input signal acquisition circuit

    CN104868884A