Output voltage regulating circuit and electronic equipment
Through the combination of sliding rheostat, optocoupler, transistor and conversion relay, combined with the resistance adjustment of the dial switch, the flexible adjustment of the positive and negative logic output voltage in the ventilation control of the building pig farm is achieved, and the circuit complexity and The problem of high cost improves the flexibility and reliability of ventilation control.
Patent Information
- Application Number
- CN202420408480.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2034-03-04
AI Technical Summary
The prior art is difficult to achieve simplified forward and reverse logic output voltage regulation in ventilation control of building pig farms, resulting in complex circuit structure and high maintenance and deployment costs.
The combination of sliding rheostat, optocoupler, transistor, conversion relay and dial switch is adopted to adjust the resistance through the switching relay switching path state and dial switch, and the switching and output voltage adjustment of forward and reverse logic control are realized.
The circuit structure is simplified, maintenance and deployment costs are reduced, and flexible output voltage regulation is achieved to adapt to ventilation control needs in different regions and seasons.
Smart Images

Figure CN221995331U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of electronic technology, in particular to an output voltage regulating circuit and electronic equipment. Background Art
[0002] In the ventilation control scheme of building pig farms, negative pressure ventilation control in the shed and positive pressure ventilation control in the periphery are the most important parts. The air valve in the shed adopts reverse logic control, that is, 0V controls full opening and 10V controls full closing. The air valve opening corresponding to 0-10V is 100%-0%, to ensure that the air valve is open in abnormal situations such as disconnection (signal is 0V); while the air valve of the peripheral controller adopts positive logic control, that is, 0V controls full closing and 10V controls full opening. The air valve opening corresponding to 0-10V is 100%-0%, which is used to ensure that the air valve is completely closed in abnormal situations to prevent air backflow and cause biosafety problems. At the same time, in order to improve the reliability of the ventilation control circuit, in addition to the circuit for automatically adjusting the output control voltage, it is also necessary to design an additional circuit for manually adjusting the output control voltage, so that the output voltage of the controller circuit can be manually adjusted in case of failure of the automatic adjustment circuit. Further, in the ventilation volume control, in order to prevent the manual adjustment circuit from completely closing the air valve, a minimum air valve opening needs to be set. For example, in the reverse logic control of the air valve of the barn, the minimum air valve opening for pig ventilation in the south is 30% due to high temperature, so the manual adjustment range is 7-0V (air valve opening is 30%-100%), and the minimum air valve opening for pig ventilation in the north is 10%, so the manual adjustment range is 9-0V (air valve opening is 10%-100%). The multi-range output voltage adjustment can meet the control requirements of different regions and seasons.
[0003] In the prior art, when designing a circuit for manually adjusting the output control voltage, a sliding rheostat or a solution of changing the resistance is usually used to adjust the voltage output range, but the above solution can only adjust one output, and it is difficult to achieve the switching control of positive and negative logic. Furthermore, there is also a technical solution in the prior art that uses two additional circuit structures or two sliding rheostats to adjust respectively to achieve the output of positive and negative logic at the same time, but the circuit structure of the above solution is complex, and its maintenance cost and deployment cost are high. How to simplify the circuit structure output while taking into account the positive and negative logic output and realize the manual adjustment of the output voltage control plays an important role in the ventilation control of building pig farms. Utility Model Content
[0004] The utility model aims to provide an output voltage regulating circuit and electronic equipment to solve the above technical problems and realize the regulation of output voltage while taking into account positive and negative logic control.
[0005] In order to solve the above technical problems, the utility model provides an output voltage regulating circuit, comprising: a sliding rheostat, an optocoupler, a triode, a conversion relay, and a dip switch including N contacts; wherein N is a positive integer greater than or equal to 3;
[0006] The first end of the sliding rheostat is connected to the input end of the first (N-1) contacts of the DIP switch;
[0007] The output end of the first (N-1) contacts of the dip switch is connected to the first power supply voltage end through a resistor; wherein at least one of the first (N-1) contacts is connected to the first power supply voltage end through two resistors connected in series;
[0008] The output end of the Nth contact of the dip switch is connected to the negative input end of the optocoupler, and the input end of the Nth contact is grounded;
[0009] The second end of the sliding resistor is connected to the second power supply voltage end;
[0010] The emitter of the optocoupler is connected to the base of the transistor;
[0011] The collector of the optocoupler is connected to the collector of the transistor and the positive input terminal of the conversion relay;
[0012] The switching relay comprises a first path and a second path; wherein the first path and the second path respectively comprise a common terminal and two contacts;
[0013] The first common terminal in the first path is connected to the first contact; wherein the first common terminal is connected to the first power supply voltage terminal, the first contact is connected to the first external voltage source, and the second contact is grounded;
[0014] The second common terminal in the second path is connected to the third contact; wherein the second common terminal is connected to the second power supply voltage terminal, the third contact is grounded, and the fourth contact is connected to the first external voltage source;
[0015] When the switching relay is activated, the contact connection states of the first path and the second path are switched.
[0016] In the above scheme, the two common terminals in the conversion relay are connected to the two power supply voltage terminals respectively, and then the first common terminal connected to the first power supply voltage terminal is connected to the first external voltage source, and the second common terminal connected to the second power supply voltage terminal is grounded, so that the first power supply voltage terminal outputs a high level and the second power supply voltage terminal outputs 0V in the positive logic control. The Nth contact of the dial switch is connected to the collector of the optocoupler. When the Nth contact of the dial switch is closed, the optocoupler is turned on, and then the transistor sends a drive signal to the conversion relay. The conversion relay is started, and the connection state of the contacts in the first path and the second path changes. The first common terminal in the first path is connected to the grounded second contact, and the second common terminal in the second path is connected to the fourth contact connected to the first external voltage source, so as to realize negative logic control. At this time, the first power supply voltage connected to the first common terminal outputs a high level, and the second power supply voltage connected to the second common terminal outputs 10V, and the switching of positive and negative logic control is realized based on the dual-path conversion relay. The contact input end of the dip switch is connected to the second power supply voltage end through a sliding rheostat, and the contact output end of the dip switch is connected to the first power supply voltage end through a resistor, simplifying the positive and negative logic control to inverting the power supply voltage of the voltage-dividing resistor at each contact output end. Furthermore, different resistors are set at the output end of each contact to construct a voltage-dividing resistor, and the output voltage can be adjusted by switching the interface between the closed and open states of each contact, which is simple to operate and easy to implement.
[0017] In one implementation, the output voltage regulation circuit includes a first resistor and a second resistor, specifically:
[0018] The first end of the first resistor is connected to the first end of the second resistor and the positive input end of the optocoupler;
[0019] The second end of the second resistor is connected to a second external voltage source;
[0020] The second end of the first resistor is connected to the output end of the Nth contact of the dip switch and the collector of the optocoupler.
[0021] In one implementation, the output voltage regulation circuit further includes a third resistor and a first diode, specifically:
[0022] The first end of the third resistor is connected to the emitter of the optocoupler and the base of the transistor;
[0023] The second end of the third resistor and the emitter of the transistor are grounded;
[0024] The anode of the first diode is connected to the collector of the optocoupler and the positive input terminal of the conversion relay;
[0025] The negative input terminal of the conversion relay is grounded;
[0026] A cathode of the first diode is connected to a third external voltage source.
[0027] In one implementation, the output voltage regulation circuit includes a fourth resistor, a fifth resistor, a sixth resistor, a first capacitor and an operational amplifier, specifically:
[0028] The first end of the fourth resistor is connected to the sliding end of the sliding resistor;
[0029] The second end of the fourth resistor is connected to the first end of the first capacitor and the positive input end of the operational amplifier;
[0030] The second end of the first capacitor is grounded;
[0031] The negative input terminal of the operational amplifier is connected to the first end of the fifth resistor;
[0032] The output end of the operational amplifier is connected to the second end of the fifth resistor and the first end of the sixth resistor.
[0033] In a second aspect, the present application also provides an electronic device, comprising the output voltage regulation circuit as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 The figure is a schematic diagram of the connection relationship of an output voltage regulation circuit provided in one embodiment of the utility model. DETAILED DESCRIPTION
[0035] The following is a further detailed description of the specific implementation of the present invention in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0036] The terms "first" and "second" and the like in the specification, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0037] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0038] Example 1
[0039] See also Figure 1 , Figure 1 The figure is a connection diagram of an output voltage regulating circuit provided in an embodiment of the utility model. The utility model embodiment provides an output voltage regulating circuit, including: a sliding rheostat VR1, an optocoupler U10, a transistor Q10, a switching relay RL10, and a dip switch SW` having N contacts; wherein N is a positive integer greater than or equal to 3;
[0040] The first end of the sliding resistor VR1 is connected to the input end of the first (N-1) contacts of the dip switch SW`;
[0041] The output end of the first (N-1) contacts of the dip switch SW1 is connected to the first power supply voltage end VCC-B1 through a resistor; wherein at least one of the first (N-1) contacts is connected to the first power supply voltage end VCC-B1 through two resistors connected in series;
[0042] The output end of the Nth contact of the dip switch SW1 is connected to the negative input end Cathode of the optocoupler UI0, and the input end of the Nth contact is grounded;
[0043] The second end of the sliding resistor VR1 is connected to the second power supply voltage terminal VCC-B2;
[0044] The emitter of the optocoupler U10 is connected to the base of the transistor Q10;
[0045] The collector of the optocoupler U10 is connected to the collector of the transistor Q10 and the positive input terminal of the conversion relay RL10;
[0046] The switching relay RL10 includes a first path and a second path; wherein the first path and the second path respectively include a common terminal and two contacts;
[0047] The first common terminal 4 in the first path is connected to the first contact 6; wherein the first common terminal 4 is connected to the first power supply voltage terminal VCC-B1, the first contact 6 is connected to the first external voltage source 10V, and the second contact 8 is grounded;
[0048] The second common terminal 13 in the second path is connected to the third contact 11; wherein the second common terminal 13 is connected to the second power supply voltage terminal VCC-B2, the third contact 11 is grounded, and the fourth contact 9 is connected to the first external voltage source VCC-B1;
[0049] When the switching relay RL10 is activated, the contact connection states of the first path and the second path are switched.
[0050] In the embodiment of the utility model, the two common terminals in the conversion relay are respectively connected to the two power supply voltage terminals, and then the first common terminal connected to the first power supply voltage terminal is connected to the first external voltage source, and the second common terminal connected to the second power supply voltage terminal is grounded, so that the first power supply voltage terminal outputs a high level and the second power supply voltage terminal outputs 0V in the positive logic control. The Nth contact of the dial switch is connected to the collector of the optocoupler. When the Nth contact of the dial switch is closed, the optocoupler is turned on, and then the transistor sends a drive signal to the conversion relay. The conversion relay is started, and the connection state of the contacts in the first path and the second path is changed. The first common terminal in the first path is connected to the grounded second contact, and the second common terminal in the second path is connected to the fourth contact connected to the first external voltage source, so as to realize the negative logic control. At this time, the first power supply voltage connected to the first common terminal outputs a high level, and the second power supply voltage connected to the second common terminal outputs a high level, and the switching of positive and negative logic control is realized based on the dual-path conversion relay. The contact input end of the dip switch is connected to the second power supply voltage end through a sliding rheostat, and the contact output end of the dip switch is connected to the first power supply voltage end through a resistor, simplifying the positive and negative logic control to inverting the power supply voltage of the voltage-dividing resistor at each contact output end. Furthermore, different resistors are set at the output end of each contact to construct a voltage-dividing resistor, and the output voltage can be adjusted by switching the interface between the closed and open states of each contact, which is simple to operate and easy to implement.
[0051] The embodiment of the utility model is illustrated by taking a dip switch with four contacts. The dip switch SW1 includes four contacts, the input ends of the first three contacts are connected to the first end of the sliding rheostat, and the output ends are connected to the first power supply voltage end VCC-B1 through a resistor. Among them, the output end of contact 1 is connected to the first power supply voltage end through a resistor, and the output ends of contact 2 and contact 3 are respectively connected to the first power supply voltage end VCC-B1 through two resistors connected in series. The output end of contact 4 is connected to the negative input end Cathode of the optocoupler UI0.
[0052] In one embodiment, the output voltage regulation circuit includes a first resistor R11 and a second resistor R10, specifically: the first end of the first resistor R11 is connected to the first end of the second resistor R10 and the positive input terminal Anode of the optocoupler U10; the second end of the second resistor R10 is connected to the second external voltage source 15V; the second end of the first resistor R11 is connected to the output end of the Nth contact of the dip switch SW1 and the collector Collector of the optocoupler U10. That is, the second end of the first resistor R11 is connected to the output end of the 4th contact of the dip switch SW1.
[0053] In one embodiment, the output voltage regulation circuit also includes a third resistor R12 and a first diode D10, specifically: the first end of the third resistor R12 is connected to the emitter Emitter of the optocoupler and the base of the transistor Q10; the second end of the third resistor R12 and the emitter of the transistor Q10 are grounded; the anode of the first diode D10 is connected to the collector Collector of the optocoupler U10 and the positive input end of the conversion relay RL10; the negative input end of the conversion relay RL10 is grounded; the cathode of the first diode D10 is connected to the third external voltage source E24V.
[0054] In one embodiment, the output voltage regulation circuit includes a fourth resistor R20, a fifth resistor R21, a sixth resistor R22, a first capacitor C20 and an operational amplifier U20A, specifically: the first end of the fourth resistor R20 is connected to the sliding end of the sliding rheostat VR1; the second end of the fourth resistor R20 is connected to the first end of the first capacitor C20 and the positive input end of the operational amplifier U20A; the second end of the first capacitor C20 is grounded; the negative input end of the operational amplifier U20A is connected to the first end of the fifth resistor R21; the output end of the operational amplifier U20A is connected to the second end of the fifth resistor R21 and the first end of the sixth resistor R22.
[0055] The output impedance of the output voltage at the sliding end of the sliding rheostat is relatively large. As an optimization scheme of the embodiment of the utility model, a resistor, a capacitor and an operational amplifier are set at the sliding end of the sliding rheostat to form a follower circuit that provides input signal buffering and amplification, so as to ensure accurate signal transmission and stable output and improve output capacity.
[0056] See Table 1, which is a logic function table of an output voltage regulation circuit provided in an embodiment of the present utility model.
[0057] Table 1
[0058]
[0059]
[0060] The 1st, 2nd and 3rd contacts of the DIP switch are connected to resistors R1, R2, R3, R4 and R5 respectively, and form a series voltage divider with the sliding rheostat VR1. It should be noted that the number of contacts of the DIP switch can be set according to the specific environmental control requirements and the output voltage adjustment accuracy requirements, and the present utility model is only used as an example and is not intended to be limited.
[0061] When the fourth contact of the dip switch SW1 is disconnected, the optocoupler U10 is not conducting, the transistor Q10 is not conducting, and the switching relay RL10 does not work at this time, and maintains the initial connection state, the first common terminal 4 is connected to the first contact 6, and the second common terminal 13 is connected to the third contact 11. At this time, the first power supply voltage terminal VCC-B1 is connected to 10V and outputs 10V, and the second power supply voltage terminal VCC-B2 is connected to GND and outputs 0V, forming a positive logic control. At this time, the sliding end of the sliding rheostat VR1 can be adjusted from the minimum to the maximum to output 0V-10V, 1V-10V, and 3V-10V respectively.
[0062] When the fourth contact of the DIP switch SW1 is closed, the optocoupler U10 is turned on, the transistor Q10 is turned on, the switching relay RL10 is started, and the contact connection states in the two paths are switched. The first common terminal 4 is connected to the second contact 2, and the second common terminal 13 is connected to the fourth contact 9. At this time, the first power supply voltage terminal VCC-B1 is turned on to 0V and outputs 0V, and the second power supply voltage terminal VCC-B2 is turned on to 10V and outputs 10V, forming an inverse logic control. At this time, the sliding end of the sliding rheostat VR1 can be adjusted from the minimum to the maximum to output 10V-0V, 9V-0V, and 7V-0V respectively.
[0063] Furthermore, as another optimization solution of the embodiment of the utility model, an electronic device is also provided, including the output voltage regulating circuit as described above.
[0064] The embodiment of the utility model provides an output voltage regulation circuit, which connects the two common terminals in the conversion relay to the two power supply voltage terminals respectively, and then connects the first common terminal connected to the first power supply voltage terminal to the first external voltage source, and the second common terminal connected to the second power supply voltage terminal is grounded, so as to realize that the first power supply voltage terminal outputs a high level and the second power supply voltage terminal outputs 0V in the positive logic control. The Nth contact of the dial switch is connected to the collector of the optocoupler. When the Nth contact of the dial switch is closed, the optocoupler is turned on, and then the transistor sends a drive signal to the conversion relay. When the conversion relay is started, the connection state of the contacts in the first path and the second path changes, the first common terminal in the first path is connected to the grounded second contact, and the second common terminal in the second path is connected to the fourth contact connected to the first external voltage source, so as to realize negative logic control. At this time, the first power supply voltage connected to the first common terminal outputs a high level, and the second power supply voltage connected to the second common terminal outputs a high level, and the switching of positive and negative logic control is realized based on the dual-path conversion relay. The contact input end of the dip switch is connected to the second power supply voltage end through a sliding rheostat, and the contact output end of the dip switch is connected to the first power supply voltage end through a resistor, simplifying the positive and negative logic control to inverting the power supply voltage of the voltage-dividing resistor at each contact output end. Furthermore, different resistors are set at the output end of each contact to construct a voltage-dividing resistor, and the output voltage can be adjusted by switching the closed and open states of each contact, which is simple to operate and easy to implement.
[0065] The above are only preferred implementations of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention. These improvements and substitutions should also be regarded as the protection scope of the present invention.
Claims
1. An output voltage regulation circuit, characterized in that: include: A sliding resistor, an optocoupler, a triode, a switching relay, and a dip switch having N contacts; wherein N is a positive integer greater than or equal to 3; The first end of the sliding rheostat is connected to the input end of the first (N-1) contacts of the DIP switch; The output end of the first (N-1) contacts of the dip switch is connected to the first power supply voltage end through a resistor; wherein at least one of the first (N-1) contacts is connected to the first power supply voltage end through two resistors connected in series; The output end of the Nth contact of the dip switch is connected to the negative input end of the optocoupler, and the input end of the Nth contact is grounded; The second end of the sliding resistor is connected to the second power supply voltage end; The emitter of the optocoupler is connected to the base of the transistor; The collector of the optocoupler is connected to the collector of the transistor and the positive input terminal of the conversion relay; The switching relay comprises a first path and a second path; wherein the first path and the second path respectively comprise a common terminal and two contacts; The first common terminal in the first path is connected to the first contact; wherein the first common terminal is connected to the first power supply voltage terminal, the first contact is connected to the first external voltage source, and the second contact is grounded; The second common terminal in the second path is connected to the third contact; wherein the second common terminal is connected to the second power supply voltage terminal, the third contact is grounded, and the fourth contact is connected to the first external voltage source; When the switching relay is activated, the contact connection states of the first path and the second path are switched.
2. The output voltage regulation circuit according to claim 1, characterized in that: The output voltage regulation circuit includes a first resistor and a second resistor, specifically: The first end of the first resistor is connected to the first end of the second resistor and the positive input end of the optocoupler; The second end of the second resistor is connected to a second external voltage source; The second end of the first resistor is connected to the output end of the Nth contact of the dip switch and the collector of the optocoupler.
3. The output voltage regulation circuit according to claim 1, characterized in that: The output voltage regulation circuit further includes a third resistor and a first diode, specifically: The first end of the third resistor is connected to the emitter of the optocoupler and the base of the transistor; The second end of the third resistor and the emitter of the transistor are grounded; The anode of the first diode is connected to the collector of the optocoupler and the positive input terminal of the conversion relay; The negative input terminal of the conversion relay is grounded; A cathode of the first diode is connected to a third external voltage source.
4. The output voltage regulation circuit according to claim 1, characterized in that: The output voltage regulation circuit includes a fourth resistor, a fifth resistor, a sixth resistor, a first capacitor and an operational amplifier, specifically: The first end of the fourth resistor is connected to the sliding end of the sliding resistor; The second end of the fourth resistor is connected to the first end of the first capacitor and the positive input end of the operational amplifier; The second end of the first capacitor is grounded; The negative input terminal of the operational amplifier is connected to the first end of the fifth resistor; The output end of the operational amplifier is connected to the second end of the fifth resistor and the first end of the sixth resistor.
5. An electronic device, characterized in that: The invention comprises an output voltage regulating circuit as described in any one of claims 1 to 4.
