Let's carefully analyze your issues and provide some potential solutions.
Issue 1: Relays Not Closing
1. **Check 12VDC Voltage**: Ensure that the 12VDC across the relay coils is stable. Use an oscilloscope to check for any voltage fluctuations or noise that might prevent the relays from closing reliably.
2. **Current Measurement**: While you haven’t measured the current, it’s an important factor. Relays require a certain amount of current to close. If the current is insufficient, the relays might not function correctly. Use an ammeter to measure the current through the relay coils and ensure it’s within the specified range.
3. **Relay Drive Circuit**: Check if the relay drive circuit is functioning correctly. This includes checking any driving transistors or other control elements to ensure they provide the correct voltage and current to the relay coils.
4. **Relays Themselves**: Although you have tested the relays outside the circuit, their behavior might differ in the actual working environment. Try replacing the relays to rule out any issues with the relays themselves.
Issue 2: Bridge Rectifier Output
1. **Bridge Rectifier Outputting Both DC and AC**: Normally, the output of a bridge rectifier should be pulsating DC, not pure DC. This is because the rectified voltage varies with the input AC voltage. However, you should not see significant AC components at the output.
- **Presence of 20Vac**: If you see 20Vac at the DC output of the bridge rectifier, it could indicate a filtering problem or a fault in the rectifier diodes. Filter capacitors (typically large electrolytic capacitors) are used to smooth the pulsating DC output. Check these capacitors for issues.
- **Frequency Check**: You mentioned checking the frequency, which is a good idea. Use an oscilloscope to view the waveform at the bridge rectifier output and confirm whether there are abnormal AC components or noise.
Troubleshooting Steps
1. **Check Filter Capacitors**: Ensure the filter capacitors following the bridge rectifier are not damaged or failing. Damaged filter capacitors can cause AC components to appear in the DC output.
2. **Test Bridge Rectifier**: Use a multimeter to test each diode in the bridge rectifier to ensure none are shorted or open.
3. **Inspect Circuit Connections**: Verify all connection points for any loose or poor contacts that might cause unstable voltage or prevent the relays from functioning correctly.
4. **Replace Faulty Components**: If you find any damaged components (such as filter capacitors or rectifier diodes), replace them promptly.
I hope these suggestions help you identify the root cause of your issues and resolve them. If you have further details or test results, feel free to share, and we can discuss and analyze further.