Automation Fundamentals
Finding the Sun: Calculation Versus Light Sensors
Compare solar-position prediction with measurement from a partitioned dome.
You must choose between real alternatives covered by “Finding the Sun: Calculation Versus Light Sensors” for a defined machine, circuit or installation.
Compare time-and-location solar-position calculation with differential light sensing, including calibration, cloud, reflections, noise, mechanical position knowledge and hybrid control.
- Select or check first
- Define the required outcome, operating conditions and exact component or system boundary before choosing a part or method.
- Controlling assumption
- Sensors, controller logic, actuator limits, timing, fault response and environmental conditions are defined together.
- Top risk
- Sun sensing is not a safe-limit system. Optical channels can fail together or be deceived by the environment. Travel limits, wind stow, collision avoidance and maintenance safety need independent risk-based measures. Never let a brightness comparison override a hard mechanical or safety constraint.
- Proof
- Check the exact manufacturer data, units and limits, then verify the result by calculation, measurement or a controlled acceptance test.
Start with the basics Optional foundation before “Finding the Sun: Calculation Versus Light Sensors”
Automation-and-control basics
An automatic system measures a condition, decides what it means and commands an actuator while checking whether the expected result actually happened.
- Sensor
- A sensor converts a physical condition into a signal. Its range, uncertainty, response time, environment and failure behaviour matter as much as its nominal output.
- Controller
- A controller reads inputs, applies logic or a control law and issues outputs. Software cannot correct missing measurements, inadequate hardware authority or unsafe architecture.
- Actuator
- An actuator turns a command into physical action, such as motor torque, valve position or switching. Its real limits depend on load, supply, drive and duty.
- Feedback
- Feedback compares measured behaviour with the desired state so error can be corrected. Open-loop command assumes the action occurred; closed-loop control checks it.
- Fault and safe state
- A fault is an abnormal condition that may invalidate control. The safe response must be defined from the hazard and may require independent hardware, not only software.
How to use this article: Trace one complete chain—physical condition, sensor, signal conditioning, controller, drive, actuator and feedback—then ask how each link can fail.
On this page
A tracker can aim from a predicted solar position, from measured light direction, or from both. Prediction uses time, location and an astronomical model; it can provide a target even when the Sun is hidden. A light sensor observes its local optical environment; it can correct installation offsets but may follow a bright reflection, cloud edge or partial shadow. The better architecture depends on the error budget and failure behavior, not on declaring one method universally superior.
Calculation and measurement answer different questions
Diagram description
The diagram is architectural and does not prescribe a specific fusion algorithm.
| Question | Calculated position | Light-direction measurement |
|---|---|---|
| Inputs | Accurate time, coordinates and solar-position algorithm | Sensor signals, optics, calibration and local illumination |
| Works through cloud? | Still returns geometric direction | May lose directional contrast or follow diffuse brightness |
| Installation-offset awareness | Only if coordinate alignment is calibrated | Can reveal optical/mechanical offset relative to local light |
| Affected by reflection/shadow | No direct optical effect | Yes—nearby surfaces, dirt and partial shading can bias it |
| Long-term drift | Clock/location/configuration errors | Sensor ageing, gain mismatch, contamination and mechanical shift |
| Best diagnostic | Compare predicted angle with calibrated machine position | Inspect total light, channel balance and plausibility |
NREL's Solar Position Algorithm is a documented high-accuracy method for solar zenith and azimuth from time and location. That algorithmic accuracy is not the same as tracker pointing accuracy: clock error, coordinates, axis alignment, structural deflection, backlash and position-sensor calibration still lie between the computed Sun vector and the panel plane.
Partitions turn light imbalance into a direction estimate
Diagram description
The plate warns to calibrate sensors and check misleading reflections.
Normalized differential signal
d_x = (S_right − S_left) / (S_right + S_left)
Normalization can reduce sensitivity to overall brightness, but only when the sum is sufficiently above noise and the paired channels are calibrated. A similar top-bottom signal can estimate a second direction. Geometry maps these signals to angles and may be nonlinear.
- d_x
- dimensionless left-right imbalance
- S_right
- calibrated right-side light signal
- S_left
- calibrated left-side light signal
| Condition | What readings may do | Control response to design |
|---|---|---|
| Uniform overcast | All channels become similar and directional contrast falls | Hold calculated target or park according to policy |
| Cloud edge | Bright localized scattering can pull the estimate | Filter, rate-limit and compare with predicted direction |
| Reflection | One zone becomes bright from the wrong direction | Plausibility window and site optical review |
| Partial dirt or shadow | Persistent channel bias | Calibration check and maintenance alarm |
| Low Sun or obstruction | Low signal and changing geometry | Minimum-signal confidence threshold |
| Sensor saturation | Differences collapse or clip | Detect rail values and reject invalid correction |
A hybrid controller can let each method do its best job
A robust pattern uses calculation as the wide-range reference and accepts optical correction only when signal level, contrast and disagreement are plausible. The correction is bounded so a reflection cannot command a large excursion. At commissioning, measured machine position establishes axis zero and orientation; during operation, the controller records predicted angle, sensor correction, actual axis position and confidence. At night or severe weather it follows an explicit park strategy rather than chasing noise.
| Check | Reason |
|---|---|
| Total sensor level above threshold | Direction is unreliable near the noise floor |
| No channel clipped | Saturation invalidates relative differences |
| Difference within calibrated field | Optical mapping is not valid everywhere |
| Disagreement with prediction bounded | Rejects reflection and gross faults |
| Machine position valid | A correct Sun estimate cannot correct an unknown axis coordinate |
| Wind and mechanical limits satisfied | Pointing command must remain subordinate to equipment protection |
The predicted daily geometry is introduced in How the Sun Moves Across Your Solar Roof. The control distinction between a target and actual axis position is developed in Open-Loop Commands Versus Real Feedback.
Selection boundary and evidence to keep with the decision
Treat “Finding the Sun: Calculation Versus Light Sensors” as a selection problem, not only a definition. Record the required result, alternatives considered, the controlling assumption and the condition that would change the choice.
Keep evidence proportional to consequence: Check the exact manufacturer data, units and limits, then verify the result by calculation, measurement or a controlled acceptance test. Revisit the decision when the load, environment, duty, interface, regulation or maintenance plan changes.
One-minute questions
Questions to answer before you apply this lesson
What should I select or check first for Finding the Sun: Calculation Versus Light Sensors?
Define the required outcome, operating conditions and exact component or system boundary before choosing a part or method.
Which assumption can change the conclusion?
Sensors, controller logic, actuator limits, timing, fault response and environmental conditions are defined together.
What can go wrong if I copy the example directly?
Sun sensing is not a safe-limit system. Optical channels can fail together or be deceived by the environment. Travel limits, wind stow, collision avoidance and maintenance safety need independent risk-based measures. Never let a brightness comparison override a hard mechanical or safety constraint.
How do I verify the result in the real system?
Check the exact manufacturer data, units and limits, then verify the result by calculation, measurement or a controlled acceptance test.
Sources and further reading
- Solar Position Algorithm for Solar Radiation ApplicationsNational Renewable Energy Laboratory · 2026-10-13Primary NREL technical report reviewed for time/location-based solar zenith and azimuth calculation and stated algorithm scope.
- Solar Resource Data and ToolsNational Renewable Energy Laboratory · 2026-10-13Official tool catalogue reviewed for SPA, SAMPA and SOLPOS roles.