Solved exercises🧮 Solve my exercise

Baccalauréat 2023 — Physics-Chemistry specialty, Nouvelle-Calédonie (jour 1) — exercise 3 : Capacitive watering sensor (official exam paper)

PhysicsLevel : High schoolCapacitive watering sensor🌐 Lire en français
Statement
To make it easier to manage watering his plants, an amateur botanist invests in a series of microcontrollers, humidity sensors and pumps in order to automate the water supply for his plants (figure 1). His idea is as follows: the sensor sends to the microcontroller a measurement of the relative humidity of the environment and, as soon as it is below a threshold he has previously chosen, this triggers an action, for example an alarm or watering the plant. Figure 1: royalty-free photograph of a humidity sensor, elongated in shape, bearing the inscription "Capacitive Soil Moisture Sensor v1.2". This exercise only deals with the study of the measurement of humidity by the sensor, carried out using a capacitor. All other aspects of watering management are deliberately ignored. Part A - Study of the sensor capacitance as a function of humidity The humidity sensor includes a parallel-plate capacitor that can be schematized as follows (figure 2): two flat metal plates of area $S$ separated by a distance $\ell$, with a medium of relative permittivity $\varepsilon_r$ between them. Figure 2: schematic representation of a parallel-plate capacitor. The capacitance of such a capacitor is given by the following relation: $C=\frac{\varepsilon_0\varepsilon_r S}{\ell}$. The physical quantities appearing in this equation are respectively: - $C$ the capacitance of the capacitor in farads (F); - $\varepsilon_0$ the permittivity of free space, one of the fundamental constants of physics; - $\varepsilon_r$ the relative permittivity of the medium, a variable characteristic from one environment to another (dimensionless quantity); - $S$ the area of the facing plates of the parallel-plate capacitor; - $\ell$ the distance between the two plates. The principle of the sensor lies in the fact that the capacitance of the capacitor changes with the proportion of water present in the soil. A.1. The permittivity of air is $\varepsilon_{r,air}=1,0$ whereas that of water is $\varepsilon_{r,eau}=80$. Deduce, among air and water, the medium for which the capacitance of the capacitor will be the largest. A.2. Hence justify that, for the same electric charge $q$ carried by a plate of the capacitor, the electric voltage across it is lower when it is immersed in water than when it is left in air. Part B - Study of the charging of a capacitor The sensor is connected to a microcontroller. As soon as the microcontroller is switched on, this triggers the charging of the capacitor that makes up the sensor while the latter is still in air. The system is modeled by the circuit shown below (figure 3) comprising a capacitor of capacitance $C_{air}$ in series with an ideal voltage source, having a voltage $E$ across its terminals, and a resistor of value $R$. The capacitor is initially uncharged. Figure 3: series circuit comprising a source, a resistor $R$ and a capacitor $C_{air}$. The voltages $E$, $u_R$ and $u_C$ are indicated on the diagram. B.1. For the circuit in figure 3, establish the relation between $E$, $u_R(t)$ and $u_C(t)$. B.2. Give the mathematical relation between the current intensity $i(t)$ and the electric charge $q(t)$ that passes through a section of circuit. Specify the units of each quantity. B.3. Show then that the differential equation governing the evolution of the voltage $u_C$ across the capacitor is: $\frac{du_C(t)}{dt}+\frac{1}{R\times C_{air}}u_C(t)=\frac{E}{R\times C_{air}}$. B.4.1. Show that $u_C(t)=E\times(1-e^{-t/\tau})$ is a solution of the differential equation provided that $\tau=R\times C_{air}$. B.4.2. Name the product of the quantities $R$ and $C_{air}$. B.5. Show that once a sufficiently long time has passed, the charge of the capacitor is $Q_{chargé}=C_{air}\times E$. PART C - Use of the sensor in a real situation The serial monitor associated with the microcontroller makes it possible to retrieve the value read on pin A0 (or A0 pin) of the sensor connection on the microcontroller. When the sensor is placed in air, the value obtained, 595, is reported on line 5 of the script provided in figure 4. Then, the sensor is immersed only in water: the value obtained on the serial monitor is 217. Once these two values have been determined, the sensor is planted in the soil of a houseplant pot: the value then measured is between the previously found minimum and maximum values. Figure 4: microcontroller code for measuring the relative humidity of the environment: 1 /* 2 * Script making it possible to obtain a relative humidity measurement 3 */ 4 5 const int sec = 595; // the constant "sec" stores the value read when the sensor is in air 6 const int eau = ; // TO BE COMPLETED. Define the constant "eau" that stores the value read when the sensor is in water 7 8 void setup() 9 { 10 Serial.begin(9600); 11 } 12 13 void loop() 14 { 15 int valeur_exp = analogRead(A0); // The sensor is connected to pin A0. 16 17 int pourcentage_humidite = ; // TO BE COMPLETED. Define an integer variable: the relative humidity percentage 18 19 Serial.print("The humidity percentage is: "); // These three lines display on the serial monitor the value of 20 Serial.print(pourcentage_humidite); // the humidity as a percentage. For example: 21 Serial.println(" %"); // "The humidity percentage is: 40%" 22 23 delay(1000); // Allows you to wait 1 second before the next measurement 24 } C.1. Rewrite then complete line 6 so that it shows the value measured by the sensor in the case where it is only in water. C.2. Explain why the value measured by the sensor once placed in the plant pot will necessarily be between 217 and 595. C.3. Propose a literal expression allowing the relative humidity percentage to be determined when the sensor is in use in a pot as a function of the variables "valeur_exp", "sec" and "eau". C.4. Give then the code to write on line 17 that performs the calculation of the value for the variable "pourcentage_humidite".
⏳ Solution not generated yet

Open this statement in Expert Maths AI: the step-by-step solution is computed on demand, checked by a second resolution, then published here for everyone.

📝 See the solution

Have a similar exercise? Get it solved step by step, for free.

🧮 Solve my exercise