Temperature measurement circuit of virtual simulation equipment
By designing a combination of temperature sensors, op amps, ADC0832 and FPGA in virtual simulation equipment, temperature measurement and display are realized, solving the complex design and high cost of temperature measurement circuits of virtual simulation equipment, and achieving simple structure and low cost Effect.
Patent Information
- Application Number
- CN202420117742.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-17
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2034-01-17
AI Technical Summary
The temperature measurement circuit design of virtual simulation equipment is complex and costly, making it difficult to achieve simple and low-cost solutions.
A temperature measurement circuit including temperature sensor LM35, operational amplifier LM748, ADC0832 and FPGA was designed. The temperature signal is converted into digital signals through in-phase amplifiers and analog-to-digital converters, and the circuit is processed and displayed through FPGA and LCD. The circuit structure is simple and costly. low.
The temperature measurement and display of virtual simulation equipment is realized. The circuit structure is simple and the cost is low, and it can effectively collect and display the temperature information of the surrounding environment.
Smart Images

Figure CN222188592U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of virtual simulation equipment, and more specifically, to a temperature measurement circuit of virtual simulation equipment. Background Art
[0002] Virtual simulation equipment refers to a device that uses a virtual system to simulate another real system. Virtual simulation equipment needs to measure and display temperature. Virtual simulation equipment generally integrates more functions and has a large number of components. When designing the circuit of a virtual simulation equipment, there are generally requirements for the overall structural complexity and cost of the circuit. Therefore, it is necessary to design a virtual simulation equipment temperature measurement circuit with a simple structure and low cost. Utility Model Content
[0003] In view of the above technical problems, the utility model provides a temperature measurement circuit of a virtual simulation device with simple structure and low cost.
[0004] The utility model discloses a temperature measurement circuit of a virtual simulation device, comprising a first potentiometer, a temperature sensor, an operational amplifier, ADC0832 and FPGA, wherein the output end of the temperature sensor is connected to the in-phase input end of the operational amplifier, the inverting input end of the operational amplifier is connected to the moving end of the first potentiometer, one of the two fixed ends of the first potentiometer is connected in series with a first resistor and then grounded, and the other is connected in series with a second resistor and then connected to the output end of the operational amplifier; the first pin of ADC0832 is connected to the chip select enable control pin of the FPGA, the second pin of ADC0832 is connected to the output end of the operational amplifier, the fourth pin of ADC0832 is grounded, the fifth and sixth pins of ADC0832 are connected together and then connected to the measurement signal input pin of the FPGA, the seventh pin of ADC0832 is connected to the clock signal output pin of the FPGA, and the seventh pin of ADC0832 is connected to a power supply.
[0005] Furthermore, in the temperature measurement circuit of the virtual simulation device of the present invention, the temperature sensor model is LM35, the first pin of LM35 is grounded, the second pin of LM35 is connected to the in-phase input terminal of the operational amplifier as the output end of the temperature sensor, and the third pin of LM35 is connected to the positive power supply.
[0006] Furthermore, in the temperature measurement circuit of the virtual simulation device of the present invention, the model of the operational amplifier is LM748.
[0007] Furthermore, in the virtual simulation device temperature measurement circuit of the present utility model, the model of the FPGA is DE10_Standard, the enable control pin is the GPIO_D22 pin, the measurement signal input pin is the GPIO_D24 pin, and the clock signal output pin is the GPIO_D23 pin.
[0008] Furthermore, in the temperature measurement circuit of the virtual simulation device of the utility model, it also includes an LCD, the LCD model is LCD1602, the RS pin, RW pin, E pin, and DB0 to DB7 pins of LCD1602 are respectively connected to the HSMC_RX_D_N16 pin, HSMC_RX_D_P16 pin, HSMC_RX_D_P11 pin, HSMC_CLKIN_N2 pin, HSMC_CLKIN_P2 pin, HSMC_CLKOUT_N2 pin, HSMC_CLKOUT_P2 pin, HSMC_TX_D_N16 pin, HSMC_TX_D_P16 pin, HSMC_TX_D_N15 pin, and HSMC_TX_D_P15 pin of the FPGA, the GND pin and BG / GND pin of LCD1602 are grounded, the VCC pin and BG / VCC pin of LCD1602 are connected to a 5V power supply, the VO pin of LCD1602 is connected to one of the fixed ends of the second potentiometer, and the moving end of the potentiometer is grounded.
[0009] Furthermore, in the temperature measurement circuit of the virtual simulation device of the present invention, the first resistor is 10KΩ, the second resistor is 90KΩ, and the first potentiometer is 10KΩ.
[0010] Furthermore, in the temperature measurement circuit of the virtual simulation device of the present invention, the second potentiometer has a value of 10KΩ.
[0011] The temperature measurement circuit of the virtual simulation device of the utility model collects temperature information of the surrounding environment and transmits it to the FPGA. The FPGA controls the entire module to process the obtained information and then outputs it to the temperature display circuit to display the temperature value. The circuit structure is simple and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0013] Figure 1 The utility model is a schematic diagram of a temperature measurement circuit of a virtual simulation device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0014] In order to have a clearer understanding of the technical features, purposes and effects of the present utility model, the specific implementation methods of the present utility model are now described in detail with reference to the accompanying drawings.
[0015] refer to Figure 1 The utility model discloses a temperature measurement circuit of a virtual simulation device, comprising a first potentiometer R3, a temperature sensor U1, an operational amplifier U2, ADC0832 and FPGA.
[0016] The temperature sensor U1 is of model LM35, the first pin of LM35 is grounded, the second pin of LM35 is connected as the output end of the temperature sensor U1 to the non-inverting input end of the operational amplifier U2, the model of the operational amplifier is LM748, the third pin of LM35 is connected to the positive power supply, the inverting input end of the operational amplifier U2 is connected to the moving end of the first potentiometer R3, the two fixed ends of the first potentiometer R3, one is connected in series with the first resistor R1 and then grounded, and the other is connected in series with the second resistor R2 and then connected to the output end of the operational amplifier U2, the first resistor R1 is 10KΩ, the second resistor R2 is 90KΩ, and the first potentiometer R3 is 10KΩ.
[0017] Pin 1 of ADC0832 is connected to the chip select enable control pin of FPGA, pin 2 of ADC0832 is connected to the output of the operational amplifier, pin 4 of ADC0832 is grounded, pins 5 and 6 of ADC0832 are connected together and then connected to the measurement signal input pin of FPGA, pin 7 of ADC0832 is connected to the clock signal output pin of FPGA, and pin 7 of ADC0832 is connected to the power supply.
[0018] As a preferred embodiment of the present invention, the model of FPGA is DE10_Standard, but in other embodiments of the present invention, other models may also be used.
[0019] When the model of FPGA is DE10_Standard, the enable control pin is the GPIO_D22 pin, the measurement signal input pin is the GPIO_D24 pin, and the clock signal output pin is the GPIO_D23 pin.
[0020] The temperature measurement circuit of the virtual simulation device in this embodiment also includes an LCD. The LCD model is LCD1602. The RS pin, RW pin, E pin, and DB0 to DB7 pins of LCD1602 are respectively connected to the HSMC_RX_D_N16 pin, HSMC_RX_D_P16 pin, HSMC_RX_D_P11 pin, HSMC_CLKIN_N2 pin, HSMC_CLKIN_P2 pin, HSMC_CLKOUT_N2 pin, HSMC_CLKOUT_P1 pin, HSMC_CLKOUT_N1 pin, HSMC_CLKOUT_P1 pin, HSMC_CLKOUT_P1 pin, HSMC_CLKOUT_P1 pin, HSMC_CLKOUT_N2 pin, HSMC_CLKOUT_P1 pin, HSMC_CLKOUT_P1 pin, HSMC_CLKOUT_P1 pin, HSMC_CLKOUT_P1 pin, HSMC_CLKOUT_N1 pin, HSMC_CLKOUT_P ... The OUT_P2 pin, HSMC_TX_D_N16 pin, HSMC_TX_D_P16 pin, HSMC_TX_D_N15 pin, HSMC_TX_D_P15 pin, GND pin and BG / GND pin of LCD1602 are grounded, VCC pin and BG / VCC pin of LCD1602 are connected to a 5V power supply, VO pin of LCD1602 is connected to one of the fixed ends of the second potentiometer R4, the moving end of the potentiometer R4 is grounded, and the size of the second potentiometer R4 is 10KΩ.
[0021] The working principle of the utility model is as follows: the temperature sensor LM35 collects the temperature information of the surrounding environment and transmits it to the operational amplifier LM748. The operational amplifier LM748 and the first resistor R1, the second resistor R2, the first potentiometer R3 and the like constitute a common-phase amplifier. The first potentiometer R3 is used to adjust the amplification factor of the common-phase amplifier. The common-phase amplifier amplifies the signal transmitted by the temperature sensor LM35 and then transmits it to ADC0832. The FPGA performs chip selection control on ADC0832 through the pin GPIO_D22. ADC0832 performs analog-to-digital conversion on the signal transmitted by the common-phase amplifier, converting the analog signal into a digital signal. The converted digital signal is transmitted to the FPGA for processing to obtain a temperature value, which is then transmitted to the LCD1602. The LCD1602 displays the temperature and can control the backlight intensity through the second potentiometer R4. The utility model has a simple circuit structure and low cost.
[0022] The embodiments of the utility model are described above in conjunction with the accompanying drawings, but the utility model is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the utility model, ordinary technicians in this field can also make many forms without departing from the scope of protection of the utility model and the claims, which all fall within the protection of the utility model.
Claims
1. A temperature measurement circuit for a virtual simulation device, characterized in that: The invention comprises a first potentiometer, a temperature sensor, an operational amplifier, ADC0832 and an FPGA, wherein the output end of the temperature sensor is connected to the in-phase input end of the operational amplifier, the inverting input end of the operational amplifier is connected to the moving end of the first potentiometer, one of the two fixed ends of the first potentiometer is connected in series with a first resistor and then grounded, and the other is connected in series with a second resistor and then connected to the output end of the operational amplifier; the first pin of ADC0832 is connected to the chip select enable control pin of the FPGA, the second pin of ADC0832 is connected to the output end of the operational amplifier, the fourth pin of ADC0832 is grounded, the fifth and sixth pins of ADC0832 are connected together and then connected to the measurement signal input pin of the FPGA, the seventh pin of ADC0832 is connected to the clock signal output pin of the FPGA, and the seventh pin of ADC0832 is connected to the power supply.
2. The temperature measurement circuit of the virtual simulation device according to claim 1, characterized in that: The temperature sensor model is LM35, the first pin of LM35 is grounded, the second pin of LM35 is connected to the non-inverting input terminal of the operational amplifier as the output end of the temperature sensor, and the third pin of LM35 is connected to the positive power supply.
3. The temperature measurement circuit of the virtual simulation device according to claim 1, characterized in that: The model of the operational amplifier is LM748.
4. The temperature measurement circuit of the virtual simulation device according to claim 1, characterized in that: The model of the FPGA is DE10_Standard, the enable control pin is the GPIO_D22 pin, the measurement signal input pin is the GPIO_D24 pin, and the clock signal output pin is the GPIO_D23 pin.
5. The temperature measurement circuit of the virtual simulation device according to claim 4, characterized in that: It also includes an LCD, the LCD model is LCD1602, the RS pin, RW pin, E pin, and DB0 to DB7 pins of LCD1602 are respectively connected to the HSMC_RX_D_N16 pin, HSMC_RX_D_P16 pin, HSMC_RX_D_P11 pin, HSMC_CLKIN_N2 pin, HSMC_CLKIN_P2 pin, HSMC_CLKOUT_N2 pin, HSMC_CLKOUT_P2 pin, HSMC_TX_D_N16 pin, HSMC_TX_D_P16 pin, HSMC_TX_D_N15 pin, and HSMC_TX_D_P15 pin of the FPGA, the GND pin and BG / GND pin of LCD1602 are grounded, the VCC pin and BG / VCC pin of LCD1602 are connected to a 5V power supply, the VO pin of LCD1602 is connected to one of the fixed ends of the second potentiometer, and the moving end of the potentiometer is grounded.
6. The temperature measurement circuit of the virtual simulation device according to claim 1, characterized in that: The first resistor has a size of 10KΩ, the second resistor has a size of 90KΩ, and the first potentiometer has a size of 10KΩ.
7. The temperature measurement circuit of the virtual simulation device according to claim 5, characterized in that: The second potentiometer has a value of 10KΩ.
